]> granicus.if.org Git - python/log
python
8 years ago[merge from 3.5] Issue11551 - Increase the test coverage of _dummy_thread module...
Senthil Kumaran [Thu, 8 Sep 2016 09:47:52 +0000 (02:47 -0700)]
[merge from 3.5] Issue11551 - Increase the test coverage of _dummy_thread module to 100%.

Initial patch contributed by Denver Coneybeare.

8 years agoIssue11551 - Increase the test coverage of _dummy_thread module to 100%.
Senthil Kumaran [Thu, 8 Sep 2016 09:46:22 +0000 (02:46 -0700)]
Issue11551 - Increase the test coverage of _dummy_thread module to 100%.

Initial patch contributed by Denver Coneybeare.

8 years agoIssue 28017: Use -std=gnu99 to get C99 with GNU extensions for bluetooth.h on big...
Christian Heimes [Thu, 8 Sep 2016 09:39:42 +0000 (11:39 +0200)]
Issue 28017: Use -std=gnu99 to get C99 with GNU extensions for bluetooth.h on big endian.

8 years agoIssue 26798: fetch OSError and HTTPException like other tests that use open_urlresource.
Christian Heimes [Thu, 8 Sep 2016 08:53:40 +0000 (10:53 +0200)]
Issue 26798: fetch OSError and HTTPException like other tests that use open_urlresource.

8 years agoRemove the subjective security and performance claims, fix hyperlinks
Gregory P. Smith [Thu, 8 Sep 2016 08:33:43 +0000 (01:33 -0700)]
Remove the subjective security and performance claims, fix hyperlinks
to use https and add a link to RFC-7693.

8 years agomove my news entries to the build section as appropriate.
Gregory P. Smith [Thu, 8 Sep 2016 07:15:20 +0000 (00:15 -0700)]
move my news entries to the build section as appropriate.

8 years agoMove my news entries to the build section.
Gregory P. Smith [Thu, 8 Sep 2016 07:14:01 +0000 (00:14 -0700)]
Move my news entries to the build section.

8 years agoimprove Enum docs
Ethan Furman [Thu, 8 Sep 2016 06:40:31 +0000 (23:40 -0700)]
improve Enum docs

8 years agoIssue #15352: Rebuild frozen modules when marshal.c is changed.
Eric Snow [Thu, 8 Sep 2016 01:48:06 +0000 (18:48 -0700)]
Issue #15352: Rebuild frozen modules when marshal.c is changed.

8 years ago#24277: Fix some incorrect backslashes in email example.
R David Murray [Thu, 8 Sep 2016 01:48:21 +0000 (21:48 -0400)]
#24277: Fix some incorrect backslashes in email example.

8 years ago#24277: Fix 3.4 whats new link broken by email doc changes.
R David Murray [Thu, 8 Sep 2016 01:39:40 +0000 (21:39 -0400)]
#24277: Fix 3.4 whats new link broken by email doc changes.

8 years agoIssue #26667: Add path-like object support to importlib.util.
Brett Cannon [Thu, 8 Sep 2016 01:39:18 +0000 (18:39 -0700)]
Issue #26667: Add path-like object support to importlib.util.

8 years agoIssue #17211: Yield a namedtuple in pkgutil.
Eric Snow [Thu, 8 Sep 2016 01:37:17 +0000 (18:37 -0700)]
Issue #17211: Yield a namedtuple in pkgutil.

Patch by Ramchandra Apte.

8 years ago#24277: What's New and news entries for previous commit.
R David Murray [Thu, 8 Sep 2016 01:21:58 +0000 (21:21 -0400)]
#24277: What's New and news entries for previous commit.

8 years ago#24277: The new email API is no longer provisional.
R David Murray [Thu, 8 Sep 2016 01:15:59 +0000 (21:15 -0400)]
#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.

8 years agofix reST
Benjamin Peterson [Thu, 8 Sep 2016 01:10:50 +0000 (18:10 -0700)]
fix reST

