summaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeFilesLines
* Issue #4874: Most builtin decoders now reject unicode input.Antoine Pitrou2009-01-223-14/+47
|
* Update comments and add an optimized path for Counter.update().Raymond Hettinger2009-01-221-3/+5
|
* More doc tweaks.Raymond Hettinger2009-01-221-15/+12
|
* Blocked revisions 68760,68793,68813,68826,68829,68831 via svnmergeBenjamin Peterson2009-01-220-0/+0
| | | | | | | | | | | | | | | | | | | | | | | | | | | | ........ r68760 | vinay.sajip | 2009-01-19 00:49:19 -0600 (Mon, 19 Jan 2009) | 1 line Added more cross-reference targets and tidied up list of useful handlers. ........ r68793 | raymond.hettinger | 2009-01-19 21:36:36 -0600 (Mon, 19 Jan 2009) | 1 line Make merging easier by formattng comment blocks the same in Py3.1 ........ r68813 | raymond.hettinger | 2009-01-20 14:34:19 -0600 (Tue, 20 Jan 2009) | 3 lines Issue 4998: __slots__ on Fractions was useless. ........ r68826 | vinay.sajip | 2009-01-20 16:43:17 -0600 (Tue, 20 Jan 2009) | 1 line Issue 5013: Fixed bug in FileHandler when delay was set. ........ r68829 | vinay.sajip | 2009-01-20 17:16:08 -0600 (Tue, 20 Jan 2009) | 1 line Issue 5013: Fixed bug in FileHandler when delay was set - added fix for RotatingFileHandler and changed header comment slightly. ........ r68831 | raymond.hettinger | 2009-01-20 17:42:54 -0600 (Tue, 20 Jan 2009) | 1 line Beautify and cleanup the references section. ........
* Blocked revisions 68843,68845 via svnmergeBenjamin Peterson2009-01-220-0/+0
| | | | | | | | | | | | ........ r68843 | raymond.hettinger | 2009-01-21 14:31:50 -0600 (Wed, 21 Jan 2009) | 1 line Simplify explanation of multiset operations by removing restrictions on negative inputs. ........ r68845 | raymond.hettinger | 2009-01-21 17:12:51 -0600 (Wed, 21 Jan 2009) | 1 line Tighten-up the docs for Counter(). ........
* Tighten-up the docs for Counter().Raymond Hettinger2009-01-212-25/+26
|
* Simplify explanation of multiset operations by removing restrictions on ↵Raymond Hettinger2009-01-213-24/+17
| | | | negative inputs.
* merge r68839 forward to py3kJesse Noller2009-01-212-3/+5
|
* Merged revisions 68835 via svnmerge fromAntoine Pitrou2009-01-213-0/+29
| | | | | | | | | | | | | svn+ssh://pythondev@svn.python.org/python/trunk ........ r68835 | antoine.pitrou | 2009-01-21 01:45:36 +0100 (mer., 21 janv. 2009) | 6 lines Issue #5008: When a file is opened in append mode with the new IO library, do an explicit seek to the end of file (so that e.g. tell() returns the file size rather than 0). This is consistent with the behaviour of the traditional 2.x file object. ........
* Issue 5013: Fixed bug in FileHandler when delay was set - added fix for ↵Vinay Sajip2009-01-213-20/+26
| | | | RotatingFileHandler and changed header comment slightly.
* Beautify and cleanup the references section.Raymond Hettinger2009-01-201-12/+19
|
* Revert part of r68799 which unintentionally updated this file.Raymond Hettinger2009-01-201-0/+0
|
* Issue 4842, patch 2/2: int('3L') should be invalid in Python 3.x.Mark Dickinson2009-01-203-2/+13
|
* Issue #4842, patch 1/2: fix pickle in Python 3.x so that pickling with theMark Dickinson2009-01-205-128/+155
| | | | | | 'L' opcode always appends an 'L' on output, just as 2.x does. When unpickling, remove the trailing 'L' (if present) before passing the result to PyLong_FromString.
* Blocked revisions 68764,68766 via svnmergeBenjamin Peterson2009-01-200-0/+0
| | | | | | | | | | | | | | ........ r68764 | benjamin.peterson | 2009-01-19 09:04:35 -0600 (Mon, 19 Jan 2009) | 3 lines Removed merge tracking for "svnmerge" for svn+ssh://pythondev@svn.python.org/python/branches/trunk-math ........ r68766 | benjamin.peterson | 2009-01-19 09:06:33 -0600 (Mon, 19 Jan 2009) | 3 lines Removed merge tracking for "svnmerge" for svn+ssh://pythondev@svn.python.org/python/branches/tnelson-trunk-bsddb-47-upgrade ........
* Merged revisions 68797,68801 via svnmerge fromBenjamin Peterson2009-01-201-1/+1
| | | | | | | | | | | | | | | | | | | | | | | svn+ssh://pythondev@svn.python.org/python/trunk ........ r68797 | raymond.hettinger | 2009-01-20 01:11:47 -0600 (Tue, 20 Jan 2009) | 11 lines Don't disrupt automatic url target name generation with manually specified, conflicting names. Before: http://docs.python.org/dev/library/collections.html#id1 After: http://docs.python.org/dev/library/collections.html#counter-objects ........ r68801 | raymond.hettinger | 2009-01-20 04:46:23 -0600 (Tue, 20 Jan 2009) | 5 lines Use Georg's new permalinks to documentation by version number. That assures that IDLE's help always points to the correct version and the latest update with all bug fixes. ........
* Blocked revisions 68807 via svnmergeBenjamin Peterson2009-01-200-0/+0
| | | | | | | | ........ r68807 | benjamin.peterson | 2009-01-20 08:31:08 -0600 (Tue, 20 Jan 2009) | 1 line backport r68802 (bugfix) ........
* Blocked revisions 68803,68805 via svnmergeBenjamin Peterson2009-01-200-0/+0
| | | | | | | | | | | | ........ r68803 | raymond.hettinger | 2009-01-20 06:59:36 -0600 (Tue, 20 Jan 2009) | 1 line Fix typos. ........ r68805 | benjamin.peterson | 2009-01-20 08:21:16 -0600 (Tue, 20 Jan 2009) | 1 line allow unicode keyword arguments for the ** syntax #4978 ........
* Fix typos.Raymond Hettinger2009-01-201-3/+3
|
* Fix typoAntoine Pitrou2009-01-201-1/+1
|
* Issue 4998: Decimal should not subclass or register with numbers.Real.Raymond Hettinger2009-01-202-6/+5
|
* Forward port r68797: Fix-up jump targets in collections docs.Raymond Hettinger2009-01-201-15/+1
|
* Blocked revisions 68789,68792 via svnmergeBenjamin Peterson2009-01-200-0/+0
| | | | | | | | | | | | | | | ........ r68789 | raymond.hettinger | 2009-01-19 19:19:26 -0600 (Mon, 19 Jan 2009) | 6 lines Build-outs for Counter() class: * Constructor and update() support keyword args (like their dict counterparts). * The 'del' statement no longer raises KeyError for missing values. * Add multiset operations: __add__, __sub__, __and__, __or__. ........ r68792 | raymond.hettinger | 2009-01-19 20:24:38 -0600 (Mon, 19 Jan 2009) | 1 line Add Counter() to __all__. ........
* Forward port r68792 and r68789 putting Counter in __all__ and adding Counter ↵Raymond Hettinger2009-01-203-14/+169
| | | | buildouts.
* Document the (very small) public API for importlib. As time goes on and someBrett Cannon2009-01-205-30/+111
| | | | key refactorings occur more of the API will be exposed and documented.
* Clarify how the specify the name of a module with the 'module' directive.Brett Cannon2009-01-201-3/+3
|
* merge r68787 to py3kJesse Noller2009-01-201-3/+1
|
* Blocked revisions 68785 via svnmergeBenjamin Peterson2009-01-190-0/+0
| | | | | | | | ........ r68785 | benjamin.peterson | 2009-01-19 15:08:37 -0600 (Mon, 19 Jan 2009) | 1 line I'm sick of these deprecations warnings in test_os ........
* Merged revisions 68779 via svnmerge fromBenjamin Peterson2009-01-193-15/+32
| | | | | | | | | | svn+ssh://pythondev@svn.python.org/python/trunk ........ r68779 | benjamin.peterson | 2009-01-19 11:37:42 -0600 (Mon, 19 Jan 2009) | 1 line make bad file descriptor tests more robust ........
* Merged revisions 68763,68773 via svnmerge fromBenjamin Peterson2009-01-192-6/+3
| | | | | | | | | | | | | | | svn+ssh://pythondev@svn.python.org/python/trunk ........ r68763 | kristjan.jonsson | 2009-01-19 07:10:27 -0600 (Mon, 19 Jan 2009) | 2 lines Issue 4957 Let os.ftruncate raise OSError like documented. ........ r68773 | benjamin.peterson | 2009-01-19 09:51:27 -0600 (Mon, 19 Jan 2009) | 1 line simplify code ........
* merge r68768 to py3kJesse Noller2009-01-194-3/+33
|
* fix compiler warningBenjamin Peterson2009-01-191-1/+1
|
* reenable the invalid fd test for fdopenBenjamin Peterson2009-01-192-1/+3
|
* Merged revisions 68755 via svnmerge fromBenjamin Peterson2009-01-192-0/+24
| | | | | | | | | | svn+ssh://pythondev@svn.python.org/python/trunk ........ r68755 | benjamin.peterson | 2009-01-18 18:08:08 -0600 (Sun, 18 Jan 2009) | 1 line raise an OSError for invalid fds #4991 ........
* Remove a debugging print statement that accidentally got left in.Brett Cannon2009-01-191-1/+0
|
* Fix a typo in some code that is not tested or supported yet.Brett Cannon2009-01-191-1/+1
| | | | Closes issue 4993. Thanks Antoine Pitrou for the catch.
* Blocked revisions 68544-68545,68597 via svnmergeBenjamin Peterson2009-01-180-0/+0
| | | | | | | | | | | | | | | | ........ r68544 | kristjan.jonsson | 2009-01-12 03:20:34 -0600 (Mon, 12 Jan 2009) | 1 line Update Misc/NEWS for issue 3582 ........ r68545 | kristjan.jonsson | 2009-01-12 03:24:04 -0600 (Mon, 12 Jan 2009) | 1 line Misc/NEWS for issue 4293 ........ r68597 | benjamin.peterson | 2009-01-13 17:43:50 -0600 (Tue, 13 Jan 2009) | 1 line fix test_xmlrpc failures #4939 ........
* Merged revisions 68546 via svnmerge fromBenjamin Peterson2009-01-181-1/+46
| | | | | | | | | | svn+ssh://pythondev@svn.python.org/python/trunk ........ r68546 | raymond.hettinger | 2009-01-12 04:37:32 -0600 (Mon, 12 Jan 2009) | 1 line Optimize heapq.nsmallest/nlargest for cases where n==1 or n>=size. ........
* Merged revisions 68633,68648,68667,68706,68718,68720-68721,68724-68727,68739 ↵Benjamin Peterson2009-01-1813-45/+48
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | via svnmerge from svn+ssh://pythondev@svn.python.org/python/trunk ........ r68633 | thomas.heller | 2009-01-16 12:53:44 -0600 (Fri, 16 Jan 2009) | 3 lines Change an example in the docs to avoid a mistake when the code is copy pasted and changed afterwards. ........ r68648 | benjamin.peterson | 2009-01-16 22:28:57 -0600 (Fri, 16 Jan 2009) | 1 line use enumerate ........ r68667 | amaury.forgeotdarc | 2009-01-17 14:18:59 -0600 (Sat, 17 Jan 2009) | 3 lines #4077: No need to append \n when calling Py_FatalError + fix a declaration to make it match the one in pythonrun.h ........ r68706 | benjamin.peterson | 2009-01-17 19:28:46 -0600 (Sat, 17 Jan 2009) | 1 line fix grammar ........ r68718 | georg.brandl | 2009-01-18 04:42:35 -0600 (Sun, 18 Jan 2009) | 1 line #4976: union() and intersection() take multiple args, but talk about "the other". ........ r68720 | georg.brandl | 2009-01-18 04:45:22 -0600 (Sun, 18 Jan 2009) | 1 line #4974: fix redundant mention of lists and tuples. ........ r68721 | georg.brandl | 2009-01-18 04:48:16 -0600 (Sun, 18 Jan 2009) | 1 line #4914: trunc is in math. ........ r68724 | georg.brandl | 2009-01-18 07:24:10 -0600 (Sun, 18 Jan 2009) | 1 line #4979: correct result range for some random functions. ........ r68725 | georg.brandl | 2009-01-18 07:47:26 -0600 (Sun, 18 Jan 2009) | 1 line #4857: fix augmented assignment target spec. ........ r68726 | georg.brandl | 2009-01-18 08:41:52 -0600 (Sun, 18 Jan 2009) | 1 line #4923: clarify what was added. ........ r68727 | georg.brandl | 2009-01-18 12:25:30 -0600 (Sun, 18 Jan 2009) | 1 line #4986: augassigns are not expressions. ........ r68739 | benjamin.peterson | 2009-01-18 15:11:38 -0600 (Sun, 18 Jan 2009) | 1 line fix test that wasn't working as expected #4990 ........
* Merged revisions 68568,68665 via svnmerge fromBenjamin Peterson2009-01-182-5/+5
| | | | | | | | | | | | | | | svn+ssh://pythondev@svn.python.org/python/trunk ........ r68568 | georg.brandl | 2009-01-13 02:11:07 -0600 (Tue, 13 Jan 2009) | 2 lines Fix call signature and markup. ........ r68665 | amaury.forgeotdarc | 2009-01-17 11:11:50 -0600 (Sat, 17 Jan 2009) | 3 lines #4930: Slightly cleaner (and faster) code in type creation: compare slots by address, not by name. ........
* merge cl r68737 to py3kJesse Noller2009-01-183-24/+13
|
* Merged revisions 68547,68607,68610,68618,68621-68622,68649,68722 via ↵Benjamin Peterson2009-01-185-35/+136
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | svnmerge from svn+ssh://pythondev@svn.python.org/python/trunk ........ r68547 | kristjan.jonsson | 2009-01-12 12:09:27 -0600 (Mon, 12 Jan 2009) | 1 line Add tests for invalid format specifiers in strftime, and for handling of invalid file descriptors in the os module. ........ r68607 | kristjan.jonsson | 2009-01-14 04:50:57 -0600 (Wed, 14 Jan 2009) | 2 lines Re-enable all tests for windows platforms. Also, explicitly connect to the IPV4 address. On windows platforms supporting AF_INET6, the SocketProxy would connect using socket.create_connection('localhost', port) which would cycle through all address families and try to connect. It would try connecting using AF_INET6 first and this would cause a delay of up to a second. ........ r68610 | kristjan.jonsson | 2009-01-15 03:09:13 -0600 (Thu, 15 Jan 2009) | 3 lines Fix recently introduced test cases. For datetime, gentoo didn't seem to mind the %e format for strftime. So, we just excercise those instead making sure that we don't crash. For test_os, two cases were incorrect. ........ r68618 | kristjan.jonsson | 2009-01-15 11:20:21 -0600 (Thu, 15 Jan 2009) | 1 line Issue 4929: Handle socket errors when receiving ........ r68621 | kristjan.jonsson | 2009-01-15 16:40:03 -0600 (Thu, 15 Jan 2009) | 1 line Fix two test cases in test_os. ftruncate raises IOError unlike all the others which raise OSError. And close() on some platforms doesn't complain when given an invalid file descriptor. ........ r68622 | kristjan.jonsson | 2009-01-15 16:46:26 -0600 (Thu, 15 Jan 2009) | 1 line Make all the invalid fd tests for os subject to the function being available. ........ r68649 | benjamin.peterson | 2009-01-16 22:39:05 -0600 (Fri, 16 Jan 2009) | 1 line trying to find some fpathconf() settings that all unixs support... ........ r68722 | kristjan.jonsson | 2009-01-18 04:58:44 -0600 (Sun, 18 Jan 2009) | 1 line issue 4293: make test_capi.py more robutst, it times out on some platforms, presumably waiting for threads. Lower the thread count to 16. ........
* Issue #4815: Offer conversion to UTF-8 if source files haveMartin v. Löwis2009-01-182-12/+31
| | | | no encoding declaration and are not encoded in UTF-8.
* Issue #4008: Fix problems with non-ASCII source files.Martin v. Löwis2009-01-183-12/+21
|
* Correct issue number for 68728 checkinJesse Noller2009-01-181-1/+1
|
* Issues #10867: remove old cPickle imports from multiprocessingJesse Noller2009-01-183-10/+5
|
* #4975: fix bytes/str issue.Georg Brandl2009-01-181-1/+1
|
* #4983: clarify what "byte sequence" is.Georg Brandl2009-01-181-5/+6
|
* #4984: fix number of types.Georg Brandl2009-01-181-1/+1
|
* Tests of case-sensitivity were being executed on OSs which did not have aBrett Cannon2009-01-183-4/+13
| | | | | | case-insensitive file system, leading to test failures. This was due to using the TestCase objects directly instead of the guard in the test_main() function. Move over to a class decorator instead to control if the tests should be run.