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
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
Benjamin Peterson
9d2617bec0
merge 3.5 ( #27968 )
2016-09-07 08:47:18 -07:00
Benjamin Peterson
b88db8745b
supress coroutine warning when an exception is pending ( #27968 )
2016-09-07 08:46:59 -07:00
Ethan Furman
6a137e8d50
add recipes for pseudo-valueless enums
2016-09-07 08:17:15 -07:00
Christian Heimes
eaa3f5f1ee
Issue #16113 : one more C90 violation in big endian code.
2016-09-07 13:18:40 +02: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
fa15c854d2
Issue #16113 : take 2 on big endian machines.
2016-09-07 13:01:15 +02:00
Christian Heimes
393b82e4c1
Issue #16113 : compile the module on Windows, too.
2016-09-07 12:51:56 +02:00
Christian Heimes
b205fe9791
Issue #16113 : KeccakP-1600-opt64 does not support big endian platforms yet.
2016-09-07 12:42:47 +02:00
Christian Heimes
6fe2a75b64
Issue #16113 : Add SHA-3 and SHAKE support to hashlib module.
2016-09-07 11:58:24 +02:00
Christian Heimes
dfb9ef1357
blake2: silence two more warnings on platforms with size_t < uint64_t. Don't use SSE2 when cross-compiling
2016-09-07 11:39:21 +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
1194c6dfe3
issue20842 - null merge with 3.5
2016-09-07 00:53:17 -07: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