Yury Selivanov
08d4a4f488
inspect.Signature: Fix discrepancy between __eq__ and __hash__.
...
Issue #20334 . Thanks to Antony Lee for bug report & initial patch.
2014-09-12 15:48:02 -04:00
Brett Cannon
f1a8df0ac9
Issue #16104 : Allow compileall to do parallel bytecode compilation.
...
Both compileall.compile_dir() and the CLI for compileall now allow for
specifying how many workers to use (or 0 to use all CPUs).
Thanks to Claudiu Popa for the patch.
2014-09-12 10:39:48 -04:00
Vinay Sajip
a56411e5d4
Closes #22386 : merged fix from 3.4.
2014-09-11 23:08:48 +01:00
Vinay Sajip
d1d4fbff63
Issue #22386 : fixed regression.
2014-09-11 23:06:09 +01:00
Serhiy Storchaka
a1b16bab2f
Issue #13968 : Fixed newly added recursive glob test.
...
It was failed when run with non-empty current directory.
2014-09-11 14:33:02 +03:00
Serhiy Storchaka
2c16df269a
Issue #21147 : sqlite3 now raises an exception if the request contains a null
...
character instead of truncate it. Based on patch by Victor Stinner.
2014-09-11 13:30:48 +03:00
Serhiy Storchaka
42d67af87f
Issue #21147 : sqlite3 now raises an exception if the request contains a null
...
character instead of truncate it. Based on patch by Victor Stinner.
2014-09-11 13:29:05 +03:00
Serhiy Storchaka
c2edcdd194
Issue #13968 : The glob module now supports recursive search in
...
subdirectories using the "**" pattern.
2014-09-11 12:17:37 +03:00
Serhiy Storchaka
d5fd6188e2
Issue #21951 : Fixed a crash in Tkinter on AIX when called Tcl command with
...
empty string or tuple argument.
On some platforms Tcl memory allocator returns NULL when allocating zero-sized
block of memory.
2014-09-11 10:58:02 +03:00
Serhiy Storchaka
abf68ce164
Issue #21951 : Fixed a crash in Tkinter on AIX when called Tcl command with
...
empty string or tuple argument.
On some platforms Tcl memory allocator returns NULL when allocating zero-sized
block of memory.
2014-09-11 10:57:13 +03:00
Serhiy Storchaka
dd6507eb86
Issue #22369 : Change "context manager protocol" to "context management protocol".
2014-09-10 23:45:42 +03:00
Serhiy Storchaka
148679982f
Issue #22369 : Change "context manager protocol" to "context management protocol".
2014-09-10 23:43:41 +03:00
Stefan Krah
9f69b86756
Whitespace.
2014-09-10 18:00:46 +02:00
Stefan Krah
b578f8a1ef
Issue #19232 : Speed up decimal import. Additionally, since _decimal is
...
self-contained, this change facilitates maintenance and the Python version
can be easily imported for experimentation.
2014-09-10 17:58:15 +02:00
Stefan Krah
082a9b1274
Issue #22284 : Merge 3.4
2014-09-09 19:57:59 +02:00
Stefan Krah
964feabd79
Issue #22284 : Update decimal.__all__
2014-09-09 19:56:56 +02:00
Serhiy Storchaka
38684c3663
imaplib.IMAP4 now supports the context manager protocol.
...
Original patch by Tarek Ziadé.
2014-09-09 19:07:49 +03:00
Barry Warsaw
bb1e3f1ebe
A few tweaks for issue16662 based on feedback from Robert Collins.
2014-09-08 17:29:02 -04:00
Barry Warsaw
d78742a260
- Issue #16662 : load_tests() is now unconditionally run when it is present in
...
a package's __init__.py. TestLoader.loadTestsFromModule() still accepts
use_load_tests, but it is deprecated and ignored. A new keyword-only
attribute `pattern` is added and documented. Patch given by Robert Collins,
tweaked by Barry Warsaw.
2014-09-08 14:21:37 -04:00
Benjamin Peterson
238f5aa6a5
merge 3.4 ( #22349 )
2014-09-06 17:24:35 -04:00
Benjamin Peterson
df0eb95b57
remove various dead version checks ( closes #22349 )
...
Patch from Thomas Kluyver.
2014-09-06 17:24:12 -04:00
Serhiy Storchaka
87a2803eb4
Issue #22226 : Added private function _splitdict() in the Tkinter module.
...
First letter no longer is stripped from the "status" key in
the result of Treeview.heading().
2014-09-06 22:49:07 +03:00
Serhiy Storchaka
8f0a1d0f28
Issue #22226 : Added private function _splitdict() in the Tkinter module.
...
First letter no longer is stripped from the "status" key in
the result of Treeview.heading().
2014-09-06 22:47:58 +03:00
Serhiy Storchaka
c70386ec16
Issue #22131 : Fixed a bug in handling an error occured during reading from
...
a pipe in _ipconfig_getnode().
2014-09-06 22:17:24 +03:00
Serhiy Storchaka
fa9be4f6a8
Issue #22131 : Modernized the code of the uuid module.
...
Optimized bytes and bytes_le properties of UUID and UUID constructor with
bytes_le argument.
Fixed a bug in handling an error occured during reading from a pipe in
_ipconfig_getnode().
2014-09-06 22:14:04 +03:00
Serhiy Storchaka
91453026ff
Issue #19524 : Fixed resource leak in the HTTP connection when an invalid
...
response is received. Patch by Martin Panter.
2014-09-06 21:43:49 +03:00
Serhiy Storchaka
f54c350160
Issue #19524 : Fixed resource leak in the HTTP connection when an invalid
...
response is received. Patch by Martin Panter.
2014-09-06 21:41:39 +03:00
Serhiy Storchaka
d8a1447c99
Issue #22215 : Now ValueError is raised instead of TypeError when str or bytes
...
argument contains not permitted null character or byte.
2014-09-06 20:07:17 +03:00
Serhiy Storchaka
0e395240cb
Issue #22221 : Add tests for compile() with source encoding cookie.
2014-09-05 11:01:43 +03:00
Serhiy Storchaka
607cb9cf99
Issue #22221 : Add tests for compile() with source encoding cookie.
2014-09-05 11:00:56 +03:00
Terry Jan Reedy
2ee44f7f55
Merge with 3.4
2014-09-04 21:00:52 -04:00
Terry Jan Reedy
d43ffc9aba
Issue #21933 : Make Control-Mousewhell only change font size and not also scroll.
...
Original patch by Serhiy Storchaka.
2014-09-04 20:59:41 -04:00
Antoine Pitrou
47e40429fb
Issue #20421 : Add a .version() method to SSL sockets exposing the actual protocol version in use.
2014-09-04 21:00:10 +02:00
Łukasz Langa
53c87d1be2
Merge fix for #19546 : configparser exceptions leak implementation details
2014-09-04 01:42:29 -07:00
Łukasz Langa
949053bff2
Fix #19546 : onfigparser exceptions expose implementation details. Patch by Claudiu Popa.
2014-09-04 01:36:33 -07:00
Victor Stinner
ece38d9497
Issue #22334 : Add debug traces to test_tcl
2014-09-04 09:53:16 +02:00
Victor Stinner
b39b918baa
Issue #22333 : Add debug traces to test_threaded_import
2014-09-04 09:38:38 +02:00
Terry Jan Reedy
2fd145a3e9
Merge with 3.4
2014-09-03 19:29:31 -04:00
Terry Jan Reedy
70349141ee
Issue #22051 : remove unneeded reload that allowed bad code.
2014-09-03 19:29:17 -04:00
Victor Stinner
8231d55cd4
Fix timeout in test.fork_wait
2014-09-04 01:02:17 +02:00
Victor Stinner
150b06fa19
(Merge 3.4) Issue #21440 : test_zipfile: replace last direct calls to
...
os.remove() with support.unlink()
2014-09-04 00:51:25 +02:00
Victor Stinner
88b215e20f
Issue #21440 : test_zipfile: replace last direct calls to os.remove() with
...
support.unlink()
2014-09-04 00:51:09 +02:00
Victor Stinner
57004c696a
Issue #21440 : Backport changeset 4ebf97299b18 to branch 3.4, use
...
support.rmtree() and support.unlink() in test_zipfile & test_tarfile
2014-09-04 00:49:01 +02:00
Victor Stinner
cde4517112
(Merge 3.4) Issue #20957 : test_smtpnet now uses support.transient_internet() to
...
call check_ssl_verifiy(), so only test_connect_using_sslcontext_verified() is
skipped if smtp.gmail.com cannot be joined, not the whole file.
2014-09-04 00:36:09 +02:00
Victor Stinner
19c899c1b1
Issue #20957 : test_smtpnet now uses support.transient_internet() to call
...
check_ssl_verifiy(), so only test_connect_using_sslcontext_verified() is
skipped if smtp.gmail.com cannot be joined, not the whole file.
2014-09-04 00:35:43 +02:00
Victor Stinner
e96c83bde1
(Merge 3.4) Issue #22332 : test_multiprocessing_main_handling is now skipped if
...
sem_open implementation is broken (ex: skipped on FreeBSD 6.4).
2014-09-03 23:48:37 +02:00
Victor Stinner
2bb8a08159
Issue #22332 : test_multiprocessing_main_handling is now skipped if sem_open
...
implementation is broken (ex: skipped on FreeBSD 6.4).
2014-09-03 23:48:08 +02:00
Victor Stinner
a6b6bba5ed
(Merge 3.4) Issue #22331 : Skip test_interrupted_write_text() on FreeBSD older
...
than 8.0
2014-09-03 23:33:43 +02:00
Victor Stinner
6ab728612d
Issue #22331 : Skip test_interrupted_write_text() on FreeBSD older than 8.0
2014-09-03 23:32:28 +02:00
Terry Jan Reedy
a4cc528752
Issue #21933 : Merge with 3.4
2014-09-03 16:18:34 -04:00