- 07 Jan, 2003 13 commits
-
-
Barry Warsaw authored
-
Barry Warsaw authored
-
Guido van Rossum authored
state swaps in readline).
-
Guido van Rossum authored
-
Guido van Rossum authored
- Whitespace normalization. - Cleaned up some comments. - Broke long lines.
-
Guido van Rossum authored
changes on a sub-branch into output for a given branch.
-
Guido van Rossum authored
__weaklist__ descriptor if we added __dict__ or __weaklist__, respectively. With unit test.
-
Raymond Hettinger authored
-
Raymond Hettinger authored
When a module doesn't have a __path__ attribute, trigger a dialog box rather than dumping a traceback to the console.
-
Raymond Hettinger authored
The nanoseconds saved by using dict.fromkeys aren't worth the loss in clarity. Linear searches live on.
-
Raymond Hettinger authored
-
Barry Warsaw authored
support and other charset defaults. See also: http://article.gmane.org/gmane.comp.python.mime.devel/250 (this just commits the last bit of the article that wasn't part of email 2.4.3.)
-
Andrew M. Kuchling authored
-
- 06 Jan, 2003 26 commits
-
-
Guido van Rossum authored
- SLOT1BINFULL() macro: changed this to check for __rop__ overriding __op__, like binary_op1() in abstract.c -- the latter only calls the slot function once if both types use the same slot function, so the slot function must make both calls -- which it already did for the __op__, __rop__ order, but not yet for the __rop__, __op__ order when B.__class__ is a subclass of A.__class__. Also test the refinement added in rev. 2.201 that fixes the problem reported in SF bug #623669. Also test a similar provision in abstract.c's binary_op1().
-
Guido van Rossum authored
SF bug #623669: only try (e.g.) __rdiv__ before __div__ if the right class actually overrides it.
-
Raymond Hettinger authored
a single character. Shaves another 10% off the running time by avoiding the lg2(N) loops and cache effects for the other cases.
-
Guido van Rossum authored
tests are run. (All tests in this module should have one of these at the top.)
-
Skip Montanaro authored
* reformat schemes to 80 columns
-
Andrew M. Kuchling authored
-
Raymond Hettinger authored
-
Skip Montanaro authored
notes.
-
Skip Montanaro authored
-
Neal Norwitz authored
-
Fred Drake authored
vile abomination and should be eradicated!
-
Guido van Rossum authored
-
Guido van Rossum authored
-
Fred Drake authored
- give subsection pages nicer names - shorten some really long table cells; table cells can't wrap in the typeset version of the documentation
-
Guido van Rossum authored
-
Guido van Rossum authored
-
Fred Drake authored
-
Raymond Hettinger authored
Document constants for permission bits.
-
Andrew M. Kuchling authored
(Power Macintosh -> Power_Macintosh)
-
Raymond Hettinger authored
-
Jason Tishler authored
The attached patch enables shared extension modules to build cleanly under Cygwin without moving the static initialization of certain function pointers (i.e., ones exported from the Python DLL core) to a module initialization function. Additionally, this patch fixes the modules that have been changed in the past to accommodate Cygwin.
-
Raymond Hettinger authored
-
Just van Rossum authored
-
Raymond Hettinger authored
Christian Tismer pointed out the high cost of the loop overhead and function call overhead for 'c' * n where n is large. Accordingly, the new code only makes lg2(n) loops. Interestingly, 'c' * 1000 * 1000 ran a bit faster with old code. At some point, the loop and function call overhead became cheaper than invalidating the cache with lengthy memcpys. But for more typical sizes of n, the new code runs much faster and for larger values of n it runs only a bit slower.
-
Neal Norwitz authored
-
Neal Norwitz authored
-
- 05 Jan, 2003 1 commit
-
-
Neal Norwitz authored
-