Commit graph

8395 commits

Author SHA1 Message Date
Martin v. Löwis
591c2dfa42 Issue 11164: Remove obsolete allnodes test from minidom test.
Patch by Arfrever Frehtes Taifersar Arahesis.
2011-05-09 08:19:13 +02:00
Ezio Melotti
5c5d7e2511 #11910: Fix test_heapq to skip the C tests when _heapq is missing. 2011-05-09 06:54:53 +03:00
Ezio Melotti
193c34ba86 #11910: change import_fresh_module to return None when one of the "fresh" modules can not be imported. 2011-05-09 06:28:42 +03:00
Benjamin Peterson
01c9a16031 import_fresh_module ought to be in __all__ 2011-05-08 15:32:04 -05:00
Raymond Hettinger
1bd816e58e Fix cut and paste error. 2011-05-07 15:19:34 -07:00
Raymond Hettinger
8dd0624660 Some tests were incorrectly marked as C specific. 2011-05-07 14:16:42 -07:00
Antoine Pitrou
21ce8f0d66 Issue #11927: SMTP_SSL now uses port 465 by default as documented. Patch by Kasun Herath. 2011-05-07 19:59:33 +02:00
Ezio Melotti
0639be6505 #10169: Fix argument parsing in socket.sendto() to avoid error masking. 2011-05-07 19:21:22 +03:00
Nadeem Vawda
5ae6c42f52 Fix potential resource leak in test_mmap. 2011-05-07 14:34:22 +02:00
Nadeem Vawda
d0a8f16031 Issue #11277: Fix tests - crash will not trigger if the file is closed and reopened. 2011-05-07 14:12:12 +02:00
Nadeem Vawda
0d837ef2a5 Issue #11277: Add tests for mmap crash when using large sparse files on OS X.
Also, reduce code duplication in LargeMmapTests.

Original patch by Steffen Daode Nurpmeso.
2011-05-07 13:17:16 +02:00
Nadeem Vawda
3b066a7e82 Issue #11277: Remove useless test from test_zlib. 2011-05-07 11:28:03 +02:00
R David Murray
8b26c4b8ea #11999: sync based on comparing mtimes, not mtime to system clock 2011-05-06 21:56:22 -04:00
Ronald Oussoren
58d6b1b7a4 Backport fix for issue #10684 from 3.x 2011-05-06 11:31:33 +02: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
Victor Stinner
fb5d3e75bb Issue #11277: fix issue number in a test_zlib comment 2011-05-04 14:02:11 +02: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
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
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
e3685f6b1b #6780: fix starts/endswith error message to mention that tuples are accepted too. 2011-04-26 05:12:51 +03:00
Jesus Cea
44e81687a2 startswith and endswith don't accept None as slice index. Patch by Torsten Becker. (closes #11828) 2011-04-20 16:39:15 +02:00
Brian Curtin
0d65433568 Fix #8886. Use context managers throughout zipfile tests.
This was fixed in py3k SVN. Consider this a backport.
2011-04-19 21:15:55 -05:00
Nadeem Vawda
bafc6a9fca 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:35:58 +02:00
Raymond Hettinger
37c0fe56b9 Fix minor subclassing issue with collections.Counter 2011-04-15 13:12:21 -07:00
Ezio Melotti
c283a85e12 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. u"\U00012345"[0]). 2011-04-15 16:14:04 +03:00
Senthil Kumaran
ddaea1c38a Issue #11467: Fix urlparse behavior when handling urls which contains scheme
specific part only digits. Patch by Santoso Wijaya.
2011-04-15 18:07:33 +08:00
Senthil Kumaran
a99b761972 Fix Issue11474 - url2pathname() handling of '/C|/' on Windows 2011-04-14 12:54:35 +08:00
Raymond Hettinger
9b342c6fd4 Issue 3051: make pure python code pass the same tests as the C version. 2011-04-13 11:15:58 -07:00
Senthil Kumaran
49c440877e Fix Issue11703 - urllib2.get_url does not handle fragment in url properly. 2011-04-13 07:31:45 +08:00
Raymond Hettinger
7c9d34722d Issue 11747: Fix output format for context diffs. 2011-04-12 15:48:25 -07:00
Ezio Melotti
8b4367ec10 #4877: Fix a segfault in xml.parsers.expat while attempting to parse a closed file. 2011-04-11 03:44:28 +03:00
Ned Deily
04cb72f968 Issue9670: Back out changeset b0d2b696da19; test fails on other platforms
and on OS X with pydebug.
2011-04-09 14:59:30 -07:00
Ned Deily
e427f0f432 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:29:58 -07:00
Ross Lagerwall
fe2f1ad5b5 Issue #11719: Fix message about unexpected test_msilib skip.
Patch by Nadeem Vawda.
2011-04-09 20:39:50 +02:00
Antoine Pitrou
c2b0d76bf3 Issue #11766: increase countdown waiting for a pool of processes to start
up.  Hopefully fixes transient buildbot failures.
2011-04-06 22:54:14 +02:00
Senthil Kumaran
bb4e470dcd hg pull/merge - Changes to accomodate. 2011-04-06 14:41:42 +08:00
Senthil Kumaran
792eb5dc84 Issue #10762: Guard against invalid/non-supported format string '%f' on Windows. Patch Santoso Wijaya. 2011-04-06 14:27:47 +08:00
Alexander Belopolsky
07019bcaab Issue #11576: Fixed timedelta subtraction glitch on big timedelta values 2011-04-05 22:12:22 -04:00
Ned Deily
5f511826c2 Issue #7108: Fix test_commands to not fail when special attributes ('@'
or '.') appear in 'ls -l' output.
2011-04-05 17:16:09 -07:00
Ezio Melotti
9f1ffb2ae9 #7311: fix HTMLParser to accept non-ASCII attribute values. 2011-04-05 20:40:52 +03:00
Ross Lagerwall
104c3f1020 Issue #10963: Ensure that subprocess.communicate() never raises EPIPE. 2011-04-05 15:24:34 +02:00
Steven Bethard
e3c11b44e3 Issue #9347: Fix formatting for tuples in argparse type= error messages. 2011-04-04 01:47:52 +02:00
Guido van Rossum
b885a5bbc8 Merge cleanup. 2011-03-29 13:04:24 -07:00
Guido van Rossum
07ef62c47c Merge issue 11662 from 2.6. 2011-03-29 12:53:55 -07:00
Guido van Rossum
079381d236 Merge issue 11662 from 2.5. 2011-03-29 12:51:16 -07:00