Commit message (Collapse) | Author | Age | Files | Lines | ||
---|---|---|---|---|---|---|
... | ||||||
* | [Bug #1172763] dumbdbm uses eval() on lines, so it chokes if there's an ↵ | Andrew M. Kuchling | 2005-06-07 | 2 | -0/+19 | |
| | | | | extra \r on the end of a line; fixed by stripping off trailing whitespace. | |||||
* | Backport bug #1196315: fix weakref.WeakValueDictionary constructor. | Georg Brandl | 2005-06-04 | 1 | -1/+1 | |
| | ||||||
* | Backport bug #1194181: bz2.BZ2File didn't handle mode 'U' correctly. | Georg Brandl | 2005-06-03 | 1 | -0/+10 | |
| | ||||||
* | backport of [ 1197218 ] test_locale fix on modern linux | Anthony Baxter | 2005-06-03 | 1 | -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 Brandl | 2005-06-03 | 2 | -1/+21 | |
| | | | | | | the first component of the path. | |||||
* | whitespace normalisation | Anthony Baxter | 2005-06-03 | 6 | -9/+9 | |
| | ||||||
* | fix exceptions.TabError. _Please_ run test suite before checking in. | Anthony Baxter | 2005-06-03 | 1 | -9/+9 | |
| | ||||||
* | [Bug #1177831] Fix (?(id)yes|no) for a group other than the first one, and ↵ | Andrew M. Kuchling | 2005-06-02 | 2 | -1/+11 | |
| | | | | add a test case | |||||
* | [Bug #1152762] Ensure _end_of_line() returns an x-coordinate that's within ↵ | Andrew M. Kuchling | 2005-06-02 | 1 | -1/+1 | |
| | | | | the text box | |||||
* | SF bug #1193890: calendar.weekheader not found in __all__ | Raymond Hettinger | 2005-05-10 | 1 | -1/+2 | |
| | ||||||
* | Fix a docstring with mismatched opening and closing quotes. | Brett Cannon | 2005-04-30 | 1 | -1/+1 | |
| | | | | Backport of fix for bug #1192777. | |||||
* | Backport checkin (and the appropriate fix to the test): | Walter Dörwald | 2005-04-21 | 2 | -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örwald | 2005-04-04 | 2 | -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 Chang | 2005-04-04 | 1 | -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 Sajip | 2005-03-31 | 1 | -20/+41 | |
| | | | | handling for SysLogHandler | |||||
* | Minor changes to imports | Vinay Sajip | 2005-03-31 | 1 | -3/+8 | |
| | ||||||
* | Misc. changes | Vinay Sajip | 2005-03-31 | 1 | -18/+42 | |
| | ||||||
* | Backport checkin: | Walter Dörwald | 2005-03-31 | 1 | -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. Hudson | 2005-03-31 | 1 | -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 Hettinger | 2005-03-31 | 1 | -0/+6 | |
| | ||||||
* | *** empty log message *** | Anthony Baxter | 2005-03-30 | 1 | -0/+1 | |
| | ||||||
* | backport of 1.122 | Anthony Baxter | 2005-03-29 | 1 | -5/+5 | |
| | | | | SF patch 1167316: doctest.py fails self-test if run directly. | |||||
* | 2.4.1 preparations. | Anthony Baxter | 2005-03-29 | 2 | -1/+6 | |
| | ||||||
* | - Fixed decimal operator and comparison methods to return NotImplemented | Raymond Hettinger | 2005-03-27 | 2 | -11/+89 | |
| | | | | | instead of raising a TypeError when interacting with other types. Allows other classes to successfully implement __radd__ style methods. | |||||
* | 2.4.1rc2 setup | Anthony Baxter | 2005-03-16 | 2 | -1/+7 | |
| | ||||||
* | Decimal special values did not hash properly. | Raymond Hettinger | 2005-03-15 | 2 | -0/+7 | |
| | ||||||
* | Backport checkin: | Walter Dörwald | 2005-03-14 | 1 | -1/+1 | |
| | | | | Add default value for "whence" argument. | |||||
* | Backport checkin: | Walter Dörwald | 2005-03-14 | 3 | -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 with | Martin v. Löwis | 2005-03-13 | 1 | -0/+2 | |
| | | | | the file system encoding. | |||||
* | Patch #1159931: a test case for the buggy cases fixed by the last checkin. | Johannes Gijsbers | 2005-03-12 | 1 | -1/+1 | |
| | ||||||
* | Backport of patch #1159931/bug #1143895: inspect.getsource failed when | Johannes Gijsbers | 2005-03-12 | 1 | -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 from | Brett Cannon | 2005-03-12 | 2 | -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 Peters | 2005-03-11 | 1 | -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 magic | Anthony Baxter | 2005-03-09 | 2 | -4/+4 | |
| | ||||||
* | tabstop delenda est | Anthony Baxter | 2005-03-09 | 1 | -3/+3 | |
| | ||||||
* | SF #818006: revert addition of 'closed', 'mode', and 'name' attributes | Greg Ward | 2005-03-09 | 1 | -14/+0 | |
| | | | | to oss_audio_device objects. | |||||
* | Build with --disable-unicode again. Fixes #1158607. | Martin v. Löwis | 2005-03-08 | 2 | -6/+14 | |
| | ||||||
* | SF #818006: add useful read-only attributes to oss_audio_device object: | Greg Ward | 2005-03-07 | 2 | -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 it | Greg Ward | 2005-03-07 | 1 | -7/+10 | |
| | | | | (this was breaking test_warnings). | |||||
* | SF #1149508: ensure textwrap handles hyphenated numbers correctly, | Greg Ward | 2005-03-05 | 2 | -3/+22 | |
| | | | | eg. "2004-03-04" is not broken across lines. | |||||
* | Patch #1075887: Don't require MSVC in distutils if there is nothing | Martin v. Löwis | 2005-03-04 | 1 | -0/+6 | |
| | | | | to build. Will backport to 2.4 | |||||
* | Convert "__init__ should return None" from an exception to a warning. | Raymond Hettinger | 2005-03-04 | 1 | -1/+7 | |
| | ||||||
* | Patch #1103407: Properly deal with tarfile iterators when untarring | Martin v. Löwis | 2005-03-03 | 1 | -4/+15 | |
| | | | | symbolic links on Windows. Fixes #1100429. | |||||
* | Corrected bug in list2cmdline wrt backslashes. Fixes #1083306. | Peter Astrand | 2005-03-03 | 1 | -0/+1 | |
| | ||||||
* | Only run extensive subprocess tests if -usubprocess to regrtest is ↵ | Peter Astrand | 2005-03-03 | 2 | -4/+7 | |
| | | | | specified. Fixes #1124637 | |||||
* | SF bug #1155938: Missing None check for __init__(). | Raymond Hettinger | 2005-03-03 | 1 | -0/+13 | |
| | ||||||
* | Revert previous checkin on getargs 'L' code. Try to convert all | Martin v. Löwis | 2005-03-03 | 2 | -23/+5 | |
| | | | | numbers in PyLong_AsLongLong, and update test suite accordingly. | |||||
* | Patch #1117454: Remove code to special-case cookies without values | Martin v. Löwis | 2005-03-03 | 4 | -12/+23 | |
| | | | | in LWPCookieJar. | |||||
* | Patch #1117339: Add cookielib special name tests. | Martin v. Löwis | 2005-03-03 | 2 | -5/+28 | |
| | ||||||
* | Patch #1112812: Make bsddb/__init__.py more friendly for modulefinder. | Martin v. Löwis | 2005-03-03 | 1 | -2/+2 | |
| |