Commit graph

18740 commits

Author SHA1 Message Date
Serhiy Storchaka
2f8dca735e Issue #20197: Added support for the WebP image type in the imghdr module.
Patch by Fabrice Aneche and Claudiu Popa.
2014-05-25 11:45:37 +03:00
Brett Cannon
17f9cc07f3 Merge for issue #14710 2014-05-23 12:32:30 -04:00
Brett Cannon
8447c703d1 Issue #14710: Fix both pkgutil.find_loader() and get_loader() to not
raise an exception when a module doesn't exist.

Thanks to Pavel Aslanov for the bug report.
2014-05-23 12:30:37 -04:00
Serhiy Storchaka
c083537b87 Issue #21538: The plistlib module now supports loading of binary plist files
when reference or offset size is not a power of two.
2014-05-23 16:15:06 +03:00
Serhiy Storchaka
065266450e Issue #21538: The plistlib module now supports loading of binary plist files
when reference or offset size is not a power of two.
2014-05-23 16:13:33 +03:00
Antoine Pitrou
5c8008e59d Issue #21523: Fix over-pessimistic computation of the stack effect of some opcodes in the compiler.
This also fixes a quadratic compilation time issue noticeable when compiling
code with a large number of "and" and "or" operators.
2014-05-23 11:47:32 +02:00
Antoine Pitrou
9961405ed1 Issue #21523: Fix over-pessimistic computation of the stack effect of some opcodes in the compiler.
This also fixes a quadratic compilation time issue noticeable when compiling
code with a large number of "and" and "or" operators.
2014-05-23 11:46:03 +02:00
Charles-François Natali
644b8f52a8 Issue #21455: Add a default backlog to socket.listen(). 2014-05-22 19:45:39 +01:00
Serhiy Storchaka
2b00c4999d Issue #21525: Most Tkinter methods which accepted tuples now accept lists too. 2014-05-21 17:12:21 +03:00
Victor Stinner
1c4398f880 (Merge 3.4) asyncio: test_base_events: use mock.Mock instead of
unittest.mock.Mock to simplify the synchronization with Trollius
2014-05-20 15:57:32 +02:00
Victor Stinner
93668f4459 asyncio: test_base_events: use mock.Mock instead of unittest.mock.Mock to
simplify the synchronization with Trollius
2014-05-20 15:57:08 +02:00
Brian Quinlan
20efceb757 Issue #21362: concurrent.futures does not validate that max_workers is proper 2014-05-17 13:51:10 -07:00
Eric Snow
3497c0bf95 Issue #21503: Use test_both() consistently in test_importlib. 2014-05-16 11:40:40 -06:00
Eric Snow
d50cee2045 Fix a small typo in test_importlib. 2014-05-16 11:22:05 -06:00
Victor Stinner
0d4e01ca07 Issue #13916: Fix surrogatepass error handler on Windows 2014-05-16 14:46:20 +02:00
Serhiy Storchaka
88d8fb6af6 Issue #13916: Disallowed the surrogatepass error handler for non UTF-*
encodings.
2014-05-15 14:37:42 +03:00
Serhiy Storchaka
2e03a0a8a7 Issue #20998: Fixed re.fullmatch() of repeated single character pattern
with ignore case.  Original patch by Matthew Barnett.
2014-05-14 21:51:37 +03:00
Serhiy Storchaka
429b59ec69 Issue #20998: Fixed re.fullmatch() of repeated single character pattern
with ignore case.  Original patch by Matthew Barnett.
2014-05-14 21:48:17 +03:00
Serhiy Storchaka
b9183bb4fd Issue #21075: fileinput.FileInput now reads bytes from standard stream if
binary mode is specified.  Patch by Sam Kimbrel.
2014-05-14 21:11:08 +03:00
Serhiy Storchaka
946cfc3e23 Issue #21075: fileinput.FileInput now reads bytes from standard stream if
binary mode is specified.  Patch by Sam Kimbrel.
2014-05-14 21:08:33 +03:00
Victor Stinner
79b49ab553 (Merge 3.4) Issue #21497: faulthandler functions now raise a better error if
sys.stderr is None: RuntimeError("sys.stderr is None") instead of
AttributeError("'NoneType' object has no attribute 'fileno'").
2014-05-14 17:16:58 +02:00
Victor Stinner
e2d66903e8 Issue #21497: faulthandler functions now raise a better error if sys.stderr is
None: RuntimeError("sys.stderr is None") instead of AttributeError("'NoneType'
object has no attribute 'fileno'").
2014-05-14 17:15:50 +02:00
Victor Stinner
a57dfd033c Issue #21488: Add support of keyword arguments for codecs.encode and codecs.decode 2014-05-14 17:13:14 +02:00
Victor Stinner
e1e04ad8aa Backed out changeset 6ceedbd88b5f 2014-05-14 17:12:27 +02:00
Victor Stinner
b78c448f4b Issue #21488: Add support of keyword arguments for codecs.encode and codecs.decode 2014-05-14 17:10:45 +02:00
Eric Snow
e1c9e5270a Merge from 3.4 (for #21499). 2014-05-13 12:18:07 -06:00
Eric Snow
2f46a0e8be Issue #21499: Ignore __builtins__ in several test_importlib.test_api tests. 2014-05-13 12:15:42 -06:00
Guido van Rossum
c7188e2690 Merge 3.4->default: Fix test-order-dependend asyncio test failure caused by rev 2af5a52b9b87 (in this branch). 2014-05-13 09:21:33 -07:00
Guido van Rossum
7664eb0297 Fix test-order-dependend asyncio test failure caused by rev 909ea8cc86bbab92dbb6231668f403b7360f30fa. 2014-05-13 09:19:39 -07:00
doko@ubuntu.com
987831c945 Merge from 3.4:
- Issue #17756: Fix test_code test when run from the installed location.
2014-05-13 11:30:17 +02:00
doko@ubuntu.com
15bec9cb3f - Issue #17756: Fix test_code test when run from the installed location. 2014-05-13 11:28:12 +02:00
Antoine Pitrou
43e3d9409d Issue #19775: Add a samefile() method to pathlib Path objects.
Initial patch by Vajrasky Kok.
2014-05-13 10:50:15 +02:00
Victor Stinner
66113bb74a (Merge 3.4) Issue #21422: Add a test to check that bool << int and bool >> int
return an int
2014-05-12 22:43:07 +02:00
Victor Stinner
7fe1049fcb Issue #21422: Add a test to check that bool << int and bool >> int return an int 2014-05-12 22:35:40 +02:00
Antoine Pitrou
5fb195f854 Issue #16531: ipaddress.IPv4Network and ipaddress.IPv6Network now accept an (address, netmask) tuple argument, so as to easily construct network objects from existing addresses. 2014-05-12 20:36:46 +02:00
Guido van Rossum
3b5162d05d Merge 3.4->default: asyncio: Fix upstream issue 168: StreamReader.read(-1) from pipe may hang if data exceeds buffer limit. 2014-05-12 10:05:04 -07:00
Guido van Rossum
bf88ffba5e asyncio: Fix upstream issue 168: StreamReader.read(-1) from pipe may hang if data exceeds buffer limit. 2014-05-12 10:04:37 -07:00
Raymond Hettinger
234fb2d503 Issue 21424: Apply the nlargest() optimizations to nsmallest() as well. 2014-05-11 14:21:23 -07:00
Antoine Pitrou
5e6b5f2f26 Try to fix issue #21425 workaround for shared library builds 2014-05-11 19:13:43 +02:00
Antoine Pitrou
ffef2447ee Try to fix issue #21425 workaround for shared library builds 2014-05-11 19:13:43 +02:00
Antoine Pitrou
5006a56e39 Fix printing out error message when test fails and run with -bb 2014-05-11 19:05:50 +02:00
Antoine Pitrou
dab4e8a02d Fix printing out error message when test fails and run with -bb 2014-05-11 19:05:23 +02:00
Antoine Pitrou
4f23472fc2 Remove debugging output 2014-05-11 17:29:57 +02:00
Antoine Pitrou
6b4b8d0722 Try workaround for test issues in #21425 2014-05-11 16:59:16 +02:00
Antoine Pitrou
bb62c18ec9 Try workaround for test issues in #21425 2014-05-11 16:59:16 +02:00
Antoine Pitrou
ffd72737d3 Fix debugging output to work with -W 2014-05-11 16:36:22 +02:00
Antoine Pitrou
c1b22d9c22 Fix debugging output to work with -bb 2014-05-11 16:24:45 +02:00
Antoine Pitrou
0a44a0b827 Add debugging output for #21425 2014-05-11 16:09:15 +02:00
Antoine Pitrou
1c33280c95 Issue #21425: Fix flushing of standard streams in the interactive interpreter. 2014-05-11 13:43:31 +02:00
Antoine Pitrou
9845c7ebc5 Issue #21425: Fix flushing of standard streams in the interactive interpreter. 2014-05-11 13:42:17 +02:00