summaryrefslogtreecommitdiffstats
path: root/Lib
Commit message (Collapse)AuthorAgeFilesLines
* Issue 2021: Allow NamedTemporaryFile and SpooledTemporaryFile to be used as ↵Nick Coghlan2008-02-092-5/+98
| | | | context managers. (The NamedTemporaryFile fix should be considered for backporting to 2.5)
* Temporarily disable this test. It's been broken for a week.Raymond Hettinger2008-02-091-15/+15
|
* Metaclass declaration is inheritedRaymond Hettinger2008-02-091-7/+0
|
* Merge with r60683.Raymond Hettinger2008-02-091-2/+2
|
* Make ABC containers inherit as documented.Raymond Hettinger2008-02-091-31/+5
|
* Fill-in missing Set comparisonsRaymond Hettinger2008-02-081-0/+13
|
* Speed-up __iter__() mixin method.Raymond Hettinger2008-02-081-6/+6
|
* Update big5hkscs codec to conform to the HKSCS:2004 revision.Hye-Shik Chang2008-02-083-5/+16
|
* Oops! 2.6's Rational.__ne__ didn't work.Jeffrey Yasskin2008-02-082-1/+6
|
* issue 2045: Infinite recursion when printing a subclass of defaultdict,Amaury Forgeot d'Arc2008-02-081-0/+23
| | | | | | if default_factory is set to a bound method. Will backport.
* Fix typo in docstring for Calendar.itermonthdays().Walter Dörwald2008-02-071-2/+2
|
* Fixes Issue 1401. When redirected, a possible POST get convertedFacundo Batista2008-02-072-1/+13
| | | | | | to GET, so it loses its payload. So, it also must lose the headers related to the payload (if it has no content any more, it shouldn't indicate content length and type).
* Fixes issue 2026. Tests converted to unittest. ThanksFacundo Batista2008-02-071-151/+164
| | | | Giampaolo Rodola.
* Update URLAndrew M. Kuchling2008-02-071-1/+1
|
* Merge r60628, r60631, and r60633. Register UserList and UserString will the ↵Raymond Hettinger2008-02-073-45/+14
| | | | appropriate ABCs.
* Merge 60627.Raymond Hettinger2008-02-071-1/+6
|
* Issue 2025: Add tuple.count() and tuple.index() to follow the ABC in ↵Raymond Hettinger2008-02-071-0/+62
| | | | collections.Sequence.
* Revert accidental changes to test_queue in r60605.Georg Brandl2008-02-061-20/+16
|
* Issue 1979: Make Decimal comparisons (other than !=, ==) involving NaNMark Dickinson2008-02-062-40/+129
| | | | raise InvalidOperation (and return False if InvalidOperation is trapped).
* Fixes issue 1959. Converted tests to unittest.Facundo Batista2008-02-061-119/+97
| | | | Thanks Giampaolo Rodola.
* Sync-up with Py3k work.Raymond Hettinger2008-02-061-0/+13
|
* * Use the same code to profile for test_profile and test_cprofile.Georg Brandl2008-02-055-416/+398
| | | | | | | | * Convert both to unittest. * Use the same unit testing code. * Include the expected output in both test files. * Make it possible to regenerate the expected output by running the file as a script with an '-r' argument.
* Actually run the test.Georg Brandl2008-02-051-2/+2
|
* Issue 1951. Converts wave test cases to unittest.Facundo Batista2008-02-051-24/+37
|
* Fix unittest conversion breakage.Georg Brandl2008-02-051-29/+30
|
* In the experimental 'Scanner' feature, the group count was set wrong.Guido van Rossum2008-02-051-1/+1
|
* Update PEP URL.Andrew M. Kuchling2008-02-052-3/+3
| | | | | | | (This code is duplicated between pydoc and DocXMLRPCServer; maybe it should be refactored as a GHOP project.) 2.5.2 backport candidate.
* Keep distutils Python 2.1 compatible (or even Python 2.4 in this case).Marc-André Lemburg2008-02-051-2/+6
|
* Issue #2004: Use mode 0700 for temporary directories and defaultLars Gustäbel2008-02-051-9/+9
| | | | | | permissions for missing directories. (will backport to 2.5)
* Change r60575 broke test_compile:Amaury Forgeot d'Arc2008-02-051-0/+9
| | | | there is no need to emit co_lnotab item when both offsets are zeros.
* #1750076: Debugger did not step on every iteration of a while statement.Amaury Forgeot d'Arc2008-02-041-3/+48
| | | | | | | | | | | | The mapping between bytecode offsets and source lines (lnotab) did not contain an entry for the beginning of the loop. Now it does, and the lnotab can be a bit larger: in particular, several statements on the same line generate several entries. However, this does not bother the settrace function, which will trigger only one 'line' event. The lnotab seems to be exactly the same as with python2.4.
* Small adjustments for test compact freelist test. It's no passing on Windows ↵Christian Heimes2008-02-041-5/+5
| | | | as well.
* Increase debugging to investige failing tests on some build botsChristian Heimes2008-02-041-0/+3
|
* Patch #1953Christian Heimes2008-02-042-1/+19
| | | | | I implemented the function sys._compact_freelists() and C API functions PyInt_/PyFloat_CompactFreeList() to compact the pre-allocated blocks of ints and floats. They allow the user to reduce the memory usage of a Python process that deals with lots of numbers. The patch also renames sys._cleartypecache to sys._clear_type_cache
* Make int() and long() fall back to __trunc__(). See issue 2002.Jeffrey Yasskin2008-02-042-2/+102
|
* Let test_socketserver pass on win32, which does not have AF_UNIX sockets.Amaury Forgeot d'Arc2008-02-031-7/+8
|
* Correct test_mailbox on win32: since the test sets a custom 'colon' attributeAmaury Forgeot d'Arc2008-02-031-0/+1
| | | | to the main mailbox, copy it to secondary mailbox instances.
* Fixed paths to Windows build directories in build_ext.pyChristian Heimes2008-02-031-3/+3
| | | | Use vsbuild instead of devenv in build.bat and _bsddb.vcproj
* Use context manager for a lock.Brett Cannon2008-02-031-4/+1
|
* Wait for a delay before reaping children -- this should fix theGeorg Brandl2008-02-031-1/+2
| | | | test_socketserver failures on several platforms.
* Fix a conversion mistake that caused test_queue to fail intermittently.Georg Brandl2008-02-021-4/+4
|
* Make the Rational constructor accept '3.' and '.2' as well as '3.2'.Mark Dickinson2008-02-022-3/+18
|
* Rewrite test_cprofile as unittest (and rename the file to be consistentGeorg Brandl2008-02-023-202/+208
| | | | with all other test files). Written for GHOP by Benjamin Peterson.
* Rewrite test_queue as unittest. Written for GHOP by Ian Seyer.Georg Brandl2008-02-021-231/+267
|
* Rewrite test_socketserver as unittest, written for GHOP by Benjamin Petersen.Georg Brandl2008-02-021-146/+177
|
* Rewrite test_funcattrs as unittest, written for GHOP by Jeff Wheeler.Georg Brandl2008-02-021-413/+280
|
* Rewrite test_descr as unittest, written for GHOP by Jeff Wheeler.Georg Brandl2008-02-021-4494/+4189
|
* Bump distutils version number to match Python version.Marc-André Lemburg2008-02-011-1/+1
|
* Test round-trip on float.as_integer_ratio() and float.__truediv__().Raymond Hettinger2008-02-011-0/+6
|
* Issue #1996: float.as_integer_ratio() should return fraction in lowest terms.Raymond Hettinger2008-02-011-0/+8
|