8 years agomake sure expected values are interpreted as doubles
Benjamin Peterson [Thu, 8 Sep 2016 01:09:22 +0000 (18:09 -0700)]
make sure expected values are interpreted as doubles

8 years agoUpdated Misc/NEWS
Davin Potts [Thu, 8 Sep 2016 01:00:33 +0000 (20:00 -0500)]
Updated Misc/NEWS

8 years agoFix expected error message in PyTextIOWrapperTest
Steve Dower [Thu, 8 Sep 2016 00:51:30 +0000 (17:51 -0700)]
Fix expected error message in PyTextIOWrapperTest

8 years agoFix indentation (reindent.py).
Gregory P. Smith ext:(%20%5BGoogle%20Inc.%5D) [Thu, 8 Sep 2016 00:48:22 +0000 (00:48 +0000)]
Fix indentation (reindent.py).

8 years agoFix indentation (reindent.py).
Gregory P. Smith ext:(%20%5BGoogle%20Inc.%5D) [Thu, 8 Sep 2016 00:48:07 +0000 (00:48 +0000)]
Fix indentation (reindent.py).

8 years agomerge heads
Gregory P. Smith ext:(%20%5BGoogle%20Inc.%5D) [Thu, 8 Sep 2016 00:46:58 +0000 (00:46 +0000)]
merge heads

8 years agolib2to3.pgen3.driver.load_grammar() now creates a stable cache file
Gregory P. Smith ext:(%20%5BGoogle%20Inc.%5D) [Thu, 8 Sep 2016 00:46:26 +0000 (00:46 +0000)]
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.

8 years agolib2to3.pgen3.driver.load_grammar() now creates a stable cache file
Gregory P. Smith ext:(%20%5BGoogle%20Inc.%5D) [Thu, 8 Sep 2016 00:40:07 +0000 (00:40 +0000)]
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.

8 years agoAdded back test code lost during merge.
Vinay Sajip [Thu, 8 Sep 2016 00:37:03 +0000 (01:37 +0100)]
Added back test code lost during merge.

8 years agoIssue #28005: Allow ImportErrors in encoding implementation to propagate.
Steve Dower [Thu, 8 Sep 2016 00:27:33 +0000 (17:27 -0700)]
Issue #28005: Allow ImportErrors in encoding implementation to propagate.

8 years agoNull merge.
Vinay Sajip [Thu, 8 Sep 2016 00:25:04 +0000 (01:25 +0100)]
Null merge.

8 years agoCloses #27930: Merged fix from 3.5.
Vinay Sajip [Thu, 8 Sep 2016 00:24:12 +0000 (01:24 +0100)]
Closes #27930: Merged fix from 3.5.

8 years agoFixes #27930: improved QueueListener behaviour.
Vinay Sajip [Thu, 8 Sep 2016 00:13:39 +0000 (01:13 +0100)]
Fixes #27930: improved QueueListener behaviour.

8 years agoFixes #27930: improved QueueListener behaviour.
Vinay Sajip [Thu, 8 Sep 2016 00:00:54 +0000 (01:00 +0100)]
Fixes #27930: improved QueueListener behaviour.

8 years agoIssue #27911: Remove some unnecessary error checks in import.c.
Brett Cannon [Thu, 8 Sep 2016 00:00:43 +0000 (17:00 -0700)]
Issue #27911: Remove some unnecessary error checks in import.c.

Thanks to Xiang Zhang for the patch.

8 years agoIssue #15767: Use ModuleNotFoundError.
Eric Snow [Wed, 7 Sep 2016 23:56:15 +0000 (16:56 -0700)]
Issue #15767: Use ModuleNotFoundError.

8 years agoIssue #15767: Add ModuleNotFoundError.
Eric Snow [Wed, 7 Sep 2016 22:42:32 +0000 (15:42 -0700)]
Issue #15767: Add ModuleNotFoundError.

