summaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeFilesLines
* More message updates and minor fixes.Raymond Hettinger2003-05-071-10/+9
|
* Update traceback messageRaymond Hettinger2003-05-071-1/+1
|
* Add list.insert() change for negative positionsAndrew M. Kuchling2003-05-071-9/+15
| | | | | | Add ~ to MvL's last name Fix use of all-caps for a name Bump version number
* add missing parens - verified w/ interpreter - sorry to dismiss your commentSkip Montanaro2003-05-071-1/+1
| | | | Fred
* set platform properly for OSF/1Skip Montanaro2003-05-071-2/+3
|
* replace most uses of `...` by repr(...), noting that `...` is discouraged,Skip Montanaro2003-05-071-17/+15
| | | | but convenient in interactive sessions.
* Merged 2.3b1 welcome message to the trunk.Jack Jansen2003-05-071-4/+17
|
* Merged 1.2.2.1 fixes:Jack Jansen2003-05-071-12/+14
| | | | | | - Don't generate README, but ask the user to provide it. - Create destination dir, if needed. - Updated for 2.3b1.
* SF bug #730296: Unexpected Changes in list IteratorRaymond Hettinger2003-05-074-8/+9
| | | | | | | | | | | | Reverted a Py2.3b1 change to iterator in subclasses of list and tuple. They had been changed to use __getitem__ whenever it had been overriden in the subclass. This caused some usabilty and performance problems. Also, it was inconsistent with the rest of python where many container methods access the underlying object directly without first checking for an overridden getter. Users needing a change in iterator behavior should override it directly.
* SF #596434: tweak wordsep_re so the definition of an em-dash isGreg Ward2003-05-071-1/+1
| | | | | stricter: specifically, "--" must be preceded by a limited set of characters, not by any non-whitespace character.
* SF #596434: add test_funky_parens() to probe some more of the trickyGreg Ward2003-05-071-3/+19
| | | | edge cases that David Goodger reported long ago (July 2002?).
* SF #726446: raise ValueError if width <= 0.Greg Ward2003-05-071-0/+2
|
* SF #726446: ensure wrap() raises ValueError when width <= 0.Greg Ward2003-05-071-0/+6
|
* SF patch #729395: Dictionary tuningRaymond Hettinger2003-05-071-2/+2
| | | | | Adjust resize argument for dict.update() and dict.copy(). Extends the previous change to dict.__setitem__().
* p.strip(os.sep) can't have possibly worked. It would have stripped bothSkip Montanaro2003-05-061-4/+2
| | | | leading and trailing '/' characters on Unix systems.
* build bsddb185 module in certain restricted circumstancesSkip Montanaro2003-05-061-0/+28
|
* add note about bsddb185 moduleSkip Montanaro2003-05-061-0/+4
|
* detect old version 2 hash files and return "bsddb185" as the appropriateSkip Montanaro2003-05-061-3/+4
| | | | module to load them
* add a note about the undocumented bsddb185 moduleSkip Montanaro2003-05-062-0/+12
|
* add open function to bsddb185 module so the file format sniffing can beSkip Montanaro2003-05-061-0/+2
| | | | restricted to the whichdb module
* don't need to worry about file endiannessSkip Montanaro2003-05-061-1/+0
|
* Data file for bsddb185 testSkip Montanaro2003-05-061-0/+0
|
* test case for bsddb185 moduleSkip Montanaro2003-05-061-0/+40
|
* the new bsddb185 module is an expected skip on most platforms (this may notSkip Montanaro2003-05-061-0/+12
| | | | be needed - just being anal)
* add Guido's reasoning behind running all tests twiceSkip Montanaro2003-05-061-0/+7
|
* add not-yet-supported Unicode test just so it doesn't get lost.Skip Montanaro2003-05-061-0/+20
|
* add testall target - just adds -uall to the regrtest runsSkip Montanaro2003-05-061-0/+5
|
* Fix for #731643: allow "lookup in documentation" to also work if theJack Jansen2003-05-064-5/+16
| | | | interactive window is frontmost.
* Allow for Version, Flavor and Download-URL not being set.Jack Jansen2003-05-061-3/+3
|
* When doing a forced install of a package depending on a pseudo-packageJack Jansen2003-05-061-1/+6
| | | | you got a strange error message. Fixed.
* SF bug #692959: new.function ignores keyword argumentsRaymond Hettinger2003-05-061-1/+4
|
* Port test_uu.py to PyUnit. From SF patch #662807.Walter Dörwald2003-05-061-147/+162
|
* SF patch #729395: Dictionary tuningRaymond Hettinger2003-05-051-10/+16
| | | | | | | | | | * Increase dictionary growth rate resulting in more sparse dictionaries, fewer lookup collisions, increased memory use, and better cache performance. For dicts with over 50k entries, keep the current growth rate in case an application is suffering from tight memory constraints. * Set the most common case (no resize) to fall-through the test.
* Patch #732479: Fix typos.Martin v. Löwis2003-05-052-3/+5
|
* Add notes from python-dev about readonly dictionaries.Raymond Hettinger2003-05-051-0/+21
|
* SF patch 730594: assert from longobject.c, line 1215.Tim Peters2003-05-051-4/+4
| | | | | | | | Some version of gcc in the "RTEMS port running on the Coldfire (m5200) processor" generates bad code for a loop in long_from_binary_base(), comparing the wrong half of an int to a short. The patch changes the decl of the short temp to be an int temp instead. This "simplifies" the code enough that gcc no longer blows it.
* On Mac OS X pwd.getpwall() might return the tuplesWalter Dörwald2003-05-051-21/+2
| | | | | | | | | | | | ('pgsql', '*', 252, []) and ('postgres', '*', 252, ['skip']), but pwd.getgrgid(252) might return ('pgsql', '', 252, ['skip']). Drop the test that tried to find a tuple similar to the one returned from pwd.getgrgid() among those for the same gid returned by pwd.getgrall(), as the only working definition of 'similar' seems to be 'has the same gid'. This check can be done more directly. This should fix SF bug #732783.
* Refer reader to platform library docs for specific semantics.Jeremy Hylton2003-05-051-3/+6
| | | | Resolves SF bugs 697989, 697988, 697986.
* SF bug 622042: Don't expect response body from HEAD request.Jeremy Hylton2003-05-053-4/+25
| | | | Bug fix candidate.
* typoSkip Montanaro2003-05-051-1/+1
|
* Patch #732284: Disable _XOPEN_SOURCE on UnixWare 7.Martin v. Löwis2003-05-052-1/+9
|
* Patch #732234: Check for -Kthread.Martin v. Löwis2003-05-052-1/+113
|
* Better fix for newurl as suggested by Jim Jewett in SF bug #730963.Jeremy Hylton2003-05-051-12/+2
|
* Add comment explaining try/except for endheaders().Jeremy Hylton2003-05-051-0/+2
|
* Repair redirect handling and raise URLError on host-not-found.Jeremy Hylton2003-05-041-22/+36
| | | | | | | | | | | | | | The latest changes to the redirect handler couldn't possibly have been tested, because they did not compute a newurl and failed with a NameError. The __name__ == "__main__": block has a test for redirects. Also, fix SF bug 723831. A urlopen() that failed because the host was not found raised a socket.gaierror unlike earlier versions of urllib2. The problem is that httplib actually establishes the connection at a different point starting with Python 2.2. Move the try/except to endheaders(), which is where the connection gets established.
* * Note how dummy entry re-use benefits use cases with interspersed deletesRaymond Hettinger2003-05-041-1/+11
| | | | | | | and adds. * Note that dictionary iteration is negatively impacted by additional sparseness.
* 'forget' now also deletes any proper .pyo files.Brett Cannon2003-05-041-1/+19
| | | | Added some docstrings.
* Somewhere along the way, the softspace attr of file objects became read-Tim Peters2003-05-043-1/+25
| | | | only. Repaired, and added new tests to test_file.py.
* Scattered wording and typographical improvements (up to but notGreg Ward2003-05-031-113/+91
| | | | including the "Callback Options" section).
* Rename "The Tao of Option Parsing" section to "Philosophy".Greg Ward2003-05-031-30/+30
| | | | Remove first-person usage from it. Various wording tweaks.