Commit Graph

41848 Commits

Author SHA1 Message Date
Jesus Cea 1d4ae84e53 Up-port changeset 5cf8f6da8743 (closes #11890) 2011-04-20 20:24:57 +02:00
Éric Araujo 5c1a0c969d Fix argument name in reST doc to match the code 2011-04-20 19:11:12 +02:00
Éric Araujo ad0790e573 Branch merge 2011-04-20 18:54:12 +02:00
Éric Araujo f8e1b60799 Add docstring to dbm.open 2011-04-20 18:52:55 +02:00
Jesus Cea ac4515063c startswith and endswith don't accept None as slice index. Patch by Torsten Becker. (closes #11828) 2011-04-20 17:09:23 +02:00
Raymond Hettinger d07eaf177c Issue #11875: Alter the previous fix to work better with subclasses 2011-04-19 17:17:23 -07:00
Ezio Melotti 8dfcab0885 Fix wrong number of functions noticed by Sandro Tosi. 2011-04-19 23:15:13 +03:00
Raymond Hettinger 111474452d merge 2011-04-19 11:12:47 -07:00
Raymond Hettinger ab69438046 Hmm, __ne__ was missing 2011-04-19 10:05:53 -07:00
Raymond Hettinger d08a2c2576 Issue 11875: Keep OrderedDict's __reduce__ from temporarily mutating the object. 2011-04-19 10:05:03 -07:00
Nadeem Vawda 58de6ee871 Fix sporadic failure in test_startfile.
Wait for the child process to terminate before ending the test, so that the
regrtest cleanup code doesn't get an error when it tries to delete the
temporary CWD.
2011-04-19 01:38:47 +02:00
Victor Stinner 6c9b35bfe2 Issue #11768: The signal handler of the signal module only calls
Py_AddPendingCall() for the first signal to fix a deadlock on reentrant or
parallel calls. PyErr_SetInterrupt() writes also into the wake up file.
2011-04-18 16:25:56 +02:00
Ezio Melotti 340bb95ffd #11865: fix typo in init.rst. 2011-04-18 10:11:21 +03:00
Raymond Hettinger 2876a8c272 Rework multiset methods to use less memory and to make fewer calls to __hash__. 2011-04-17 19:46:46 -07:00
Éric Araujo dcb22a3936 Fix resource warning found manually 2011-04-17 14:27:07 +02:00
Éric Araujo a0b3c32c7a Advertise nesting directives for class/method and class/data combos.
Also fix a typo and a misleading example (method used to describe function).
2011-04-16 23:47:53 +02:00
Georg Brandl 340d2690b3 Small wording fix. 2011-04-16 16:54:15 +02:00
Eli Bendersky 219cc776f6 Issue #11855: Apply missing formatting for urlretrieve 2011-04-16 15:32:13 +03:00
Raymond Hettinger 7bba683d27 Add another example to the collections module docs. 2011-04-15 17:43:19 -07:00
Raymond Hettinger 1c746c28f3 Fix minor subclassing issue with collections.Counter 2011-04-15 13:16:46 -07:00
Ezio Melotti 181810b5fe #11843: remove duplicate line from table in distutil doc. 2011-04-15 18:05:09 +03:00
Ezio Melotti 2df6a93916 Issue #5057: fix a bug in the peepholer that led to non-portable pyc files between narrow and wide builds while optimizing BINARY_SUBSCR on non-BMP chars (e.g. "\U00012345"[0]). 2011-04-15 16:38:34 +03:00
Senthil Kumaran 397eb4411a Issue #11467: Fix urlparse behavior when handling urls which contains scheme specific part only digits. 2011-04-15 18:20:24 +08:00
Ezio Melotti 20f53f1fe7 #11848: replace dead link in random.betavariate comment. 2011-04-15 08:25:16 +03:00
Ezio Melotti 60adf95955 #4783: document that is not possible to use json.dump twice on the same stream. 2011-04-15 07:37:00 +03:00
Eli Bendersky 046a764bb2 Issue #11827: remove mention of list2cmdline in the doc of subprocess 2011-04-15 07:23:26 +03:00
Senthil Kumaran 2d2ea1b431 Fix Issue11474 - fix url2pathname() handling of '/C|/' on Windows 2011-04-14 13:16:30 +08:00
Ezio Melotti 95cd91c17f #11840: Improve c-api/unicode documentation. Patch by Sandro Tosi. 2011-04-14 07:43:53 +03:00
Ezio Melotti 832c8bbe51 #9101: backport json reference in configparser doc. 2011-04-14 06:41:38 +03:00
Éric Araujo 691840f218 Fix improper tests in RegisterTestCase 2011-04-14 03:49:19 +02:00
Éric Araujo 395ba35a92 Minor tweaks to a few comments in heapq 2011-04-15 23:34:31 +02:00
Brian Curtin b4fb909c86 Remove inexistent tools 2011-04-13 16:04:27 -05:00
R David Murray e0fd2f880e Fix wording and clarify that the IDNA codec operates on full domain names.
Before reading the code to check, I wasn't sure if it operated on
full domain names or just individual labels.
2011-04-13 14:12:18 -04:00
Ezio Melotti ce073cdac7 Fix typo in docstring. 2011-04-13 16:43:21 +03:00
Ezio Melotti d210aa1ad9 #9233: Fix json.loads({}) to return a dict (instead of a list), when _json is not available. 2011-04-13 07:10:13 +03:00
Ezio Melotti 42368f9b0c Remove unnecessary imports and use assertIs instead of assertTrue. 2011-04-13 07:08:17 +03:00
Ezio Melotti c753305180 #9233: Fix json to work properly even when _json is not available. 2011-04-13 07:04:18 +03:00
Ezio Melotti 4f95a52fe2 #9233: skip _json-specific tests when _json is not available. 2011-04-13 06:58:29 +03:00
Senthil Kumaran a8b0f9adfe Merge updates 2011-04-13 09:35:37 +08:00
Senthil Kumaran 60f02a650e Update the News for the fix to Issue11703. 2011-04-13 09:21:01 +08:00
R David Murray 3dd02d62c9 #10019: Fix regression relative to 2.6: add newlines if indent=0
Patch by Amaury Forgeot d'Arc, updated by Sando Tosi.
2011-04-12 21:02:45 -04:00
Benjamin Peterson abdeeff3d1 merge heads 2011-04-12 18:34:06 -05:00
Benjamin Peterson bd3e362089 make assigning to a bytes literal a syntax error (closes #11506) 2011-04-12 18:33:28 -05:00
Senthil Kumaran 2643041970 Fix Issue11703 - urllib2.geturl() does not return correct url when the original url contains #fragment. Patch Contribution by Santoso Wijaya. 2011-04-13 07:01:19 +08:00
Raymond Hettinger 3780542039 Issue 11747: Fix output format for context diffs. 2011-04-12 15:14:12 -07:00
R David Murray 308f14aeae Add maxlinelen to docstring, delete obsolete wording 2011-04-12 15:00:44 -04:00
Brian Curtin 84c209a1ef Correct leading spaces in my NEWS entry. 2011-04-11 18:35:18 -05:00
brian.curtin 628f980635 Add NEWS item for #5162. 2011-04-11 18:09:24 -05:00
brian.curtin e2f299845d Fix #5162. Allow child spawning from Windows services (via pywin32). 2011-04-11 17:56:23 -05:00
Ned Deily 45e47e58ed Issue9670: Back out changeset 378b40d71175; test fails on other platforms
and on OS X with pydebug.
2011-04-09 14:50:59 -07:00