8 years agoFixes issue #6766: Updated multiprocessing Proxy Objects to support nesting
Davin Potts [Wed, 7 Sep 2016 23:48:01 +0000 (18:48 -0500)]
Fixes issue #6766: Updated multiprocessing Proxy Objects to support nesting

8 years agoIssue #27993: Merge plural fixes from 3.5
Martin Panter [Wed, 7 Sep 2016 23:36:43 +0000 (23:36 +0000)]
Issue #27993: Merge plural fixes from 3.5

8 years agoIssue #27570: Merge null pointer fixes from 3.5
Martin Panter [Wed, 7 Sep 2016 23:31:39 +0000 (23:31 +0000)]
Issue #27570: Merge null pointer fixes from 3.5

8 years agoFixes Issue #27983: Cause lack of llvm-profdata tool when using clang as
Gregory P. Smith [Wed, 7 Sep 2016 23:11:08 +0000 (16:11 -0700)]
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.

8 years agoFixes issue# 27983: Cause lack of llvm-profdata tool when using clang -
Gregory P. Smith [Wed, 7 Sep 2016 23:10:00 +0000 (16:10 -0700)]
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.

8 years agoreplace some Py_LOCAL_INLINE with the inline keyword
Benjamin Peterson [Wed, 7 Sep 2016 22:33:32 +0000 (15:33 -0700)]
replace some Py_LOCAL_INLINE with the inline keyword

8 years agofix expected layout of code objects
Benjamin Peterson [Wed, 7 Sep 2016 21:56:15 +0000 (14:56 -0700)]
fix expected layout of code objects

8 years agomore linux -> __linux__
Benjamin Peterson [Wed, 7 Sep 2016 21:45:10 +0000 (14:45 -0700)]
more linux -> __linux__

8 years agoMerge: #22233: Only split headers on \r and/or \n, per email RFCs.
R David Murray [Wed, 7 Sep 2016 21:46:55 +0000 (17:46 -0400)]
Merge: #22233: Only split headers on \r and/or \n, per email RFCs.

8 years ago#22233: Only split headers on \r and/or \n, per email RFCs.
R David Murray [Wed, 7 Sep 2016 21:44:34 +0000 (17:44 -0400)]
#22233: Only split headers on \r and/or \n, per email RFCs.

Original patch by Martin Panter, new policy fixes by me.

8 years agoMake PyCodeObject.co_extra even more private to force users through the proper API.
Brett Cannon [Wed, 7 Sep 2016 21:30:39 +0000 (14:30 -0700)]
Make PyCodeObject.co_extra even more private to force users through the proper API.

8 years agouse c++ style comments
Benjamin Peterson [Wed, 7 Sep 2016 21:12:36 +0000 (14:12 -0700)]
use c++ style comments

8 years agouse the '__linux__' instead 'linux' preprocessor define
Benjamin Peterson [Wed, 7 Sep 2016 21:08:34 +0000 (14:08 -0700)]
use the '__linux__' instead 'linux' preprocessor define

8 years agoEliminate a tautological-pointer-compare warning found by Clang.
Brett Cannon [Wed, 7 Sep 2016 21:07:16 +0000 (14:07 -0700)]
Eliminate a tautological-pointer-compare warning found by Clang.

8 years ago#27331: add policy keyword argument to all MIME subclasses.
R David Murray [Wed, 7 Sep 2016 20:48:35 +0000 (16:48 -0400)]
#27331: add policy keyword argument to all MIME subclasses.

Patch by Berker Peksag.

8 years agoChange error return value to be more consistent with the rest of Python
Brett Cannon [Wed, 7 Sep 2016 19:51:08 +0000 (12:51 -0700)]
Change error return value to be more consistent with the rest of Python

8 years agoput -std=c99 in CFLAGS_NODIST
Benjamin Peterson [Wed, 7 Sep 2016 19:00:06 +0000 (12:00 -0700)]
put -std=c99 in CFLAGS_NODIST

