- 07 Sep, 2004 7 commits
-
-
http://python.org/sf/728330Trent Mick authored
Apply patch from http://python.org/sf/728330 to fix socket module compilation on Solaris 2.6, HP-UX 11, AIX 5.1 and (possibly) some IRIX versions.
-
Martin v. Löwis authored
-
Martin v. Löwis authored
-
Martin v. Löwis authored
-
Jeremy Hylton authored
Remove debugging print (not triggered by test suite) and add XXX comment about how the code should raise a SyntaxError.
-
Martin v. Löwis authored
-
Jeremy Hylton authored
SF patch #1015989 The basic idea of this patch is to compute lineno attributes for all AST nodes. The actual implementation lead to a lot of restructing and code cleanup. The generated AST nodes now have an optional lineno argument to constructor. Remove the top-level asList(), since it didn't seem to serve any purpose. Add an __iter__ to ast nodes. Use isinstance() instead of explicit type tests. Change transformer to use the new lineno attribute, which replaces three lines of code with one. Use universal newlines so that we can get rid of special-case code for line endings. Use lookup_node() in a few more frequently called, but simple com_xxx methods(). Change string exception to class exception.
-
- 06 Sep, 2004 8 commits
-
-
Brett Cannon authored
-
Raymond Hettinger authored
-
Raymond Hettinger authored
Several functions adopted the strategy of altering a full lengthed string copy and resizing afterwards. That would fail if the initial string was short enough (0 or 1) to be interned. Interning precluded the subsequent resizing operation. The solution was to make sure the initial string was at least two characters long. Added tests to verify that all binascii functions do not crater when given an empty string argument.
-
Raymond Hettinger authored
-
Martin v. Löwis authored
Fix open Verbs. Properly add "Edit with IDLE" to TclTk feature.
-
Raymond Hettinger authored
-
Raymond Hettinger authored
-
Raymond Hettinger authored
* Discuss the algorithmic distinctions between s.split() and s.split(sep). * Document the split behavior for empty strings. * Note the behavior when maxsplit is zero. * Include short examples.
-
- 05 Sep, 2004 2 commits
-
-
Brett Cannon authored
-
Raymond Hettinger authored
you leap" approach. Makes the early call to os.urandom() unnecessary.
-
- 04 Sep, 2004 7 commits
-
-
Raymond Hettinger authored
-
Raymond Hettinger authored
-
Raymond Hettinger authored
* Complete the previous patch by making sure that the MachineRandom tests are only run when the underlying resource is available.
-
Raymond Hettinger authored
"all or none" to "all or some". This provides much greater test coverage without eating much time. It also makes it more likely that routine regression testing will unearth bugs.
-
Tim Peters authored
in the new docs. DocTestRunner.__run: Separate the determination of the example outcome from reporting that outcome, to squash brittle code duplication and excessive nesting.
-
Tim Peters authored
-
Gregory P. Smith authored
ignoring their transaction (txn) argument.
-
- 03 Sep, 2004 6 commits
-
-
Gustavo Niemeyer authored
-
Raymond Hettinger authored
* trap NotImplementedError raised by os.urandom calls when not available on a particular system.
-
Gustavo Niemeyer authored
empty final matches with finditer(). New test cases included for this bug and for #581080.
-
Gustavo Niemeyer authored
some escaping bugs in SRE.
-
Martin v. Löwis authored
-
Skip Montanaro authored
this is the right way to document such things (Fred, help me out here :-), but I got misled by the existing documentation and assumed the parameter list was a *args sort of thing.
-
- 02 Sep, 2004 3 commits
-
-
cvs2svn authored
-
Anthony Baxter authored
-
Anthony Baxter authored
-
- 01 Sep, 2004 6 commits
-
-
Martin v. Löwis authored
-
Martin v. Löwis authored
-
Andrew M. Kuchling authored
[Bug #1011606] Only check file descriptors for exceptional conditions if the fd is readable or writable
-
Tim Peters authored
-
Raymond Hettinger authored
(Contributed by Dima Dorfman)
-
Fred Drake authored
- wrap long line
-
- 31 Aug, 2004 1 commit
-
-
Raymond Hettinger authored
-