- 25 Aug, 2004 19 commits
-
-
Trent Mick authored
AIX 5.1.
-
Edward Loper authored
a traceback message. I.e., examples that raise exceptions may no longer generate pre-exception output. This restores the behavior of doctest in python 2.3. The ability to check pre-exception output is being removed because it makes the documentation simpler; and because there are very few use cases for it.
-
Raymond Hettinger authored
-
Raymond Hettinger authored
Allows the lineno fixup code to remain simple and not have to deal with multibyte codings. * Add an assertion to that effect. * Remove the XXX comment on the subject.
-
Raymond Hettinger authored
-
Fred Drake authored
-
Andrew M. Kuchling 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
Will backport to 2.3.
-
Martin v. Löwis authored
Will backport to 2.3.
-
Martin v. Löwis authored
1.293, 1.298, and 1.300, which have tried to fix this for specific platforms.
-
Raymond Hettinger authored
(Suggested by Neal Norwitz.)
-
Barry Warsaw authored
-
Barry Warsaw authored
This patch includes test cases and documentation updates, as well as NEWS file updates. This patch also updates the sre modules so that they don't import the string module, breaking direct circular imports.
-
Tim Peters authored
happen in 2.3, but nobody noticed it still was getting generated (the warning was disabled by default). OverflowWarning and PyExc_OverflowWarning should be removed for 2.5, and left notes all over saying so.
-
Neal Norwitz authored
-
- 24 Aug, 2004 4 commits
-
-
Mark Hammond authored
and a test case. When booting a new thread, use the PyGILState API to manage the GIL.
-
Skip Montanaro authored
flags it accepts. It's too late to change optparse's default behavior now, but I find the default setting of allow_interspersed_args very weird.
-
Vinay Sajip authored
-
Raymond Hettinger authored
* Perform the code length check earlier. * Eliminate the extra PyMem_Free() upon hitting an EXTENDED_ARG. * Assert that the NOP count used in jump retargeting matches the NOPs eliminated in the final step. * Add an XXX note to indicate that more work is being to done to handle linenotab with intervals > 255.
-
- 23 Aug, 2004 12 commits
-
-
Raymond Hettinger authored
* Make a pass to eliminate NOPs. Produce code that is more readable, more compact, and a tiny bit faster. Makes the peepholer more flexible in the scope of allowable transformations. * With Guido's okay, bumped up the magic number so that this patch gets widely exercised before the alpha goes out.
-
Raymond Hettinger authored
subclasses.
-
Raymond Hettinger authored
(Patch contributed by Nick Coghlan.) Now joining string subtypes will always return a string. Formerly, if there were only one item, it was returned unchanged.
-
Tim Peters authored
is_private in its tests failed if doctest.py was run directly. Now it works.
-
Tim Peters authored
directly, due to assuming a filename specific to running tests "the normal way". +ELLIPSIS to the rescue!
-
Tim Peters authored
-
Tim Peters authored
-
Tim Peters authored
NamedTemporaryFile (which can't work for this function's purposes on Windows). Leaving temp files behind wasn't a great idea either, though, so try to clean up. At least the test suite no longer leaves any of these guys behind now.
-
Martin v. Löwis authored
-
Dave Cole authored
default famility is AF_UNIX if defined for the platform, otherwise the default is AF_INET.
-
Dave Cole authored
in initsigs() inside pythonrun.c.
-
Tim Peters authored
in this section is new in 2.4, and that's all mentioned already in versionadded{} thingies at the end of the section. It hurts readability to have them after every line <wink>.
-
- 22 Aug, 2004 5 commits
-
-
Neal Norwitz authored
-
Martin v. Löwis authored
Will backport to 2.3.
-
Martin v. Löwis authored
-
Tim Peters authored
docstrings toward being a lot shorter, and telling the whole truth in the manual instead. This change is an example: the manual has detailed explanations of the option names now, so it's Bad to repeat them in the docstring (two detailed descriptions are certain to get out of synch). Just listing the names has memory-jogging benefits, though, so that's still helpful in the docstring.
-
Tim Peters authored
-