Commit Graph

777 Commits

Author SHA1 Message Date
Tim Peters
3daf304f3b Whitespace normalization. 2006-04-10 20:28:40 +00:00
Martin v. Löwis
3fa6c090d8 Patch #1441452: Add more AST nodes. 2006-04-10 12:43:55 +00:00
Martin v. Löwis
b04dee935c Patch #1462222: Fix Tix.Grid. Closes #1036406. 2006-04-10 08:34:21 +00:00
Neal Norwitz
10be10cbe7 Remove regsub, reconvert, regex, regex_syntax and everything under lib-old. 2006-03-16 06:50:13 +00:00
Martin v. Löwis
87a8b4fee5 unparse.py can now unparse itself. 2006-02-28 21:41:30 +00:00
Tim Peters
400cbc3a44 Set EOL style to native. 2006-02-28 18:44:41 +00:00
Tim Peters
710ab3b5f8 Whitespace normalization. 2006-02-28 18:30:36 +00:00
Martin v. Löwis
5fec904f84 Start of a source code unparser. 2006-02-27 21:41:03 +00:00
Neal Norwitz
286d74764e SF Bug #1348477, regextest can't be pydoc'ed. Will backport. 2005-11-09 07:07:58 +00:00
Martin v. Löwis
ab0f947a21 Remove .cvsignore files, as they live in svn:ignore
properties now.
2005-10-30 22:01:41 +00:00
Georg Brandl
3e98736e76 Minor spelling nit. 2005-08-25 20:41:38 +00:00
Michael W. Hudson
0e21be71da Update version.
I wonder if there's a way to fix this Makefile to be slightly less
totally unreliable.
2005-06-15 11:46:27 +00:00
Hye-Shik Chang
f2dbeff60b Fix HTTP method handler example so that method names in uppercases
can be processed.  (Submitted by Jooncheol Park)
2005-04-12 02:49:52 +00:00
Raymond Hettinger
c672f8c377 SF patch 1179503: Fix typos in rpc.py
* Call to unpack_int() should have no arguments
* Misspelled BadRPCVerspion exception
* Replace <> with !=
2005-04-10 16:21:07 +00:00
Raymond Hettinger
bdaad8c939 * Fix error in definition of Im() which returned self instead of 0
for non-complex arguments.

* Replace type() comparisons with isinstance() checks.

* Replace apply() calls with equivalent syntactic form.

* Simplify __hash__ definition to hash the underlying tuple.

* Use math.hypot() for more robust computation of __abs__().

* Use sorted() instead of the multi-step keys/sort/iter.

* Update comment on the cmath module.
2005-04-09 14:55:07 +00:00
Martin v. Löwis
4a1e48c566 Patch #1177597: Correct various bugs, add comments. 2005-04-09 10:51:19 +00:00
Guido van Rossum
75b64e65f1 Use decorators. 2005-01-16 00:16:11 +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