Benjamin Peterson
e5e3edb920
improve compact dict changelog
2016-09-08 10:13:42 -07:00
Brett Cannon
2376316857
Issue #27853 : Add section headers to the importlib example docs
2016-09-08 10:12:47 -07:00
Benjamin Peterson
7322225a57
use native inline instead of Py_LOCAL_INLINE
2016-09-08 09:58:47 -07:00
Benjamin Peterson
f0acae2d3c
rearrange to make gcc happy
2016-09-08 09:50:08 -07:00
Victor Stinner
98ee9d5b73
Add Py_MEMBER_SIZE macro
...
Issue #27350 : use Py_MEMBER_SIZE() macro to get the size of
PyDictKeyEntry.dk_indices, rather than hardcoding 8.
2016-09-08 09:33:56 -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
cc854499e4
clinic: PY_LONG_LONG -> long long
2016-09-08 09:29:11 -07:00
Benjamin Peterson
c235af47f1
fix a PY_LONG_LONG straggler
2016-09-08 09:25:03 -07:00
Steve Dower
beb0f1d425
Adds MAX_PATH button to the installer.
2016-09-08 09:26:42 -07:00
Benjamin Peterson
47ff0734b8
more PY_LONG_LONG to long long
2016-09-08 09:15:54 -07:00
Christian Heimes
c71ec8aef3
sha3: let's keep it simple and always allocate enough extra space for uint64_t[20].
2016-09-08 15:04:38 +02: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
Christian Heimes
5940c535b0
Issue #26798 : Coverity complains about potential memcpy() of overlapped regions. It doesn't hurt to use memmove() here. CID 1372514 / CID 1372515. Upstream https://github.com/BLAKE2/BLAKE2/issues/32
2016-09-08 13:40:25 +02:00
Christian Heimes
cf45ee10fb
Issue #16113 : SHA3: allocate extra memory for lane extraction and check return value of PyModule_Create()
2016-09-08 13:35:00 +02: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
7f9eb6eda3
Issue 28017: Use -std=gnu99 to get C99 with GNU extensions for bluetooth.h on big endian.
2016-09-08 11:39:42 +02: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
Gregory P. Smith
d9fc792fda
Remove the subjective security and performance claims, fix hyperlinks
...
to use https and add a link to RFC-7693.
2016-09-08 01:33:43 -07:00
Gregory P. Smith
8b1b81f036
move my news entries to the build section as appropriate.
2016-09-08 00:15:20 -07:00
Gregory P. Smith
bfac23a4c0
Move my news entries to the build section.
2016-09-08 00:14:01 -07:00
Ethan Furman
54924df2b1
improve Enum docs
2016-09-07 23:40:31 -07:00
Eric Snow
97be87a5c8
Issue #15352 : Rebuild frozen modules when marshal.c is changed.
2016-09-07 18:48:06 -07:00
R David Murray
1ba3e6dab1
#24277 : Fix some incorrect backslashes in email example.
2016-09-07 21:48:21 -04:00
R David Murray
bf24dfa07c
#24277 : Fix 3.4 whats new link broken by email doc changes.
2016-09-07 21:39:40 -04: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
8e7cdb2586
#24277 : What's New and news entries for previous commit.
2016-09-07 21:21:58 -04: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
Benjamin Peterson
23e8633781
fix reST
2016-09-07 18:10:50 -07:00
Benjamin Peterson
8f4b247a1d
make sure expected values are interpreted as doubles
2016-09-07 18:09:22 -07:00
Davin Potts
eb35eac3bc
Updated Misc/NEWS
2016-09-07 20:00:33 -05: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
8195219acb
Null merge.
2016-09-08 01:25:04 +01: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
Vinay Sajip
441f1e3464
Fixes #27930 : improved QueueListener behaviour.
2016-09-08 01:00:54 +01:00
Brett Cannon
52794db825
Issue #27911 : Remove some unnecessary error checks in import.c.
...
Thanks to Xiang Zhang for the patch.
2016-09-07 17:00:43 -07: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