Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | Whitespace normalization. | Tim Peters | 2005-04-20 | 2 | -2/+2 |
| | |||||
* | typo fix, thanks Jeremy Sanders | Anthony Baxter | 2005-04-15 | 1 | -1/+1 |
| | |||||
* | Flush out support for ``class B(): pass`` syntax by adding support to the | Brett Cannon | 2005-04-09 | 3 | -1/+9 |
| | | | | | | 'parser' module and 'compiler' package. Closes patch #1176012. Thanks logistix. | ||||
* | Add test for ``class B1(): pass``. | Brett Cannon | 2005-04-09 | 1 | -1/+2 |
| | |||||
* | test_default_encoding_issues(): Fully restore sys.setdefaultencoding. | Tim Peters | 2005-04-08 | 1 | -0/+7 |
| | | | | | | | | | | test_site often failed under "regrtest.py -r", because this xmlrpc test left sys with a setdefaultencoding attribute, but loading site.py removes that attribute and test_site.py verifies the attribute is gone. Changed this test to get rid of sys.setdefaultencoding if it didn't exist when this test started. Don't know whether this is a bugfix (backport) candidate. | ||||
* | SF bug #1168983: ftplib.py string index out of range | Raymond Hettinger | 2005-04-05 | 1 | -7/+16 |
| | | | | | | | | * resp[:1] in '123' # after Py2.2, this allowed blank responses to pass. * replace <> with != * provide a usage message for empty command line calls Backport candidate. | ||||
* | Fix typos. | Walter Dörwald | 2005-04-04 | 1 | -2/+2 |
| | |||||
* | Fix for SF bug #1175396: readline() will now read one more character, if | Walter Dörwald | 2005-04-04 | 2 | -9/+91 |
| | | | | | | | | | | | | 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 ensure that we get the correct number of lines (i.e. this "\n" will not be treated as another line ending.) | ||||
* | Fix testcase for 64bit BSD systems: long is 8 bytes for those systems | Hye-Shik Chang | 2005-04-04 | 1 | -2/+8 |
| | | | | so there's no need to pad after off_t members. And a small typo fix. | ||||
* | Added threadName and now using re-entrant lock | Vinay Sajip | 2005-03-31 | 1 | -2/+5 |
| | |||||
* | Since PyPI only accepts UTF-8 encoded data now, make sure that the data is | Walter Dörwald | 2005-03-31 | 1 | -2/+2 |
| | | | | properly encoded and include the encoding in the Content-Type header. | ||||
* | Fix for rather inaccurately titled bug | Michael W. Hudson | 2005-03-30 | 1 | -0/+10 |
| | | | | | | | | | [ 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 patch 1167316: doctest.py fails self-test if run directly. | Tim Peters | 2005-03-28 | 1 | -5/+5 |
| | | | | | | Patch by Ilya Sandler. Bugfix candidate. | ||||
* | Whitespace normalization. | Tim Peters | 2005-03-28 | 13 | -29/+27 |
| | |||||
* | Two lines in this file had unbalanced parentheses -- couldn't possibly | Tim Peters | 2005-03-28 | 1 | -2/+2 |
| | | | | | | | work (SyntaxErrors at compile time). I slammed in what looked like the obvious fixes, but someone who understands this file should check my work. | ||||
* | SF patch #1171417: bug fix for islice() in docs | Raymond Hettinger | 2005-03-27 | 1 | -0/+5 |
| | |||||
* | * Fix decimal's handling of foreign types. Now returns NotImplemented | Raymond Hettinger | 2005-03-27 | 2 | -11/+89 |
| | | | | | | | instead of raising a TypeError. Allows other types to successfully implement __radd__() style methods. * Remove future division import from test suite. * Remove test suite's shadowing of __builtin__.dir(). | ||||
* | SF bug #1770766: weakref proxy has incorrect __nonzero__ behavior. | Raymond Hettinger | 2005-03-27 | 1 | -0/+6 |
| | |||||
* | Add missing socket import | Martin v. Löwis | 2005-03-24 | 1 | -0/+1 |
| | |||||
* | minor cleanup | Fred Drake | 2005-03-24 | 1 | -7/+6 |
| | |||||
* | Make SRPMs pyversion 'any'. | Martin v. Löwis | 2005-03-23 | 1 | -1/+1 |
| | |||||
* | Make dist_files a triple, with the Python target version included, | Martin v. Löwis | 2005-03-23 | 6 | -14/+38 |
| | | | | so that bdist_wininst can specify 'any'. | ||||
* | Make the signature detached. | Martin v. Löwis | 2005-03-22 | 1 | -1/+1 |
| | |||||
* | Add tests for tuple, list and UserList that initialize the object from | Walter Dörwald | 2005-03-22 | 2 | -83/+97 |
| | | | | | | various iterables. (Copied from test_deque.py as suggested by Jim Jewett in SF bug #1166274) | ||||
* | Fix registration of output file. | Martin v. Löwis | 2005-03-22 | 1 | -1/+1 |
| | |||||
* | Don't set the Python version for sdist uploads. | Martin v. Löwis | 2005-03-22 | 1 | -0/+2 |
| | |||||
* | Upload GPG signature. | Martin v. Löwis | 2005-03-22 | 1 | -3/+16 |
| | |||||
* | Fix typo. | Walter Dörwald | 2005-03-22 | 1 | -1/+1 |
| | |||||
* | fix Python style guide conformance | Fred Drake | 2005-03-22 | 1 | -1/+1 |
| | |||||
* | Add list tests that ensure that remove() removes the first occurrence. | Walter Dörwald | 2005-03-21 | 1 | -0/+20 |
| | | | | (Copied from test_deque.py as suggested by Jim Jewett in SF bug #1166274) | ||||
* | Actually add the implementation of the command. | Martin v. Löwis | 2005-03-21 | 1 | -0/+150 |
| | |||||
* | Add the upload command. Make all dist commands register their | Martin v. Löwis | 2005-03-21 | 6 | -2/+18 |
| | | | | outputs with the distribution object. | ||||
* | - rename check_provision() to split_revision() | Fred Drake | 2005-03-21 | 2 | -88/+145 |
| | | | | | - fix indentation to conform to the Python style guide - add more tests and documentation | ||||
* | PEP 314 implementation (client side): | Fred Drake | 2005-03-20 | 4 | -25/+185 |
| | | | | added support for the provides, requires, and obsoletes metadata fields | ||||
* | helper code, mostly from Andy Harrington, for PEP 314 completion | Fred Drake | 2005-03-20 | 2 | -0/+112 |
| | |||||
* | Apply remove's mutation test after every equality test. | Raymond Hettinger | 2005-03-19 | 1 | -7/+8 |
| | |||||
* | Add a remove() method to collections.deque objects. | Raymond Hettinger | 2005-03-18 | 1 | -0/+35 |
| | |||||
* | typo | Skip Montanaro | 2005-03-16 | 1 | -1/+1 |
| | |||||
* | add two more extensions: | Fred Drake | 2005-03-15 | 1 | -0/+2 |
| | | | | | - .wsdl --> Web Service Definition Language - .xpdl --> XML Process Definition Language | ||||
* | Bug #1163325: "special" decimals aren't hashable | Raymond Hettinger | 2005-03-15 | 2 | -0/+7 |
| | |||||
* | Add default value for "whence" argument. | Walter Dörwald | 2005-03-14 | 1 | -1/+1 |
| | |||||
* | Reset internal buffers when seek() is called. This fixes SF bug #1156259. | Walter Dörwald | 2005-03-14 | 3 | -1/+33 |
| | |||||
* | Made traceback unconditional, to avoid lock contention problems when logging ↵ | Vinay Sajip | 2005-03-13 | 1 | -3/+2 |
| | | | | errors occur in a custom importer (SF path #1158052). | ||||
* | Added optional encoding argument to file handlers. | Vinay Sajip | 2005-03-13 | 1 | -11/+25 |
| | |||||
* | Added optional encoding argument to file handlers. Made traceback import ↵ | Vinay Sajip | 2005-03-13 | 1 | -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 Peters | 2005-03-12 | 1 | -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 Gijsbers | 2005-03-12 | 3 | -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 the | Raymond Hettinger | 2005-03-11 | 1 | -8/+8 |
| | | | | new builtins. | ||||
* | Add two new functions, any() and all(). | Raymond Hettinger | 2005-03-11 | 1 | -0/+36 |
| | |||||
* | Test partial() with bound/unbound methods. | Raymond Hettinger | 2005-03-11 | 1 | -1/+7 |
| |