Éric Araujo
2bad92d310
Remove obsolete/duplicate docstring
2011-04-24 17:10:30 +02:00
Éric Araujo
5348b63a91
Branch merge
2011-04-24 02:34:11 +02:00
Éric Araujo
de579d4359
Add a space to make json doc a bit more readable
2011-04-21 02:37:41 +02:00
Raymond Hettinger
fc330aeb6f
Minor text rearrangement.
2011-04-20 13:03:49 -07: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
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
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
Raymond Hettinger
1c746c28f3
Fix minor subclassing issue with collections.Counter
2011-04-15 13:16:46 -07: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
Senthil Kumaran
2d2ea1b431
Fix Issue11474 - fix url2pathname() handling of '/C|/' on Windows
2011-04-14 13:16:30 +08: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
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
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
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
Ned Deily
517ac72b00
Issue #9670 : Increase the default stack size for secondary threads on
...
Mac OS X and FreeBSD to reduce the chances of a crash instead of a
"maximum recursion depth" RuntimeError exception.
(Patch by Ronald Oussoren)
2011-04-09 12:32:12 -07:00
Ross Lagerwall
e620d10701
Issue #11719 : Fix message about unexpected test_msilib skip.
...
Patch by Nadeem Vawda.
2011-04-09 19:30:03 +02:00
R David Murray
e1292a25d8
#11492 : fix header truncation on folding when there are runs of split chars.
...
Not a complete fix for this issue.
2011-04-07 20:54:03 -04:00
R David Murray
7da4db118e
Improve test coverage of _split_ascii method.
2011-04-07 20:37:17 -04:00
Senthil Kumaran
8f377a3bbe
Issue #10762 : Guard against invalid/non-supported format string '%f' on Windows. Patch Santoso Wijaya.
2011-04-06 12:54:06 +08:00
Antoine Pitrou
c824e9a713
Try to fix sporadic test_multiprocessing failure
2011-04-05 18:11:33 +02:00
Ross Lagerwall
4f61b02520
Issue #10963 : Ensure that subprocess.communicate() never raises EPIPE.
2011-04-05 15:34:00 +02:00
Antoine Pitrou
45fdb457da
Try to fix sporadic failure in test_thread/test_threading
2011-04-04 21:59:09 +02:00
Antoine Pitrou
b35f29a0e0
Issue #11761 : make tests for gc.get_count() less fragile
2011-04-04 19:50:42 +02:00
Kristjan Valur Jonsson
d05595697d
Merge 3.1
2011-03-30 11:54:13 +00:00
Kristjan Valur Jonsson
35722a9376
Bugfix: Properly test for errors from PyLong_AsLong() in itertools.cycle.
...
ti can raise an exception even if PyLong_Check() has
succeeded.
2011-03-30 11:04:28 +00:00
Guido van Rossum
acb63092b7
Merge issue 11662.
2011-03-29 12:55:41 -07:00
guido@google.com
a119df91f3
Issue 11662: Fix vulnerability in urllib/urllib2.
...
(This version is a cleaned-up backport of a fix by Senthil Kumaran.)
2011-03-29 11:41:02 -07:00
Martin v. Löwis
f8d887e0d3
Closes #11696 : Fix ID generation in msilib.
...
Patch by Mark Mc Mahon.
2011-03-27 21:05:51 +02:00
Mark Dickinson
92b60d55d9
Issue #9696 : Fix exception incorrectly raised by xdrlib.Packer.pack_int when trying to pack a negative (in-range) integer.
2011-03-27 16:25:40 +01:00
Martin v. Löwis
9bad3a99dd
Fix short file name generation in bdist_msi.
...
Patch by Christoph Gohlke.
Closes #7639 .
2011-03-27 10:12:07 +02:00