Ezio Melotti
296069301a
#17346 : merge with 3.2.
2013-03-04 15:19:02 +02:00
Ezio Melotti
aaef34483c
#17346 : make sure pickle tests are run against all protocols. Initial patch by Marius Gedminas.
2013-03-04 15:17:56 +02:00
Raymond Hettinger
352cc8cfc3
Another nit.
2013-03-04 04:19:09 -05:00
Raymond Hettinger
f2c17a9276
Fix other re-entrancy nits for the lru_cache.
...
Keep references for oldkey and oldvalue so they can't
trigger a __del__ method to reenter our thread.
Move the cache[key]=link step to the end, after the link
data is in a consistent state.
Under exotic circumstances, the cache[key]=link step could
trigger reentrancy (i.e. the key would have to have a hash
exactly equal to that for another key in the cache and the
key would need a __eq__ method that makes a reentrant call
our cached function).
2013-03-04 03:34:09 -05:00
Raymond Hettinger
0392342673
Add test for RLock in the lru_cache().
2013-03-04 02:52:50 -05:00
Nadeem Vawda
ad246bfb71
Issue #13898 : test_ssl no longer prints a spurious stack trace on Ubuntu.
2013-03-03 22:44:22 +01:00
Nadeem Vawda
7b39b9b51b
Issue #13898 : test_ssl no longer prints a spurious stack trace on Ubuntu.
2013-03-03 22:31:21 +01:00
Gregory P. Smith
255bf5b9ec
Issue #16962 : Use getdents64 instead of the obsolete getdents syscall in
...
the subprocess module on Linux.
2013-03-03 10:45:05 -08: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
02bf701b25
#17333 : test_imaplib now works with unittest test discovery. Patch by Zachary Ware.
2013-03-02 14:25:56 +02: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
409f663091
Remove dependency on dummy_threading (to solve a bootstrap problem).
2013-03-01 23:20:13 -08:00
Ezio Melotti
aba4581ce3
Merge markup fixes in unittest doc from 3.2.
2013-03-01 21:28:06 +02:00
Ezio Melotti
fed69ba63c
Fix markup in unittest doc.
2013-03-01 21:26:04 +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
Raymond Hettinger
fd54117a68
Don't deadlock on a reentrant call.
2013-03-01 03:47:57 -08:00
Raymond Hettinger
faaba59977
Regex should be a raw string
2013-03-01 03:30:20 -08: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
520378f81d
#17079 : test_ctypes now works with unittest test discovery. Patch by Zachary Ware.
2013-03-01 10:55:17 +02:00
Ezio Melotti
4b231a7d12
Merge link addition from 3.2.
2013-02-28 18:03:16 +02:00
Ezio Melotti
c6641dbf58
Add a link to the demo dir.
2013-02-28 18:02:28 +02:00
Ezio Melotti
df2460564d
Merge markup fixes in unittest docs from 3.2.
2013-02-28 08:29:37 +02:00
Ezio Melotti
4d6cb0fcf9
Fix markup in unittest docs.
2013-02-28 08:28:11 +02:00
Chris Jerdonek
79333db79a
Issue #16406 : Combine the doc pages for uploading and registering to PyPI.
2013-02-27 10:03:26 -08:00
Chris Jerdonek
13fb979638
Issue #16406 : Combine the doc pages for uploading and registering to PyPI.
2013-02-27 10:00:20 -08:00
R David Murray
e98631d541
Null merge for issue 1692335 backport.
2013-02-27 09:02:49 -05:00
R David Murray
1cb0cb2fcd
#17296 : backport fix for issue 1692335, naive exception pickling.
2013-02-27 08:57:09 -05: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
1ed6be3793
#17303 : test_future* now work with unittest test discovery. Patch by Zachary Ware.
2013-02-27 10:00:03 +02: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
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
Vinay Sajip
66fef9f049
Closes #17290 : Loading cursor now does not persist when launching GUI scripts.
2013-02-26 16:29:06 +00:00
Eli Bendersky
236870439c
Some cosmetic changes
2013-02-26 05:53:23 -08: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
Senthil Kumaran
514f056a89
Fix issue16932: Fix the urlparse example. Remote :port when scheme is not specified to demonstrate correct behavior
2013-02-26 01:04:22 -08:00
Senthil Kumaran
8fd366978d
Fix issue16932: Fix the urlparse example. Remote :port when scheme is not specified to demonstrate correct behavior
2013-02-26 01:02:58 -08: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
Victor Stinner
d21b58c05d
Issue #17223 : Fix PyUnicode_FromUnicode() for string of 1 character outside
...
the range U+0000-U+10ffff.
2013-02-26 00:15:54 +01:00
Serhiy Storchaka
f8cf59e8aa
Issue #15083 : Convert ElementTree doctests to unittests.
2013-02-25 17:20:59 +02:00
Serhiy Storchaka
d9a550b5e1
Issue #1470548 : Add test for fragment producing with XMLGenerator.
2013-02-25 13:46:32 +02:00
Serhiy Storchaka
a5f13d2a5f
Issue #1470548 : Add test for fragment producing with XMLGenerator.
2013-02-25 13:46:10 +02:00
R David Murray
9f10f56d13
Merge #17275 : Fix class name in init errors in C bufferedio classes.
...
This fixes an apparent copy-and-paste error.
Patch by Manuel Jacob.
2013-02-23 22:07:55 -05:00
R David Murray
67bfe80758
#17275 : Fix class name in init errors in C bufferedio classes.
...
This fixes an apparent copy-and-paste error.
Patch by Manuel Jacob.
2013-02-23 21:51:05 -05:00
Petri Lehtinen
e766c742c1
Revert "Issue #16121 : Fix line number accounting in shlex"
2013-02-23 23:12:35 +01:00
Petri Lehtinen
0362b54fd9
Revert "Issue #16121 : Fix line number accounting in shlex"
2013-02-23 23:12:03 +01:00
Petri Lehtinen
6d61eaa0d0
Issue #16121 : Fix line number accounting in shlex
2013-02-23 22:09:51 +01:00
Petri Lehtinen
7a05113ccf
Issue #16121 : Fix line number accounting in shlex
2013-02-23 22:08:07 +01:00