Commit graph

19262 commits

Author SHA1 Message Date
Antoine Pitrou
e7811fca5e Closes #11471: avoid generating a JUMP_FORWARD instruction at the end of an if-block if there is no else-clause.
Original patch by Eugene Toder.
2014-09-18 03:06:50 +02:00
Antoine Pitrou
87538e7bc4 Issue #4180: The warnings registries are now reset when the filters are modified. 2014-09-18 02:42:05 +02:00
Antoine Pitrou
cb0a006fd1 Issue #4180: The warnings registries are now reset when the filters are modified. 2014-09-18 02:40:46 +02:00
Victor Stinner
605a64b436 (Merge 3.4) asyncio, Tulip issue 206: In debug mode, keep the callback in the
representation of Handle and TimerHandle after cancel().
2014-09-17 23:24:39 +02:00
Victor Stinner
1b38bc65dd asyncio, Tulip issue 206: In debug mode, keep the callback in the
representation of Handle and TimerHandle after cancel().
2014-09-17 23:24:13 +02:00
Senthil Kumaran
dc41440401 Merge from 3.4
Issue #22419: Limit the length of incoming HTTP request in wsgiref server to 65536 bytes.
2014-09-17 16:32:46 +08:00
Senthil Kumaran
86c9e1877c Merge from 3.3
Issue #22419: Limit the length of incoming HTTP request in wsgiref server to 65536 bytes.
2014-09-17 16:31:47 +08:00
Senthil Kumaran
e025b52db0 Issue #22419: Limit the length of incoming HTTP request in wsgiref server to 65536 bytes. 2014-09-17 16:29:29 +08:00
Senthil Kumaran
810dc9bc81 Merge from 3.4
Issue #22421 - Secure pydoc server run. Bind it to localhost instead of all interfaces.
2014-09-17 13:19:34 +08:00
Senthil Kumaran
aa72b1b448 Merge from 3.3
Issue #22421 - Secure pydoc server run. Bind it to localhost instead of all interfaces.
2014-09-17 13:19:01 +08:00
Senthil Kumaran
2a42a0bff3 Issue #22421 - Secure pydoc server run. Bind it to localhost instead of all interfaces. 2014-09-17 13:17:58 +08:00
Ethan Furman
d9925a18ec Close issue21706: add 'start' parameter to functional API 2014-09-16 20:35:55 -07:00
Antoine Pitrou
6cfa46e45f Replace bad ftp URLs in test_urllib2net 2014-09-17 00:40:13 +02:00
Antoine Pitrou
bc2c4c9990 Replace bad ftp URLs in test_urllib2net 2014-09-17 00:39:21 +02:00
Antoine Pitrou
0d54887326 Lax cookie parsing in http.cookies could be a security issue when combined
with non-standard cookie handling in some Web browsers.

Reported by Sergey Bobrov.
2014-09-17 00:27:26 +02:00
Antoine Pitrou
637e4544af Lax cookie parsing in http.cookies could be a security issue when combined
with non-standard cookie handling in some Web browsers.

Reported by Sergey Bobrov.
2014-09-17 00:25:57 +02:00
Antoine Pitrou
7d0b8f95e7 Lax cookie parsing in http.cookies could be a security issue when combined
with non-standard cookie handling in some Web browsers.

Reported by Sergey Bobrov.
2014-09-17 00:23:55 +02:00
Nick Coghlan
a0f33759fa Merge fix for issue #22166 from 3.4 2014-09-15 23:55:16 +12:00
Nick Coghlan
8fad1676a2 Issue #22166: clear codec caches in test_codecs 2014-09-15 23:50:44 +12:00
Łukasz Langa
0b894b40db Closes #18159: ConfigParser getters not available on SectionProxy 2014-09-15 02:10:01 -07:00
Łukasz Langa
dfdd2f7ef8 Closes #18159: ConfigParser getters not available on SectionProxy 2014-09-15 02:08:41 -07:00
Serhiy Storchaka
884d5284f7 Restored re pickling test. 2014-09-15 11:33:55 +03:00
Serhiy Storchaka
b85a97600a Restored re pickling test. 2014-09-15 11:33:19 +03:00
Vinay Sajip
02a8f9e9ac Closes #20537: logging methods now accept an exception instance as well as a Boolean value or exception tuple. Thanks to Yury Selivanov for the patch. 2014-09-14 21:29:11 +01:00
Serhiy Storchaka
f42cbff27e Use more appropriate asserts in re tests. 2014-09-14 16:21:27 +03:00
Serhiy Storchaka
d9cf65f00e Use more appropriate asserts in re tests. 2014-09-14 16:20:20 +03:00
Serhiy Storchaka
d1b440a377 Fixed re tests incorrectly ported from 2.x to 3.x. 2014-09-14 15:57:01 +03:00
Serhiy Storchaka
a25875cfd0 Fixed re tests incorrectly ported from 2.x to 3.x. 2014-09-14 15:56:27 +03:00
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
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
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
Serhiy Storchaka
38684c3663 imaplib.IMAP4 now supports the context manager protocol.
Original patch by Tarek Ziadé.
2014-09-09 19:07:49 +03: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
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
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