Commit Graph

17859 Commits

Author SHA1 Message Date
R David Murray
a436e713b6 #8158: add missing 'description' description to optparse docstring. 2011-05-04 21:05:52 -04:00
Victor Stinner
28a8e96378 Issue #11277: oops, fix checksum values of test_zlib on 32 bits 2011-05-04 21:40:36 +02:00
Victor Stinner
7fd90c403d Issue #11277: test_zlib tests a buffer of 1 GB on 32 bits
(instead of a buffer of 2 GB)
2011-05-04 21:27:39 +02:00
Ezio Melotti
6fa0947285 #11985: update docstring of platform.python_implementation. 2011-05-04 18:37:50 +03:00
Victor Stinner
fb5d3e75bb Issue #11277: fix issue number in a test_zlib comment 2011-05-04 14:02:11 +02:00
Ezio Melotti
df8a8f768d #11982: fix json.loads('""') to return u'' rather than ''. 2011-05-04 14:40:53 +03:00
Victor Stinner
e4163e2c8d Issue #10276: Fix test_zlib, m may be undefined in the finally block 2011-05-03 17:25:28 +02:00
Victor Stinner
f9fb43492c Issue #10276: test_zlib checks that inputs of 2 GB are handled correctly by
crc32() and adler32(). Patch written by Steffen Daode Nurpmeso.
2011-05-03 15:19:23 +02:00
Victor Stinner
0a92d1849e Issue #8651: PyArg_Parse*() functions raise an OverflowError if the file
doesn't have PY_SSIZE_T_CLEAN define and the size doesn't fit in an int (length
bigger than 2^31-1 bytes).
2011-05-03 15:09:24 +02:00
Éric Araujo
cfa8483051 Branch merge 2011-05-02 13:36:18 +02:00
Victor Stinner
e363ec1057 (Merge 3.1) Issue #9756: When calling a method descriptor or a slot wrapper
descriptor, the check of the object type doesn't read the __class__ attribute
anymore.  Fix a crash if a class override its __class__ attribute (e.g. a proxy
of the str type).
2011-05-01 23:43:37 +02:00
Éric Araujo
a27c8e3746 Branch merge 2011-05-01 02:09:37 +02:00
Éric Araujo
d6dcf8263a Add docstring to anydbm.open 2011-05-01 02:02:30 +02:00
Éric Araujo
015014ff63 Fix file handle leak 2011-05-01 02:05:58 +02:00
Brian Curtin
20de4586e6 whitespace fix 2011-04-29 16:28:52 -05:00
Brian Curtin
77b75910b7 merge 2011-04-29 16:21:51 -05:00
Senthil Kumaran
f3eb7d3454 skip the extractall test on platforms where os.symlink is not available. 2011-04-28 17:00:19 +08:00
Senthil Kumaran
011525ee92 Fix closes issue10761: tarfile.extractall failure when symlinked files are present. 2011-04-28 15:30:31 +08:00
Ezio Melotti
bdfa2e69e2 Backport test from #11926. 2011-04-28 07:59:33 +03:00
Ezio Melotti
34b32d62f8 #11763: don't use difflib in TestCase.assertMultiLineEqual if the strings are too long. 2011-04-27 09:45:46 +03:00
Senthil Kumaran
83627ed6d5 issue11236 getpass.getpass to respond ctrl-c or ctrl-z 2011-04-26 21:02:26 +08:00
Ezio Melotti
e3685f6b1b #6780: fix starts/endswith error message to mention that tuples are accepted too. 2011-04-26 05:12:51 +03:00
Raymond Hettinger
3f2b18495b Other minor clean-ups. 2011-04-24 12:55:28 -07:00
Raymond Hettinger
c646743d02 Remove unused branch in the clear() method. Minor comment edits. 2011-04-24 12:30:39 -07:00
Raymond Hettinger
536999c697 Minor code clean-up. 2011-04-23 20:11:50 -07:00