Zachary Ware
20737cc91e
Issue #28027 : Remove Lib/plat-* files
2016-09-08 11:38:46 -07:00
Eric Snow
f3fd06a2e4
Issue #28026 : Raise ImportError when exec_module() exists but create_module() is missing.
2016-09-08 11:12:31 -07:00
Steve Dower
e58571b7ea
Fixes tests broken by issue #27781 .
2016-09-08 11:11:13 -07:00
R David Murray
44b548dda8
#27364 : fix "incorrect" uses of escape character in the stdlib.
...
And most of the tools.
Patch by Emanual Barry, reviewed by me, Serhiy Storchaka, and
Martin Panter.
2016-09-08 13:59:53 -04:00
Steve Dower
cc16be85c0
Issue #27781 : Change file system encoding on Windows to UTF-8 (PEP 529)
2016-09-08 10:35:16 -07:00
Victor Stinner
742da040db
Implement compact dict
...
Issue #27350 : `dict` implementation is changed like PyPy. It is more compact
and preserves insertion order.
_PyDict_Dummy() function has been removed.
Disable test_gdb: python-gdb.py is not updated yet to the new structure of
compact dictionaries (issue #28023 ).
Patch written by INADA Naoki.
2016-09-07 17:40:12 -07:00
Berker Peksag
d8b7770a0e
Issue #27445 : Merge from 3.5
2016-09-08 19:42:11 +03:00
Berker Peksag
2b2a9be913
Issue #27445 : Don't pass str(_charset) to MIMEText.set_payload()
...
Patch by Claude Paroz.
2016-09-08 19:40:30 +03:00
Benjamin Peterson
47ff0734b8
more PY_LONG_LONG to long long
2016-09-08 09:15:54 -07:00
Serhiy Storchaka
c49a516ae9
Remove old typo.
...
Initially (e0b7e34b5971) it should be \udef0, but after 52a77ef069cd
(issue #3672 ) lone surrogates are not accepted and should be removed.
2016-09-08 15:47:27 +03:00
Senthil Kumaran
9dda0c9569
[merge from 3.5] Issue11551 - Increase the test coverage of _dummy_thread module to 100%.
...
Initial patch contributed by Denver Coneybeare.
2016-09-08 02:47:52 -07:00
Senthil Kumaran
82733fac8d
Issue11551 - Increase the test coverage of _dummy_thread module to 100%.
...
Initial patch contributed by Denver Coneybeare.
2016-09-08 02:46:22 -07:00
Christian Heimes
81188246fa
Issue 26798: fetch OSError and HTTPException like other tests that use open_urlresource.
2016-09-08 10:53:40 +02:00
Brett Cannon
035a100382
Issue #26667 : Add path-like object support to importlib.util.
2016-09-07 18:39:18 -07:00
Eric Snow
d5f9223981
Issue #17211 : Yield a namedtuple in pkgutil.
...
Patch by Ramchandra Apte.
2016-09-07 18:37:17 -07:00
R David Murray
29d1bc0842
#24277 : The new email API is no longer provisional.
...
This is a wholesale reorganization and editing of the email documentation to
make the new API the standard one, and the old API the 'legacy' one. The
default is still the compat32 policy, for backward compatibility. We will
change that eventually.
2016-09-07 21:15:59 -04:00
Steve Dower
4cf7e482a0
Fix expected error message in PyTextIOWrapperTest
2016-09-07 17:51:30 -07:00
Gregory P. Smith ext:(%20%5BGoogle%20Inc.%5D)
627b7556e8
Fix indentation (reindent.py).
2016-09-08 00:48:22 +00:00
Gregory P. Smith ext:(%20%5BGoogle%20Inc.%5D)
9719161858
Fix indentation (reindent.py).
2016-09-08 00:48:07 +00:00
Gregory P. Smith ext:(%20%5BGoogle%20Inc.%5D)
08c24c79a5
merge heads
2016-09-08 00:46:58 +00:00
Gregory P. Smith ext:(%20%5BGoogle%20Inc.%5D)
0c578d62fc
lib2to3.pgen3.driver.load_grammar() now creates a stable cache file
...
between runs given the same Grammar.txt input regardless of the hash
randomization setting.
2016-09-08 00:46:26 +00:00
Gregory P. Smith ext:(%20%5BGoogle%20Inc.%5D)
dd1c638b92
lib2to3.pgen3.driver.load_grammar() now creates a stable cache file
...
between runs given the same Grammar.txt input regardless of the hash
randomization setting.
2016-09-08 00:40:07 +00:00
Vinay Sajip
db8f46321f
Added back test code lost during merge.
2016-09-08 01:37:03 +01:00
Steve Dower
ef37dfcd84
Issue #28005 : Allow ImportErrors in encoding implementation to propagate.
2016-09-07 17:27:33 -07:00
Vinay Sajip
93e6b3314d
Closes #27930 : Merged fix from 3.5.
2016-09-08 01:24:12 +01:00
Vinay Sajip
d61910c598
Fixes #27930 : improved QueueListener behaviour.
2016-09-08 01:13:39 +01:00
Eric Snow
46f97b85a8
Issue #15767 : Use ModuleNotFoundError.
2016-09-07 16:56:15 -07:00
Eric Snow
c943265ba5
Issue #15767 : Add ModuleNotFoundError.
2016-09-07 15:42:32 -07:00
Davin Potts
86a7668426
Fixes issue #6766 : Updated multiprocessing Proxy Objects to support nesting
2016-09-07 18:48:01 -05:00
Martin Panter
1aa642f6bd
Issue #27993 : Merge plural fixes from 3.5
2016-09-07 23:36:43 +00:00
Martin Panter
1c748f3830
Issue #27570 : Merge null pointer fixes from 3.5
2016-09-07 23:31:39 +00:00
Benjamin Peterson
46d3a595fd
fix expected layout of code objects
2016-09-07 14:56:15 -07:00
R David Murray
1badd28163
Merge: #22233 : Only split headers on \r and/or \n, per email RFCs.
2016-09-07 17:46:55 -04:00
R David Murray
dc1650ca06
#22233 : Only split headers on \r and/or \n, per email RFCs.
...
Original patch by Martin Panter, new policy fixes by me.
2016-09-07 17:44:34 -04:00
R David Murray
56b1f1b4d5
#27331 : add policy keyword argument to all MIME subclasses.
...
Patch by Berker Peksag.
2016-09-07 16:48:35 -04:00
R David Murray
91afe7ec9f
Merge: 27988: Make sure iter_attachments does not mutate the payload list.
2016-09-07 13:41:06 -04:00
R David Murray
c2e2473bc2
27988: Make sure iter_attachments does not mutate the payload list.
2016-09-07 13:39:36 -04:00
Steve Dower
fe8f4c9e87
Issue #27959 : Prevent ImportError from escaping codec search function
2016-09-07 09:31:52 -07:00
Benjamin Peterson
c75abff533
merge 3.5 ( closes #27968 )
2016-09-07 09:00:57 -07:00
Benjamin Peterson
48c88307d8
capture stderr to silence output during test_coroutines ( closes #27968 )
2016-09-07 09:00:48 -07:00
Benjamin Peterson
e2ffe29738
new and exciting shutdown error on windows
2016-09-07 08:54:35 -07:00
Martin Panter
0f0eac431f
Issue #27993 : Fix problems with plural objects in docs and comments
2016-09-07 11:04:41 +00:00
Martin Panter
0be894b2f6
Issue #27895 : Spelling fixes (Contributed by Ville Skyttä).
2016-09-07 12:03:06 +00:00
Martin Panter
be8da9c990
Issue #27570 : Avoid zero-length memcpy() calls with null source pointers
2016-09-07 11:04:41 +00:00
Christian Heimes
6fe2a75b64
Issue #16113 : Add SHA-3 and SHAKE support to hashlib module.
2016-09-07 11:58:24 +02:00
Serhiy Storchaka
680cb152c5
Issue #26032 : Optimized globbing in pathlib by using os.scandir(); it is now
...
about 1.5--4 times faster.
2016-09-07 10:58:05 +03:00
Senthil Kumaran
32d374215a
[backport to 3.5] - issue26896 - Disambiguate uses of "importer" with "finder".
2016-09-07 00:52:20 -07:00
Raymond Hettinger
28aa4a0684
Rename weighted_choices() to just choices()
2016-09-07 00:08:44 -07:00
Serhiy Storchaka
c98b26a6ac
Issue #25596 : Falls back to listdir in glob for bytes paths on Windows.
2016-09-07 09:49:42 +03:00
Benjamin Peterson
437df90537
get skipIf from the right place
2016-09-06 20:22:41 -07:00