summaryrefslogtreecommitdiffstats
path: root/Lib
Commit message (Collapse)AuthorAgeFilesLines
* Apply remove's mutation test after every equality test.Raymond Hettinger2005-03-191-7/+8
|
* Add a remove() method to collections.deque objects.Raymond Hettinger2005-03-181-0/+35
|
* typoSkip Montanaro2005-03-161-1/+1
|
* add two more extensions:Fred Drake2005-03-151-0/+2
| | | | | - .wsdl --> Web Service Definition Language - .xpdl --> XML Process Definition Language
* Bug #1163325: "special" decimals aren't hashableRaymond Hettinger2005-03-152-0/+7
|
* Add default value for "whence" argument.Walter Dörwald2005-03-141-1/+1
|
* Reset internal buffers when seek() is called. This fixes SF bug #1156259.Walter Dörwald2005-03-143-1/+33
|
* Made traceback unconditional, to avoid lock contention problems when logging ↵Vinay Sajip2005-03-131-3/+2
| | | | errors occur in a custom importer (SF path #1158052).
* Added optional encoding argument to file handlers.Vinay Sajip2005-03-131-11/+25
|
* Added optional encoding argument to file handlers. Made traceback import ↵Vinay Sajip2005-03-131-9/+19
| | | | unconditional, to avoid lock contention problems which occur when logging from custom importers (SF patch #1158052)
* Port bugfix from 2.4 maint.Tim Peters2005-03-121-0/+1
| | | | | | | | | | | Bug #1160802: Can't build Zope on Windows w/ 2.4.1c1. MSVCCompiler.initialize(): set self.initialized to True, as suggested by AMK. Else we keep growing the PATH endlessly, with each new C extension built, until putenv() complains. No change to NEWS because the patch that created this bug is also new for 2.5a1 (so there's no change here to any code yet released from HEAD).
* Patch #1159931/bug #1143895: inspect.getsource failed when functions,Johannes Gijsbers2005-03-123-5/+26
| | | | | | etc., had comments after the colon, and some other cases. This patch take a simpler approach that doesn't rely on looking for a ':'. Thanks Simon Percivall!
* Revised the itertools quantifier recipes to match the performance of theRaymond Hettinger2005-03-111-8/+8
| | | | new builtins.
* Add two new functions, any() and all().Raymond Hettinger2005-03-111-0/+36
|
* Test partial() with bound/unbound methods.Raymond Hettinger2005-03-111-1/+7
|
* Apply itemgetter() instead of lambda.Raymond Hettinger2005-03-111-1/+2
|
* Fix test for socket.getfqdn() to also include the name returned byBrett Cannon2005-03-112-2/+2
| | | | | | | socket.gethostname() in the check for a valid return. Also clarified docs (official and docstring) that the value from gethostname() is returned if gethostbyaddr() doesn't do the job.
* operator.itemgetter() and operator.attrgetter() now support extractionRaymond Hettinger2005-03-091-5/+31
| | | | | of multiple fields. This provides direct support for sorting by multiple keys.
* Build with --disable-unicode again. Fixes #1158607.Martin v. Löwis2005-03-083-8/+16
| | | | Will backport to 2.4.
* Convert file names of posix.access according to the file system encoding.Martin v. Löwis2005-03-081-0/+2
|
* Make functional.partial() more closely match the spec by emulatingRaymond Hettinger2005-03-081-0/+17
| | | | | | | some useful features of regular functions: * Made weak referencable. * Allow attribute access so a user can set __name__, __doc__, etc.
* SF #818006: merge from release24-maint branch: add useful read-onlyGreg Ward2005-03-072-8/+31
| | | | attributes to oss_audio_device object: 'closed', 'name', and 'mode'.
* Patch #918101: Add tarfile open mode r|* for auto-detection of theMartin v. Löwis2005-03-052-32/+93
| | | | stream compression; add, for symmetry reasons, r:* as a synonym of r.
* Tweak test_communicate_stderr so that it works when run under a pydebug build.Brett Cannon2005-03-051-1/+3
|
* Remove some more tab usage to prevent an error when run as ``python -tt``.Brett Cannon2005-03-051-2/+2
|
* Remove a tab so that whitespace usage is consistent.Brett Cannon2005-03-051-1/+1
|
* SF #1149508: ensure textwrap handles hyphenated numbers correctly,Greg Ward2005-03-052-3/+22
| | | | eg. "2004-03-04" is not broken across lines. (Merged from 2.4 branch.)
* Patch #1043890: tarfile: add extractall() method.Martin v. Löwis2005-03-041-0/+41
|
* Patch #1075887: Don't require MSVC in distutils if there is nothingMartin v. Löwis2005-03-041-0/+6
| | | | to build. Will backport to 2.4
* Patch #1103407: Properly deal with tarfile iterators when untarringMartin v. Löwis2005-03-031-4/+15
| | | | symbolic links on Windows. Fixes #1100429. Will backport to 2.4.
* Corrected bug in list2cmdline wrt backslashes. Fixes #1083306.Peter Astrand2005-03-031-0/+1
|
* Only run extensive subprocess tests if -usubprocess to regrtest is ↵Peter Astrand2005-03-032-4/+7
| | | | specified. Fixes #1124637
* Optimization for communicate(): If only one of stdin/stdout/stderr isPeter Astrand2005-03-031-16/+29
| | | | redirected, using select() or threads is unnecessary.
* Added three more testcases: Using communicate with only one ofPeter Astrand2005-03-031-0/+23
| | | | stdin/stdout/stderr redirected.
* SF bug #1155938: Missing None check for __init__().Raymond Hettinger2005-03-031-0/+13
|
* Revert previous checkin on getargs 'L' code. Try to convert allMartin v. Löwis2005-03-032-23/+5
| | | | | numbers in PyLong_AsLongLong, and update test suite accordingly. Backported to 2.4.
* Patch #645894: Use getrusage for computing the time consumption inMartin v. Löwis2005-03-031-2/+20
| | | | profile.py if available.
* Patches #749830, #1144555: allow UNIX mmap size to default to currentMartin v. Löwis2005-03-032-0/+38
| | | | file size.
* Patch #1046831: Use get_python_version where appropriate in sysconfig.py.Martin v. Löwis2005-03-031-6/+6
|
* Patch #1117454: Remove code to special-case cookies without valuesMartin v. Löwis2005-03-034-12/+23
| | | | in LWPCookieJar. Backported to 2.4.
* Patch #1117339: Add cookielib special name tests.Martin v. Löwis2005-03-032-5/+28
| | | | Backported to 2.4.
* Patch #1112812: Make bsddb/__init__.py more friendly for modulefinder.Martin v. Löwis2005-03-031-2/+2
| | | | Backported to 2.4.
* Clear internal call error in 'L' format. Fixes #723201.Martin v. Löwis2005-03-031-1/+13
| | | | Backported to 2.4.
* Patch #1110248: SYNC_FLUSH the zlib buffer for GZipFile.flush.Martin v. Löwis2005-03-031-1/+4
| | | | Partially fixes #1110242.
* Patch #1107973: tarfile.ExFileObject iterators.Martin v. Löwis2005-03-032-0/+26
|
* Patch #1104111: Alter setup.py --help and --help-commands.Martin v. Löwis2005-03-032-2/+11
|
* Fix bug in InternalDate regexp that failed to allow leading 0 in day - ↵Piers Lauder2005-03-021-1/+1
| | | | courtesy of Rimon Barr <rimon.barr@cornell.edu>
* Patch #1121234: Properly cleanup _exit and tkerror commands.Martin v. Löwis2005-03-011-0/+7
| | | | Will backport to 2.4.
* Make test__locale more fine-grained. Now test localeconv and nl_langinfoBrett Cannon2005-03-011-9/+56
| | | | | | individually as tests. Also improved output when the test fails.
* Fix small grammatical error in a docstring.Brett Cannon2005-03-011-1/+1
|