Commit Graph

48070 Commits

Author SHA1 Message Date
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
Ezio Melotti 2409d770d9 Fix a few more hyphens in argparse.rst 2011-04-16 23:13:50 +03:00
Antoine Pitrou f25a8de845 Issue #11790: Fix sporadic failures in test_multiprocessing.WithProcessesTestCondition. 2011-04-16 21:02:01 +02:00
Antoine Pitrou ee4293400c Fix possible "file already exists" error when running the tests in parallel.
This is a perfect example of LBYL going wrong: that code could be executed
by several workers in parallel, and os.mkdir() attempted on the same
path by multiple processes.
2011-04-16 18:53:59 +02:00
Georg Brandl 340d2690b3 Small wording fix. 2011-04-16 16:54:15 +02:00
Georg Brandl 1d827ff43d Consistency fix: "command line" is the noun, "command-line" the adjective. 2011-04-16 16:44:54 +02:00
Georg Brandl ab8d93c03a Backport 8a9f8f34d9d5. 2011-04-16 17:05:30 +02:00
Georg Brandl 10fe23b495 Merge with 3.1 2011-04-16 16:59:32 +02:00
R David Murray a2860e8b51 Improve message.py test coverage to 100%.
coverage.py reports 99% on branch coverage, but that appears to be
a bug or limitation in coverage.py.
2011-04-16 09:20:30 -04:00
Eli Bendersky 3384e54c23 Issue #11855: merge from 3.1 2011-04-16 15:34:29 +03:00
Eli Bendersky 219cc776f6 Issue #11855: Apply missing formatting for urlretrieve 2011-04-16 15:32:13 +03:00
Raymond Hettinger f05c1394fe merge 2011-04-15 17:43:57 -07:00
Raymond Hettinger 7bba683d27 Add another example to the collections module docs. 2011-04-15 17:43:19 -07:00
Vinay Sajip e723e96103 Issue #11852: Add missing imports and update tests. 2011-04-15 22:27:17 +01:00
Raymond Hettinger 6c9e5b779f Fix minor subclassing issue with collections.Counter 2011-04-15 13:21:30 -07:00
Raymond Hettinger 1c746c28f3 Fix minor subclassing issue with collections.Counter 2011-04-15 13:16:46 -07:00
Ezio Melotti 8881868e08 #11843: Merge with 3.1. 2011-04-15 18:07:38 +03:00
Ezio Melotti 181810b5fe #11843: remove duplicate line from table in distutil doc. 2011-04-15 18:05:09 +03:00
Ezio Melotti 71e84a6e27 #5057: Merge with 3.1. 2011-04-15 16:50:41 +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 b4bd4af8c4 merge from 3.1 2011-04-15 18:21:26 +08: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 82b0d5d144 #11848: Merge with 3.1. 2011-04-15 08:27:00 +03:00
Ezio Melotti 20f53f1fe7 #11848: replace dead link in random.betavariate comment. 2011-04-15 08:25:16 +03:00
Ezio Melotti 982ef4e0bc #11845: Fix typo in rangeobject.c that caused a crash in compute_slice_indices. Patch by Daniel Urban. 2011-04-15 08:15:40 +03:00
Ezio Melotti 34d204bc85 #4783: Merge with 3.1. 2011-04-15 07:39:08 +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 d211231cd5 merge from 3.1 2011-04-15 07:26:28 +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 56f1e2d875 merge from 3.1 2011-04-14 13:18:55 +08:00
Senthil Kumaran 2d2ea1b431 Fix Issue11474 - fix url2pathname() handling of '/C|/' on Windows 2011-04-14 13:16:30 +08:00
Ezio Melotti c1f0577b54 #11840: Merge with 3.1. 2011-04-14 07:50:25 +03:00
Ezio Melotti 95cd91c17f #11840: Improve c-api/unicode documentation. Patch by Sandro Tosi. 2011-04-14 07:43:53 +03:00
Ezio Melotti eb22db0f53 Dummy merge with 3.1. 2011-04-14 06:48:34 +03:00
Ezio Melotti 832c8bbe51 #9101: backport json reference in configparser doc. 2011-04-14 06:41:38 +03:00
Brian Curtin 8e4f4feb62 Merge 3.1 2011-04-13 16:11:37 -05:00
Brian Curtin b4fb909c86 Remove inexistent tools 2011-04-13 16:04:27 -05:00
Raymond Hettinger 8a9c4d9866 Issue 3051: make pure python code pass the same tests as the C version. 2011-04-13 11:49:57 -07:00
R David Murray 5864c9f26c Merge: 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:59 -04: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 a3d0be456c Merge with 3.1. 2011-04-13 16:44:18 +03:00
Ezio Melotti ce073cdac7 Fix typo in docstring. 2011-04-13 16:43:21 +03:00
Ezio Melotti 04c6423fba Merge with 3.1. 2011-04-13 07:18:24 +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
Alexander Belopolsky 1a20c121ef Issue #11830: Remove unnecessary introspection code in the decimal module.
Forward ported changesets b4b1f557d563 and f4adc2926bf5 by Raymond
Hettinger in branch '2.7'.
2011-04-12 23:03:39 -04:00
Raymond Hettinger 2df393cc51 Fix nit. 2011-04-12 18:57:55 -07:00
Senthil Kumaran c90d02c917 merge from push conflict. 2011-04-13 09:39:35 +08:00