Commit graph

43198 commits

Author SHA1 Message Date
Nadeem Vawda
7b39b9b51b Issue #13898: test_ssl no longer prints a spurious stack trace on Ubuntu. 2013-03-03 22:31:21 +01:00
Ezio Melotti
04a29554c1 #17032: The "global" in the "NameError: global name 'x' is not defined" error message has been removed. Patch by Ram Rachum. 2013-03-03 15:12:44 +02:00
Mark Dickinson
7cac1c25a1 Issue #16445: Fix potential segmentation fault when deleting an exception message. 2013-03-03 11:13:34 +00:00
Ezio Melotti
ee71f4a8a4 #17334: merge with 3.3. 2013-03-02 14:48:01 +02:00
Ezio Melotti
bce9a5d5cd #17334: test_index now works with unittest test discovery. Patch by Zachary Ware. 2013-03-02 14:47:07 +02:00
Ezio Melotti
5c67e22145 #17333: merge with 3.3. 2013-03-02 14:33:05 +02:00
Ezio Melotti
02bf701b25 #17333: test_imaplib now works with unittest test discovery. Patch by Zachary Ware. 2013-03-02 14:25:56 +02:00
Raymond Hettinger
a35e281200 Merge 2013-03-01 23:51:26 -08:00
Raymond Hettinger
4f4ba16677 Issue #17331: Use isidentifier() instead of isalnum() to check for valid identifiers. 2013-03-01 23:43:48 -08:00
Raymond Hettinger
794568f0ad Merge 2013-03-01 23:21:00 -08:00
Raymond Hettinger
409f663091 Remove dependency on dummy_threading (to solve a bootstrap problem). 2013-03-01 23:20:13 -08:00
Ezio Melotti
4b843a7492 #17312: unlink a file that test_aifc was leaving around. 2013-03-01 21:10:26 +02:00
Ezio Melotti
dc99e0d396 #17315: merge with 3.3. 2013-03-01 21:00:48 +02:00
Ezio Melotti
7b3e571c16 #17315: merge with 3.2. 2013-03-01 21:00:05 +02:00
Ezio Melotti
136726c59f #17315: unlink a file that test_posixpath was leaving around. 2013-03-01 20:59:17 +02:00
Ezio Melotti
c86e866b98 #17315: unlink a file that test_posixpath was leaving around. 2013-03-01 20:56:13 +02:00
Ezio Melotti
fbd26867ef #16935: update test_crypt now that unittest discover understands SkipTest. 2013-03-01 14:53:45 +02:00
Ezio Melotti
eae2b38948 #16935: unittest now counts the module as skipped if it raises SkipTest, instead of counting it as an error. Patch by Zachary Ware. 2013-03-01 14:47:50 +02:00
Raymond Hettinger
dacb6858e8 Merge 2013-03-01 03:48:30 -08:00
Raymond Hettinger
fd54117a68 Don't deadlock on a reentrant call. 2013-03-01 03:47:57 -08:00
Ezio Melotti
c0b64663d9 #17082: merge with 3.3. 2013-03-01 11:24:42 +02:00
Ezio Melotti
f79493bf9e #17082: test_dbm* now work with unittest test discovery. Patch by Zachary Ware. 2013-03-01 11:23:28 +02:00
Ezio Melotti
6cc46d35f1 #17079: merge with 3.3. 2013-03-01 10:56:35 +02:00
Ezio Melotti
520378f81d #17079: test_ctypes now works with unittest test discovery. Patch by Zachary Ware. 2013-03-01 10:55:17 +02:00
Vinay Sajip
f9e9754c47 Closes #17313: Deleted test file created by test_logging. 2013-02-27 23:33:52 +00:00
Chris Jerdonek
517e925614 Issue #17283: Share code between __main__.py and regrtest.py in Lib/test.
This commit also removes TESTCWD from regrtest.py's global namespace.
2013-02-27 09:02:53 -08:00
R David Murray
1cb0cb2fcd #17296: backport fix for issue 1692335, naive exception pickling. 2013-02-27 08:57:09 -05:00
Ezio Melotti
e1569e550c #17304: merge with 3.3. 2013-02-27 10:09:46 +02:00
Ezio Melotti
e601fb0691 #17304: test_hash now works with unittest test discovery. Patch by Zachary Ware. 2013-02-27 10:09:12 +02:00
Ezio Melotti
28050255cc #17303: merge with 3.3. 2013-02-27 10:01:06 +02:00
Ezio Melotti
1ed6be3793 #17303: test_future* now work with unittest test discovery. Patch by Zachary Ware. 2013-02-27 10:00:03 +02:00
Victor Stinner
742c5961dd (Merge 3.3) Issue #17223: Fix test_array on Windows (16-bit wchar_t/Py_UNICODE) 2013-02-26 22:52:25 +01:00
Victor Stinner
c472c5d7bd Issue #17223: Fix test_array on Windows (16-bit wchar_t/Py_UNICODE) 2013-02-26 22:52:11 +01:00
Petri Lehtinen
e55aa69efc Issue #14720: Enhance sqlite3 microsecond conversion, document its behavior 2013-02-26 21:46:12 +02:00
Petri Lehtinen
6401ad66a7 Issue #14720: Enhance sqlite3 microsecond conversion, document its behavior 2013-02-26 21:45:09 +02:00
Petri Lehtinen
5f79409889 Issue #14720: Enhance sqlite3 microsecond conversion, document its behavior 2013-02-26 21:38:17 +02:00
Petri Lehtinen
e41a4634c9 Issue #14720: Enhance sqlite3 microsecond conversion, document its behavior 2013-02-26 21:34:33 +02:00
Eli Bendersky
b26545e7b4 Some cosmetic changes 2013-02-26 05:54:04 -08:00
Eli Bendersky
236870439c Some cosmetic changes 2013-02-26 05:53:23 -08:00
Richard Oudkerk
0320025f17 Merge 2013-02-26 13:11:11 +00:00
Richard Oudkerk
5b8a3242c4 Merge 2013-02-26 13:00:15 +00:00
Richard Oudkerk
7aaa1ef858 Issue #17018: Make Process.join() retry if os.waitpid() fails with EINTR. 2013-02-26 12:39:57 +00:00
Richard Oudkerk
ba48264bce Issue #17018: Make Process.join() retry if os.waitpid() fails with EINTR. 2013-02-26 12:37:07 +00:00
Victor Stinner
25c3053a4f (Merge 3.3) Issue #17223: array module: Fix a crasher when converting an array
containing invalid characters (outside range [U+0000; U+10ffff]) to Unicode:
repr(array), str(array) and array.tounicode(). Patch written by Manuel Jacob.
2013-02-26 00:27:56 +01:00
Victor Stinner
29ec595c6a Issue #17223: array module: Fix a crasher when converting an array containing
invalid characters (outside range [U+0000; U+10ffff]) to Unicode: repr(array),
str(array) and array.tounicode(). Patch written by Manuel Jacob.
2013-02-26 00:27:38 +01:00
Brett Cannon
c190389834 Issue #17220: two fixes for changeset 2528e4aea338.
First, because the mtime can exceed 4 bytes, make sure to mask it down to 4
bytes before getting its little-endian representation for writing out to a .pyc
file.

Two, cap an rsplit() call to 1 split, else can lead to too many values being
returned for unpacking.
2013-02-25 17:10:11 -05:00
Serhiy Storchaka
91d0ca72de Issue #15083: Convert ElementTree doctests to unittests. 2013-02-25 17:21:42 +02:00
Serhiy Storchaka
f8cf59e8aa Issue #15083: Convert ElementTree doctests to unittests. 2013-02-25 17:20:59 +02:00
Serhiy Storchaka
39e47f94ec Issue #17220: Little cleanup of _bootstrap.py. 2013-02-25 15:40:33 +02:00
Serhiy Storchaka
bd9b56162b Issue #1470548: Add test for fragment producing with XMLGenerator. 2013-02-25 13:47:20 +02:00