764 Commits

Author SHA1 Message Date
Anthony Baxter
022a55c0d9 update - still some old .cvsignore files lying around 2006-03-23 02:26:07 +00:00
Neal Norwitz
87413d48e5 Backport: SF Bug #1348477, regextest can't be pydoc'ed. 2005-11-09 07:08:41 +00:00
Michael W. Hudson
253bf1edbc Update version here, too. 2005-06-15 11:47:46 +00:00
Raymond Hettinger
5eff1ecaed SF patch 1179503: fix typos in rpc.py 2005-04-10 16:23:49 +00:00
Johannes Gijsbers
7a8c43ee6a Add 'if __name__ == "__main__":' to files already as a usable as a module. 2004-09-11 16:34:35 +00:00
Andrew M. Kuchling
6a507a104d Remove mpzpi demo 2004-08-31 13:42:11 +00:00
Tim Peters
68a323c5d8 Whitespace normalization. Had to break guido's lock on rev 1.1 to do
this, but I'm sure it wasn't locked intentionally.
2004-07-18 16:56:37 +00:00
Tim Peters
182b5aca27 Whitespace normalization, via reindent.py. 2004-07-18 06:16:08 +00:00
Tim Peters
e6ddc8b20b Whitespace normalization. Ran reindent.py over the entire source tree. 2004-07-18 05:56:09 +00:00
Andrew M. Kuchling
0ec0b725ae Fix comment typo 2004-07-17 14:44:17 +00:00
Brett Cannon
c2b151c66e Add code for a range function that uses generators.
Cleaned up existing code by abstracting code to parse arguments.  Also removed
any unneeded operations (such as calling 'int' on a division when using floor
division also works).  Fixed a bug where the values  returned by
OldStyleRange could be short by one value.  Added more documentation.

Testing code also has a basic sanity check.
2004-06-27 23:17:35 +00:00
Fred Drake
09659fbe69 fix error message; closes SF patch #932796 2004-05-12 03:15:07 +00:00
Walter Dörwald
70a6b49821 Replace backticks with repr() or "%r"
From SF patch #852334.
2004-02-12 17:35:32 +00:00
Raymond Hettinger
bbd290ab8d Revert previous change which didn't make sense the next day :-) 2003-12-10 15:22:23 +00:00
Raymond Hettinger
e807da807c Update to use python ints and int/long unification. 2003-12-10 01:58:52 +00:00
Walter Dörwald
f0dfc7ac5c Fix a bunch of typos in documentation, docstrings and comments.
(From SF patch #810751)
2003-10-20 14:01:56 +00:00
Raymond Hettinger
fe63faaeeb SF patch #803449: modernize demo scripts
(Contributed by George Yoshida.)
2003-09-10 21:12:59 +00:00
Skip Montanaro
9463792c68 To be a good citizen, it should really delete its socket when done. 2003-08-01 14:20:02 +00:00
Martin v. Löwis
7890c26508 Patch #748846: Let Demo/classes/Date.py mention DateTime module. 2003-06-07 19:39:56 +00:00
Martin v. Löwis
bb640c15a1 Patch #748849: Update to current tools and demos. 2003-06-07 18:46:34 +00:00
Andrew M. Kuchling
e81866e7c6 Remove unneeded continuation chars 2003-04-24 17:27:53 +00:00
Andrew M. Kuchling
f64509e348 Move all the imports to the top; use md5.new() 2003-04-24 17:26:56 +00:00
Andrew M. Kuchling
30dd9bc0bf Run this demo script through reindent.py; output has been verified to remain the same 2003-04-24 17:26:22 +00:00
Andrew M. Kuchling
9b12d9d0d2 Modernize the code a bit:
use re module
   make chomp() use rstrip()
2003-04-24 17:22:04 +00:00
Andrew M. Kuchling
b7878d09e5 Modernize the code a bit:
use re module
   use .split() string method

Doesn't use 'for line in sys.stdin'; that ends up changing its interactive
behaviour.
2003-04-24 17:17:56 +00:00