summaryrefslogtreecommitdiffstats
path: root/Lib
Commit message (Collapse)AuthorAgeFilesLines
...
* [Bug #1172763] dumbdbm uses eval() on lines, so it chokes if there's an ↵Andrew M. Kuchling2005-06-072-0/+19
| | | | extra \r on the end of a line; fixed by stripping off trailing whitespace.
* Backport bug #1196315: fix weakref.WeakValueDictionary constructor.Georg Brandl2005-06-041-1/+1
|
* Backport bug #1194181: bz2.BZ2File didn't handle mode 'U' correctly.Georg Brandl2005-06-031-0/+10
|
* backport of [ 1197218 ] test_locale fix on modern linuxAnthony Baxter2005-06-031-8/+10
| | | | | On more modern linuxes (and probably others) straight 'en_US' isn't a valid locale. Make the code try a couple of alternates.
* Backport bug #1213894: os.path.realpath didn't resolve symlinks that were ↵Georg Brandl2005-06-032-1/+21
| | | | | | the first component of the path.
* whitespace normalisationAnthony Baxter2005-06-036-9/+9
|
* fix exceptions.TabError. _Please_ run test suite before checking in.Anthony Baxter2005-06-031-9/+9
|
* [Bug #1177831] Fix (?(id)yes|no) for a group other than the first one, and ↵Andrew M. Kuchling2005-06-022-1/+11
| | | | add a test case
* [Bug #1152762] Ensure _end_of_line() returns an x-coordinate that's within ↵Andrew M. Kuchling2005-06-021-1/+1
| | | | the text box
* SF bug #1193890: calendar.weekheader not found in __all__Raymond Hettinger2005-05-101-1/+2
|
* Fix a docstring with mismatched opening and closing quotes.Brett Cannon2005-04-301-1/+1
| | | | Backport of fix for bug #1192777.
* Backport checkin (and the appropriate fix to the test):Walter Dörwald2005-04-212-12/+6
| | | | | | | | | | | | If the data read from the bytestream in readline() ends in a '\r' read one more byte, even if the user has passed a size parameter. This extra byte shouldn't cause a buffer overflow in the tokenizer. The original plan was to return a line ending in '\r', which might be recognizable as a complete line and skip any '\n' that was read afterwards. Unfortunately this didn't work, as the tokenizer only recognizes '\n' as line ends, which in turn lead to joined lines and SyntaxErrors, so this special treatment of a split '\r\n' has been dropped. (It can only happen with a temporarily exhausted bytestream now anyway.) Fixes parts of SF bugs #1163244 and #1175396.
* Backport checkin:Walter Dörwald2005-04-042-9/+91
| | | | | | | | | | | | | Fix for SF bug #1175396: readline() will now read one more character, if the last character read is "\r" (and size is None, i.e. we're allowed to call read() multiple times), so that we can return the correct line ending (this additional character might be a "\n"). If the stream is temporarily exhausted, we might return the wrong line ending (if the last character read is "\r" and the next one (after the byte stream provides more data) is "\n", but at least the atcr member ensures that we get the correct number of lines (i.e. this "\n" will not be treated as another line ending).
* Backport from 1.27:Hye-Shik Chang2005-04-041-2/+8
| | | | | Fix testcase for 64bit BSD systems: long is 8 bytes for those systems so there's no need to pad after off_t members. And a small typo fix.
* Added optional encoding argument to File based handlers and improved error ↵Vinay Sajip2005-03-311-20/+41
| | | | handling for SysLogHandler
* Minor changes to importsVinay Sajip2005-03-311-3/+8
|
* Misc. changesVinay Sajip2005-03-311-18/+42
|
* Backport checkin:Walter Dörwald2005-03-311-2/+2
| | | | | Since PyPI only accepts UTF-8 encoded data now, make sure that the data is properly encoded and include the encoding in the Content-Type header.
* Backport:Michael W. Hudson2005-03-311-0/+10
| | | | | | | | | | | Fix for rather inaccurately titled bug [ 1165306 ] Property access with decorator makes interpreter crash Don't allow the creation of unbound methods with NULL im_class, because attempting to call such crashes. Backport candidate.
* SF bug #1770766: weakref proxy has incorrect __nonzero__ behavior.Raymond Hettinger2005-03-311-0/+6
|
* *** empty log message ***Anthony Baxter2005-03-301-0/+1
|
* backport of 1.122Anthony Baxter2005-03-291-5/+5
| | | | SF patch 1167316: doctest.py fails self-test if run directly.
* 2.4.1 preparations.Anthony Baxter2005-03-292-1/+6
|
* - Fixed decimal operator and comparison methods to return NotImplementedRaymond Hettinger2005-03-272-11/+89
| | | | | instead of raising a TypeError when interacting with other types. Allows other classes to successfully implement __radd__ style methods.
* 2.4.1rc2 setupAnthony Baxter2005-03-162-1/+7
|
* Decimal special values did not hash properly.Raymond Hettinger2005-03-152-0/+7
|
* Backport checkin:Walter Dörwald2005-03-141-1/+1
| | | | Add default value for "whence" argument.
* Backport checkin:Walter Dörwald2005-03-143-1/+29
| | | | Reset internal buffers when seek() is called. This fixes SF bug #1156259.
* Backport of change to os.access to encode Unicode file names withMartin v. Löwis2005-03-131-0/+2
| | | | the file system encoding.
* Patch #1159931: a test case for the buggy cases fixed by the last checkin.Johannes Gijsbers2005-03-121-1/+1
|
* Backport of patch #1159931/bug #1143895: inspect.getsource failed whenJohannes Gijsbers2005-03-121-5/+5
| | | | | | | | | functions, etc., had comments after the colon, and some other cases. This patch take a simpler approach that doesn't rely on looking for a ':'. Test cases are not backported, as test_inspect.py has been rewritten using unittest on the trunk. Thanks Simon Percivall!
* Fix test_socket's test for socket.getfqdn() to also accept the result fromBrett Cannon2005-03-122-2/+2
| | | | | | socket.gethostname() as a valid return value. Also clarified the docs as they were a little hazy on the subject matter.
* Bug #1160802: Can't build Zope on Windows w/ 2.4.1c1.Tim Peters2005-03-111-0/+2
| | | | | | | | | | | | | 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. This doesn't appear to be an issue on the HEAD (MSVCCompiler initializes itself via __init__() on the HEAD). Also added a "2.4.1c2" section to NEWS. Not meant to imply that Anthony will do a 2.4.1c2 release, just needed to a place to put the news about the MSVCCompiler bugfix.
* pre-release magicAnthony Baxter2005-03-092-4/+4
|
* tabstop delenda estAnthony Baxter2005-03-091-3/+3
|
* SF #818006: revert addition of 'closed', 'mode', and 'name' attributesGreg Ward2005-03-091-14/+0
| | | | to oss_audio_device objects.
* Build with --disable-unicode again. Fixes #1158607.Martin v. Löwis2005-03-082-6/+14
|
* SF #818006: add useful read-only attributes to oss_audio_device object:Greg Ward2005-03-072-8/+31
| | | | | 'closed', 'name', and 'mode' (as recommended by http://python.org/doc/current/lib/bltin-file-objects.html).
* Ensure that warnings.filters is properly restored after fiddling with itGreg Ward2005-03-071-7/+10
| | | | (this was breaking test_warnings).
* SF #1149508: ensure textwrap handles hyphenated numbers correctly,Greg Ward2005-03-052-3/+22
| | | | eg. "2004-03-04" is not broken across lines.
* 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
* Convert "__init__ should return None" from an exception to a warning.Raymond Hettinger2005-03-041-1/+7
|
* Patch #1103407: Properly deal with tarfile iterators when untarringMartin v. Löwis2005-03-031-4/+15
| | | | symbolic links on Windows. Fixes #1100429.
* 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
* 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.
* Patch #1117454: Remove code to special-case cookies without valuesMartin v. Löwis2005-03-034-12/+23
| | | | in LWPCookieJar.
* Patch #1117339: Add cookielib special name tests.Martin v. Löwis2005-03-032-5/+28
|
* Patch #1112812: Make bsddb/__init__.py more friendly for modulefinder.Martin v. Löwis2005-03-031-2/+2
|