8 years agocompile with -std=c99
Benjamin Peterson [Wed, 7 Sep 2016 18:53:55 +0000 (11:53 -0700)]
compile with -std=c99

8 years agopermit intermingled declarations
Benjamin Peterson [Wed, 7 Sep 2016 18:43:22 +0000 (11:43 -0700)]
permit intermingled declarations

8 years agohardcode sizeof(_Bool) on windows
Benjamin Peterson [Wed, 7 Sep 2016 18:39:46 +0000 (11:39 -0700)]
hardcode sizeof(_Bool) on windows

8 years agouse a the bool type for a boolean variable
Benjamin Peterson [Wed, 7 Sep 2016 18:28:35 +0000 (11:28 -0700)]
use a the bool type for a boolean variable

8 years agoAdd the co_extra field and accompanying APIs to code objects.
Brett Cannon [Wed, 7 Sep 2016 18:16:41 +0000 (11:16 -0700)]
Add the co_extra field and accompanying APIs to code objects.

This completes PEP 523.

8 years agorequire C99 bool
Benjamin Peterson [Wed, 7 Sep 2016 18:06:17 +0000 (11:06 -0700)]
require C99 bool

8 years agoMerge: #26209: Clarify type of *localaddr*/*remoteadr* in smtpd docs.
R David Murray [Wed, 7 Sep 2016 18:02:11 +0000 (14:02 -0400)]
Merge: #26209: Clarify type of *localaddr*/*remoteadr* in smtpd docs.

8 years ago#26209: Clarify type of *localaddr*/*remoteadr* in smtpd docs.
R David Murray [Wed, 7 Sep 2016 18:01:23 +0000 (14:01 -0400)]
#26209: Clarify type of *localaddr*/*remoteadr* in smtpd docs.

8 years agoMerge: 27988: Make sure iter_attachments does not mutate the payload list.
R David Murray [Wed, 7 Sep 2016 17:41:06 +0000 (13:41 -0400)]
Merge: 27988: Make sure iter_attachments does not mutate the payload list.

8 years ago27988: Make sure iter_attachments does not mutate the payload list.
R David Murray [Wed, 7 Sep 2016 17:39:36 +0000 (13:39 -0400)]
27988: Make sure iter_attachments does not mutate the payload list.

8 years agomake _Py_static_string_init use a designated initializer
Benjamin Peterson [Wed, 7 Sep 2016 17:33:28 +0000 (10:33 -0700)]
make _Py_static_string_init use a designated initializer

8 years agoIssue #27959: Prevent ImportError from escaping codec search function
Steve Dower [Wed, 7 Sep 2016 16:31:52 +0000 (09:31 -0700)]
Issue #27959: Prevent ImportError from escaping codec search function

8 years agoreplace PY_SIZE_MAX with SIZE_MAX
Benjamin Peterson [Wed, 7 Sep 2016 16:26:18 +0000 (09:26 -0700)]
replace PY_SIZE_MAX with SIZE_MAX

