- 11 Aug, 2002 2 commits
-
-
Guido van Rossum authored
currently return inconsistent results for ints and longs; in particular: hex/oct/%u/%o/%x/%X of negative short ints, and x<<n that either loses bits or changes sign. (No warnings for repr() of a long, though that will also change to lose the trailing 'L' eventually.) This introduces some warnings in the test suite; I'll take care of those later.
-
Tim Peters authored
test_del(), test_del_newclass(): No need to use apply() in these.
-
- 10 Aug, 2002 10 commits
-
-
Tim Peters authored
-
Tim Peters authored
in gc.garbage (so no need to loop looking for it -- it's there or it's not).
-
Tim Peters authored
the time it's called, test_saveall() made it look a leak, triggering bogus warnings from regrtest's -l (findleaks) mode.
-
Martin v. Löwis authored
Reject characters outside the locale's encoding on input.
-
Tim Peters authored
-
Mark Hammond authored
-
Guido van Rossum authored
types. This prevents nonsense like 2.__class__ = bool or True.__class__ = int.
-
Tim Peters authored
This is friendlier for caches. 2. Cut MIN_GALLOP to 7, but added a per-sort min_gallop vrbl that adapts the "get into galloping mode" threshold higher when galloping isn't paying, and lower when it is. There's no known case where this hurts. It's (of course) neutral for /sort, \sort and =sort. It also happens to be neutral for !sort. It cuts a tiny # of compares in 3sort and +sort. For *sort, it reduces the # of compares to better than what this used to do when MIN_GALLOP was hardcoded to 10 (it did about 0.1% more *sort compares before, but given how close we are to the limit, this is "a lot"!). %sort used to do about 1.5% more compares, and ~sort about 3.6% more. Here are exact counts: i *sort 3sort +sort %sort ~sort !sort 15 449235 33019 33016 51328 188720 65534 before 448885 33016 33007 50426 182083 65534 after 0.08% 0.01% 0.03% 1.79% 3.65% 0.00% %ch from after 16 963714 65824 65809 103409 377634 131070 962991 65821 65808 101667 364341 131070 0.08% 0.00% 0.00% 1.71% 3.65% 0.00% 17 2059092 131413 131362 209130 755476 262142 2057533 131410 131361 206193 728871 262142 0.08% 0.00% 0.00% 1.42% 3.65% 0.00% 18 4380687 262440 262460 421998 1511174 524286 4377402 262437 262459 416347 1457945 524286 0.08% 0.00% 0.00% 1.36% 3.65% 0.00% 19 9285709 524581 524634 848590 3022584 1048574 9278734 524580 524633 837947 2916107 1048574 0.08% 0.00% 0.00% 1.27% 3.65% 0.00% 20 19621118 1048960 1048942 1715806 6045418 2097150 19606028 1048958 1048941 1694896 5832445 2097150 0.08% 0.00% 0.00% 1.23% 3.65% 0.00% 3. Added some key asserts I overlooked before. 4. Updated the doc file.
-
Tim Peters authored
before %sort was introduced. Redid them (the numbers change, but the conclusions don't). Also did the samplesort counts with the released 2.2.1, as they're slightly different under the last CVS 2.3 samplesort (some higher, some lower -- CVS had been changed to stop doing the special-case business on recursive samplesort calls).
-
Guido van Rossum authored
-
- 09 Aug, 2002 28 commits
-
-
Fred Drake authored
on python.org.
-
Fred Drake authored
directories clean where the packages are unpacked. Each package now contains a single directory, Python-Docs-<version>/, which contains the files for that version of the documentation. Closes SF feature request #567576.
-
Guido van Rossum authored
function name and go to the corresponding entry.
-
Guido van Rossum authored
-
Fred Drake authored
Part of fixing SF bug #591704.
-
Fred Drake authored
Part of fixing SF bug #591704.
-
Fred Drake authored
Part of fixing SF bug #591704.
-
Tim Peters authored
on Win32, so tests that assume there are such distinctions can't pass. Fiddled them to work.
-
Tim Peters authored
-
Guido van Rossum authored
for a __del__ attribute, to see if there's a finalizer.
-
Guido van Rossum authored
-
Guido van Rossum authored
-
Guido van Rossum authored
-
Guido van Rossum authored
Weinberg). This changes all uses of deprecated tempfile functions to the recommended ones.
-
Guido van Rossum authored
Fred, please review!
-
Guido van Rossum authored
rewrite, by Zack Weinberg). This replaces most code in tempfile.py (please review!!!) and adds extensive unit tests for it. This will cause some warnings in the test suite; I'll check those in soon, and also the docs.
-
Guido van Rossum authored
-
Guido van Rossum authored
-
Guido van Rossum authored
it does for 8-bit strings.
-
Neil Schemenauer authored
example of where this changes behavior is when a new-style instance defines '__mul__' and '__rmul__' and is multiplied by an int. Before the change the '__rmul__' method is never called, even if the int is the left operand.
-
Fred Drake authored
PyXML 0.8.
-
Jack Jansen authored
symlink and remove it.
-
Jack Jansen authored
- Pre-cache .rsrc files in Mac subtree after installing - Fixed nameclash in Make variables
-
Jack Jansen authored
the applesingle file. - Added optional verbose option for cachersrc tool.
-
Jack Jansen authored
similar to compileall.py.
-
Sjoerd Mullender authored
-
Sjoerd Mullender authored
flag is given (to mimic native Windows).
-
Jack Jansen authored
standard lib.
-