- 10 Sep, 2003 4 commits
-
-
Raymond Hettinger authored
The documentation severely departed for the actual implementation.
-
Raymond Hettinger authored
-
Kurt B. Kaiser authored
1. Remove "idle" script, it lives in Tools/scripts/ now. 2. Remove shebang from idle.py, should be called explicitly. 3. Remove obsolete test code from rpc.py; needs unit test.
-
Raymond Hettinger authored
-
- 09 Sep, 2003 3 commits
-
-
Fred Drake authored
-
Raymond Hettinger authored
-
Raymond Hettinger authored
-
- 08 Sep, 2003 6 commits
-
-
Raymond Hettinger authored
-
Raymond Hettinger authored
-
Raymond Hettinger authored
-
Raymond Hettinger authored
-
Raymond Hettinger authored
-
Raymond Hettinger authored
-
- 07 Sep, 2003 6 commits
-
-
Martin v. Löwis authored
Will backport to 2.2.
-
Just van Rossum authored
Classical problem with int vs. long mismatch in varargs. 2.3 backport candidate.
-
Tim Peters authored
file_truncate(): C doesn't define what fflush(fp) does if fp is open for update, and the preceding I/O operation on fp was input. On Windows, fflush() actually changes the current file position then. Because Windows doesn't support ftruncate() directly, this not only caused Python's file.truncate() to change the file position (contra our docs), it also caused the file not to change size. Repaired by getting the initial file position at the start, restoring it at the end, and tossing all the complicated micro-efficiency checks trying to avoid "provably unnecessary" seeks. file.truncate() can't be a frequent operation, and seeking to the current file position has got to be cheap anyway. Bugfix candidate.
-
Fred Drake authored
-
Fred Drake authored
-
Brett Cannon authored
spacing correct in the output.
-
- 06 Sep, 2003 11 commits
-
-
Skip Montanaro authored
will backport.
-
Fred Drake authored
- correct section level error (module references are always \section) - many markup revisions, including some minor rewordings
-
Fred Drake authored
-
Raymond Hettinger authored
-
Raymond Hettinger authored
-
Raymond Hettinger authored
-
Raymond Hettinger authored
random.sample() uses one of two algorithms depending on the ratio of the sample size to the population size. One of the algorithms accepted any iterable population argument so long as it defined __len__(). The other had a stronger requirement that the population argument be indexable. While it met the documentation specifications which insisted that the population argument be a sequence, it made random.sample() less usable with sets. So, the second algorithm was modified to coerce non-indexable iterables and dictionaries into a tuple before proceeding.
-
Fred Drake authored
for PDF generation
-
Fred Drake authored
Fixes SF bug #520325.
-
Fred Drake authored
face of section re-ordering) - fix minor markup nits for better presentation
-
Fred Drake authored
with a \label
-
- 05 Sep, 2003 10 commits
-
-
Fred Drake authored
-
Fred Drake authored
-
Fred Drake authored
there's still a bug for the environment, but that's worked around in this change as well
-
Fred Drake authored
-
Raymond Hettinger authored
slice(5).__hash__() now raises a TypeError.
-
Fred Drake authored
-
Fred Drake authored
-
Fred Drake authored
-
Fred Drake authored
sides
-
Fred Drake authored
-