8 years agomerge 3.5 (closes #27968)
Benjamin Peterson [Wed, 7 Sep 2016 16:00:57 +0000 (09:00 -0700)]
merge 3.5 (closes #27968)

8 years agocapture stderr to silence output during test_coroutines (closes #27968)
Benjamin Peterson [Wed, 7 Sep 2016 16:00:48 +0000 (09:00 -0700)]
capture stderr to silence output during test_coroutines (closes #27968)

8 years agonew and exciting shutdown error on windows
Benjamin Peterson [Wed, 7 Sep 2016 15:54:35 +0000 (08:54 -0700)]
new and exciting shutdown error on windows

8 years agomerge 3.5 (#27968)
Benjamin Peterson [Wed, 7 Sep 2016 15:47:18 +0000 (08:47 -0700)]
merge 3.5 (#27968)

8 years agosupress coroutine warning when an exception is pending (#27968)
Benjamin Peterson [Wed, 7 Sep 2016 15:46:59 +0000 (08:46 -0700)]
supress coroutine warning when an exception is pending (#27968)

8 years agoadd recipes for pseudo-valueless enums
Ethan Furman [Wed, 7 Sep 2016 15:17:15 +0000 (08:17 -0700)]
add recipes for pseudo-valueless enums

8 years agoIssue #16113: one more C90 violation in big endian code.
Christian Heimes [Wed, 7 Sep 2016 11:18:40 +0000 (13:18 +0200)]
Issue #16113: one more C90 violation in big endian code.

8 years agoIssue #27993: Fix problems with plural objects in docs and comments
Martin Panter [Wed, 7 Sep 2016 11:04:41 +0000 (11:04 +0000)]
Issue #27993: Fix problems with plural objects in docs and comments

8 years agoIssue #27895: Spelling fixes (Contributed by Ville Skyttä).
Martin Panter [Wed, 7 Sep 2016 12:03:06 +0000 (12:03 +0000)]
Issue #27895:  Spelling fixes (Contributed by Ville Skyttä).

8 years agoIssue #27570: Avoid zero-length memcpy() calls with null source pointers
Martin Panter [Wed, 7 Sep 2016 11:04:41 +0000 (11:04 +0000)]
Issue #27570: Avoid zero-length memcpy() calls with null source pointers

8 years agoIssue #16113: take 2 on big endian machines.
Christian Heimes [Wed, 7 Sep 2016 11:01:15 +0000 (13:01 +0200)]
Issue #16113: take 2 on big endian machines.

8 years agoIssue #16113: compile the module on Windows, too.
Christian Heimes [Wed, 7 Sep 2016 10:51:56 +0000 (12:51 +0200)]
Issue #16113: compile the module on Windows, too.

8 years agoIssue #16113: KeccakP-1600-opt64 does not support big endian platforms yet.
Christian Heimes [Wed, 7 Sep 2016 10:42:47 +0000 (12:42 +0200)]
Issue #16113: KeccakP-1600-opt64 does not support big endian platforms yet.

8 years agoIssue #16113: Add SHA-3 and SHAKE support to hashlib module.
Christian Heimes [Wed, 7 Sep 2016 09:58:24 +0000 (11:58 +0200)]
Issue #16113: Add SHA-3 and SHAKE support to hashlib module.

8 years agoblake2: silence two more warnings on platforms with size_t < uint64_t. Don't use...
Christian Heimes [Wed, 7 Sep 2016 09:39:21 +0000 (11:39 +0200)]
blake2: silence two more warnings on platforms with size_t < uint64_t. Don't use SSE2 when cross-compiling

8 years agoIssue #26032: Optimized globbing in pathlib by using os.scandir(); it is now
Serhiy Storchaka [Wed, 7 Sep 2016 07:58:05 +0000 (10:58 +0300)]
Issue #26032: Optimized globbing in pathlib by using os.scandir(); it is now
about 1.5--4 times faster.

8 years agoissue20842 - null merge with 3.5
Senthil Kumaran [Wed, 7 Sep 2016 07:53:17 +0000 (00:53 -0700)]
issue20842 - null merge with 3.5

8 years ago[backport to 3.5] - issue26896 - Disambiguate uses of "importer" with "finder".
Senthil Kumaran [Wed, 7 Sep 2016 07:52:20 +0000 (00:52 -0700)]
[backport to 3.5] - issue26896 - Disambiguate uses of "importer" with "finder".

8 years agoRename weighted_choices() to just choices()
Raymond Hettinger [Wed, 7 Sep 2016 07:08:44 +0000 (00:08 -0700)]
Rename weighted_choices() to just choices()

8 years agoIssue #25596: Falls back to listdir in glob for bytes paths on Windows.
Serhiy Storchaka [Wed, 7 Sep 2016 06:49:42 +0000 (09:49 +0300)]
Issue #25596: Falls back to listdir in glob for bytes paths on Windows.

8 years agoIssue #27905: Docs for typing.Type[C], by Michael Lee. (Merge 3.5->3.6)
Guido van Rossum [Wed, 7 Sep 2016 04:13:15 +0000 (21:13 -0700)]
Issue #27905: Docs for typing.Type[C], by Michael Lee. (Merge 3.5->3.6)

8 years agoIssue #27905: Docs for typing.Type[C], by Michael Lee.
Guido van Rossum [Wed, 7 Sep 2016 04:12:44 +0000 (21:12 -0700)]
Issue #27905: Docs for typing.Type[C], by Michael Lee.

8 years agomerge 3.5
Benjamin Peterson [Wed, 7 Sep 2016 03:42:17 +0000 (20:42 -0700)]
merge 3.5

8 years agoIssue #27731: Opt-out of MAX_PATH on Windows 10
Steve Dower [Wed, 7 Sep 2016 03:40:11 +0000 (20:40 -0700)]
Issue #27731: Opt-out of MAX_PATH on Windows 10

8 years agopromote some shifts to unsigned, so as not to invoke undefined behavior
Benjamin Peterson [Wed, 7 Sep 2016 03:40:04 +0000 (20:40 -0700)]
promote some shifts to unsigned, so as not to invoke undefined behavior

8 years agoget skipIf from the right place
Benjamin Peterson [Wed, 7 Sep 2016 03:22:41 +0000 (20:22 -0700)]
get skipIf from the right place

8 years agoIssue #6135: Adds encoding and errors parameters to subprocess
Steve Dower [Wed, 7 Sep 2016 03:16:17 +0000 (20:16 -0700)]
Issue #6135: Adds encoding and errors parameters to subprocess

8 years agoFix test_os.GetRandomTests()
Victor Stinner [Wed, 7 Sep 2016 02:57:40 +0000 (19:57 -0700)]
Fix test_os.GetRandomTests()

Issue #27778: Skip getrandom() tests if getrandom() fails with ENOSYS.

8 years agoIssue #27959: Updates NEWS and whatsnew
Steve Dower [Wed, 7 Sep 2016 02:55:55 +0000 (19:55 -0700)]
Issue #27959: Updates NEWS and whatsnew

8 years agoIssue #27959: Documents new encoding and alias.
Steve Dower [Wed, 7 Sep 2016 02:46:42 +0000 (19:46 -0700)]
Issue #27959: Documents new encoding and alias.

8 years agoIssue #27959: Adds oem encoding, alias ansi to mbcs, move aliasmbcs to codec lookup
Steve Dower [Wed, 7 Sep 2016 02:42:27 +0000 (19:42 -0700)]
Issue #27959: Adds oem encoding, alias ansi to mbcs, move aliasmbcs to codec lookup

8 years agoAdds test.support.PGO and skips tests that are not useful for PGO.
Steve Dower [Wed, 7 Sep 2016 02:38:15 +0000 (19:38 -0700)]
Adds test.support.PGO and skips tests that are not useful for PGO.

8 years agoIssue #27182: Add support for path-like objects to PyUnicode_FSDecoder().
Brett Cannon [Wed, 7 Sep 2016 02:36:01 +0000 (19:36 -0700)]
Issue #27182: Add support for path-like objects to PyUnicode_FSDecoder().

8 years agoFix some warnings from MSVC
Steve Dower [Wed, 7 Sep 2016 02:09:15 +0000 (19:09 -0700)]
Fix some warnings from MSVC

8 years agomerge 3.5
Benjamin Peterson [Wed, 7 Sep 2016 02:04:37 +0000 (19:04 -0700)]
merge 3.5

8 years agodo not memcpy from NULL
Benjamin Peterson [Wed, 7 Sep 2016 02:03:40 +0000 (19:03 -0700)]
do not memcpy from NULL

8 years agoMerge from 3.5
Berker Peksag [Wed, 7 Sep 2016 01:03:02 +0000 (04:03 +0300)]
Merge from 3.5