- 20 Aug, 2004 4 commits
-
-
Tim Peters authored
-
Neal Norwitz authored
-
Tim Peters authored
-
Neal Norwitz authored
-
- 19 Aug, 2004 15 commits
-
-
Raymond Hettinger authored
updates as bugfixes.
-
Raymond Hettinger authored
* Check the found object for a None value during a contains/has_key lookup. Perhaps it will help the OP who is likely suffering from an occassional GC or threading object deletion after self.data is checked. * Complete the previous patch by removing the unnecessary indirection for weak dict iterators. Makes the code cleaner and more readable.
-
Edward Loper authored
It's redundant, since no output is written anyway: DebugRunner doesn't generate any output for failures and unexpected exceptions, and since verbose=False, it won't generate any output for non-failures either.
-
Edward Loper authored
constant defined by the module (except the test*() functions, which should be integrated into test/test_doctest.py, anyway).
-
Hye-Shik Chang authored
found on old/legacy C compilers of HP-UX, IRIX and Tru64. (Reported by roadkill, Richard Townsend, Maik Hertha and Minsik Kim)
-
Hye-Shik Chang authored
found on legacy C compilers of HP-UX, IRIX and Tru64. (Reported by roadkill, Richard Townsend, Maik Hertha and Minsik Kim)
-
Tim Peters authored
-
Johannes Gijsbers authored
-
Tim Peters authored
matches to be symmetric. This makes the algorithm easier to understand.
-
Martin v. Löwis authored
-
Martin v. Löwis authored
-
Tim Peters authored
-
Tim Peters authored
appeared at the end of a line. Repaired that. Also noted that it's too easy to provoke this implementation into requiring exponential time, and especially when a test fails. I'll replace the implementation with an always-efficient one later.
-
Brett Cannon authored
error based on decorating with staticmethod too soon for the code to execute. This meant that if the test didn't pass it just errored out. Now if the test doesn't pass it leads to a failure instead.
-
Fred Drake authored
The make_head_and_body() function used a hardcoded value for the <link> element for the index; this patch causes the proper output filename to be captured during the transformation phase so it can be used during the page assembly phase.
-
- 18 Aug, 2004 15 commits
-
-
Matthias Klose authored
-
Matthias Klose authored
-
Martin v. Löwis authored
-
Hye-Shik Chang authored
-
Martin v. Löwis authored
-
Martin v. Löwis authored
-
Martin v. Löwis authored
-
Martin v. Löwis authored
-
Martin v. Löwis authored
-
Johannes Gijsbers authored
this (which are rather ugly, but it'll have to do until test_inspect gets a major overhaul and a conversion to unittest). Thanks Simon Percivall!
-
Martin v. Löwis authored
-
Martin v. Löwis authored
-
Raymond Hettinger authored
files and not re-optimized upon import. Saves a bit of startup time while still remaining decoupled from the rest of the compiler. As a side benefit, handcoded bytecode is not run through the optimizer when new code objects are created. Hopefully, a handcoder has already created exactly what they want to have run. (Idea suggested by Armin Rigo and Michael Hudson. Initially avoided because of worries about compiler coupling; however, only the nexus point needed to be moved so there won't be a conflict when the AST branch is loaded.)
-
Raymond Hettinger authored
-
Raymond Hettinger authored
Per Guido, sys.exitfunc will be kept around for backwards compatability but atexit will become the one preferred way to do it.
-
- 17 Aug, 2004 6 commits
-
-
Michael W. Hudson authored
[ 1009560 ] Fix @decorator evaluation order From the description: Changes in this patch: - Change Grammar/Grammar to require newlines between adjacent decorators. - Fix order of evaluation of decorators in the C (compile.c) and python (Lib/compiler/pycodegen.py) compilers - Add better order of evaluation check to test_decorators.py (test_eval_order) - Update the decorator documentation in the reference manual (improve description of evaluation order and update syntax description) and the comment: Used Brett's evaluation order (see http://mail.python.org/pipermail/python-dev/2004-August/047835.html) (I'm checking this in for Anthony who was having problems getting SF to talk to him)
-
Edward Loper authored
updating line numbers correctly for bare prompts & examples containing only comments).
-
Raymond Hettinger authored
-
Raymond Hettinger authored
normalize() in Draft 1.06 (9 October 2002): The normalize operation has been added; it reduces a number to a canonical form. (This replaces the trim operator, which only removed trailing fractional zeros.)
-
Johannes Gijsbers authored
is sys.stdin. Based on a patch (#726204) by Dmitry Vasiliev and a comment from Guido in an older patch (#549901).
-
Thomas Heller authored
calculates. Spotted by Cort Danger Stratton.
-