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)
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
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
Gregory P. Smith
f3b5bcafcb
Fixes Issue #27983 : Cause lack of llvm-profdata tool when using clang as
...
required for PGO linking to be a configure time error rather than
make time when --with-optimizations is enabled. Also improve our
ability to find the llvm-profdata tool on MacOS and some Linuxes.
2016-09-07 16:11:08 -07:00
Gregory P. Smith
799520c91e
Fixes issue# 27983: Cause lack of llvm-profdata tool when using clang -
...
required for PGO linking - to be a configure time error rather than
make time when --with-optimizations is enabled. Also improve our
ability to find the llvm-profdata tool on MacOS and some Linuxes.
2016-09-07 16:10:00 -07:00
Benjamin Peterson
2e7c5e9c11
replace some Py_LOCAL_INLINE with the inline keyword
2016-09-07 15:33:32 -07:00
Benjamin Peterson
46d3a595fd
fix expected layout of code objects
2016-09-07 14:56:15 -07:00
Benjamin Peterson
840ef8f84b
more linux -> __linux__
2016-09-07 14:45:10 -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
Brett Cannon
d0600ed524
Make PyCodeObject.co_extra even more private to force users through the proper API.
2016-09-07 14:30:39 -07:00
Benjamin Peterson
d39206a78c
use c++ style comments
2016-09-07 14:12:36 -07:00
Benjamin Peterson
b6c345878a
use the '__linux__' instead 'linux' preprocessor define
2016-09-07 14:08:34 -07:00
Brett Cannon
56be5f5376
Eliminate a tautological-pointer-compare warning found by Clang.
2016-09-07 14:07:16 -07: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
Brett Cannon
3788b85628
Change error return value to be more consistent with the rest of Python
2016-09-07 12:51:08 -07:00
Benjamin Peterson
d170256585
put -std=c99 in CFLAGS_NODIST
2016-09-07 12:00:06 -07:00
Benjamin Peterson
7490577f6a
compile with -std=c99
2016-09-07 11:53:55 -07:00
Benjamin Peterson
0d67ed54f7
permit intermingled declarations
2016-09-07 11:43:22 -07:00
Benjamin Peterson
123374463b
hardcode sizeof(_Bool) on windows
2016-09-07 11:39:46 -07:00
Benjamin Peterson
1bf494b0ec
use a the bool type for a boolean variable
2016-09-07 11:28:35 -07:00
Brett Cannon
5c4de2863b
Add the co_extra field and accompanying APIs to code objects.
...
This completes PEP 523.
2016-09-07 11:16:41 -07:00
Benjamin Peterson
a9296e7f3b
require C99 bool
2016-09-07 11:06:17 -07:00
R David Murray
2195d537b3
Merge: #26209 : Clarify type of *localaddr*/*remoteadr* in smtpd docs.
2016-09-07 14:02:11 -04:00
R David Murray
6b46ec7733
#26209 : Clarify type of *localaddr*/*remoteadr* in smtpd docs.
2016-09-07 14:01:23 -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
Benjamin Peterson
5223f08e78
make _Py_static_string_init use a designated initializer
2016-09-07 10:33:28 -07:00
Steve Dower
fe8f4c9e87
Issue #27959 : Prevent ImportError from escaping codec search function
2016-09-07 09:31:52 -07:00
Benjamin Peterson
2f8bfef158
replace PY_SIZE_MAX with SIZE_MAX
2016-09-07 09:26:18 -07:00