]>
granicus.if.org Git - python/log
Berker Peksag [Mon, 18 Apr 2016 18:21:10 +0000 (21:21 +0300)]
Issue #26615: Add missing __qualname__ entry to functools.update_wrapper() docs
Patch by Xiang Zhang.
Berker Peksag [Mon, 18 Apr 2016 18:20:50 +0000 (21:20 +0300)]
Issue #26615: Add missing __qualname__ entry to functools.update_wrapper() docs
Patch by Xiang Zhang.
Guido van Rossum [Mon, 18 Apr 2016 14:39:54 +0000 (07:39 -0700)]
typing.py: merge 3.5->3.6 (Tuple/ellipsis/equality).
Guido van Rossum [Mon, 18 Apr 2016 14:37:41 +0000 (07:37 -0700)]
typing.py: Consider ellipsis in TupleMeta.__eq__. By Kalle Tuure. github.com/python/typing/pull/201.
Victor Stinner [Mon, 18 Apr 2016 08:29:19 +0000 (10:29 +0200)]
Merge 3.5 (test_asyncio)
Victor Stinner [Mon, 18 Apr 2016 08:28:42 +0000 (10:28 +0200)]
Fix test_asyncio.test_timeout_disable()
Issue #26777: Fix random failing of the test on the "AMD64 FreeBSD 9.x 3.5"
buildbot:
File ".../Lib/test/test_asyncio/test_tasks.py", line 2398, in go
self.assertTrue(0.09 < dt < 0.11, dt)
AssertionError: False is not true : 0.
11902812402695417
Replace "< 0.11" with "< 0.15".
Martin Panter [Mon, 18 Apr 2016 07:16:17 +0000 (07:16 +0000)]
Issue #26657: Merge http.server fix from 3.5
Georg Brandl [Mon, 18 Apr 2016 05:25:54 +0000 (07:25 +0200)]
#25987: add versionadded to Reversible.
Raymond Hettinger [Mon, 18 Apr 2016 04:21:01 +0000 (21:21 -0700)]
Fix spelling error
Martin Panter [Mon, 18 Apr 2016 03:45:18 +0000 (03:45 +0000)]
Issue #26657: Fix Windows directory traversal vulnerability with http.server
Based on patch by Philipp Hagemeister. This fixes a regression caused by
revision
f4377699fd47 .
Guido van Rossum [Mon, 18 Apr 2016 00:53:50 +0000 (17:53 -0700)]
Sync test_typing.py with upstream git repo (typing.py was already synced). (3.5->3.6)
Guido van Rossum [Mon, 18 Apr 2016 00:52:05 +0000 (17:52 -0700)]
Sync test_typing.py with upstream git repo (typing.py was already synced).
Serhiy Storchaka [Sun, 17 Apr 2016 17:31:51 +0000 (20:31 +0300)]
Issue #26745: Removed redundant code in _PyObject_GenericSetAttrWithDict.
Based on patch by Xiang Zhang.
Victor Stinner [Sun, 17 Apr 2016 14:51:52 +0000 (16:51 +0200)]
Avoid fcntl() if possible in set_inheritable()
Issue #26770: set_inheritable() avoids calling fcntl() twice if the FD_CLOEXEC
is already set/cleared. This change only impacts platforms using the fcntl()
implementation of set_inheritable() (not Linux nor Windows).
Serhiy Storchaka [Sun, 17 Apr 2016 06:39:28 +0000 (09:39 +0300)]
Issue #26778: Fixed "a/an/and" typos in code comment, documentation and error
messages.
Serhiy Storchaka [Sun, 17 Apr 2016 05:32:47 +0000 (08:32 +0300)]
Issue #26778: Fixed "a/an/and" typos in code comment and documentation.
Steven D'Aprano [Sun, 17 Apr 2016 03:14:48 +0000 (13:14 +1000)]
Automated merge with ssh://hg.python.org/cpython
Steven D'Aprano [Sun, 17 Apr 2016 03:13:36 +0000 (13:13 +1000)]
Shorten secrets module docstring, add function docstrings.
Steven D'Aprano [Sun, 17 Apr 2016 03:05:10 +0000 (13:05 +1000)]
Fix a few minor typos to secrets documentation.
Martin Panter [Sun, 17 Apr 2016 02:36:50 +0000 (02:36 +0000)]
Issue #26717: Merge wsgiref fix from 3.5
Martin Panter [Sun, 17 Apr 2016 02:17:03 +0000 (02:17 +0000)]
Issue #26717: Stop encoding Latin-1-ized WSGI paths with UTF-8
Patch by Anthony Sottile.
Martin Panter [Sat, 16 Apr 2016 23:42:37 +0000 (23:42 +0000)]
Issue #26782: Add STARTUPINFO to subprocess.__all__ on Windows
Martin Panter [Sat, 16 Apr 2016 23:40:15 +0000 (23:40 +0000)]
Issue #26782: Merge test_subprocess from 3.5
Martin Panter [Sat, 16 Apr 2016 23:38:25 +0000 (23:38 +0000)]
Issue #26782: Acknowledge the incomplete status of __all__ in 3.5
Handle is probably meant to be excluded, and STARTUPINFO will be added to
__all__ in 3.6.
Benjamin Peterson [Sat, 16 Apr 2016 22:12:37 +0000 (15:12 -0700)]
merge 3.5
Benjamin Peterson [Sat, 16 Apr 2016 22:12:29 +0000 (15:12 -0700)]
fix slice cache finalization to use gc del
Benjamin Peterson [Sat, 16 Apr 2016 22:02:29 +0000 (15:02 -0700)]
merge 3.5
Benjamin Peterson [Sat, 16 Apr 2016 22:02:23 +0000 (15:02 -0700)]
test_support -> support
Benjamin Peterson [Sat, 16 Apr 2016 21:54:27 +0000 (14:54 -0700)]
merge 3.5 (#26659)
Benjamin Peterson [Sat, 16 Apr 2016 21:47:12 +0000 (14:47 -0700)]
add gc support to slice (closes #26659)
Steven D'Aprano [Sat, 16 Apr 2016 15:42:33 +0000 (01:42 +1000)]
Documentation for secrets.py
Serhiy Storchaka [Sat, 16 Apr 2016 14:51:17 +0000 (17:51 +0300)]
Issue #26783: test_os.WalkTests.test_walk_topdown did't test fwalk and bytes.
Patch by Aviv Palivoda.
Serhiy Storchaka [Sat, 16 Apr 2016 14:51:00 +0000 (17:51 +0300)]
Issue #26783: test_os.WalkTests.test_walk_topdown did't test fwalk and bytes.
Patch by Aviv Palivoda.
Senthil Kumaran [Sat, 16 Apr 2016 14:34:24 +0000 (07:34 -0700)]
merge 3.5
issue26775 - Improve test coverage for urllib.parse
Patch contributed by Luiz Poleto.
Senthil Kumaran [Sat, 16 Apr 2016 14:33:15 +0000 (07:33 -0700)]
issue26775 - Improve test coverage for urllib.parse
Patch contributed by Luiz Poleto.
Martin Panter [Sat, 16 Apr 2016 11:51:31 +0000 (11:51 +0000)]
Merge subprocess test from 3.5
Martin Panter [Sat, 16 Apr 2016 11:28:10 +0000 (11:28 +0000)]
Issue #10838: Run test__all__() everywhere, even if poll() is not available
Martin Panter [Sat, 16 Apr 2016 09:29:17 +0000 (09:29 +0000)]
Merge typo fixes from 3.5
Martin Panter [Sat, 16 Apr 2016 09:28:57 +0000 (09:28 +0000)]
Fix typos in code comments and documentation
Martin Panter [Sat, 16 Apr 2016 07:36:08 +0000 (07:36 +0000)]
Issue #26638: Merge link fixes from 3.5
Martin Panter [Sat, 16 Apr 2016 04:59:38 +0000 (04:59 +0000)]
Issue #26638: Fix links to some CLI options and section headings
* Disable inappropriate links to Python interpreter options
* Correct link to CLI section in zipapp
* Make CLI section label in timeit less ambiguous
Martin Panter [Sat, 16 Apr 2016 00:20:21 +0000 (00:20 +0000)]
Issue #25314: Merge argparse doc from 3.5
Gregory P. Smith [Fri, 15 Apr 2016 23:58:51 +0000 (16:58 -0700)]
Issue #25702: A --with-lto configure option has been added that will
enable link time optimizations at build time during a make profile-opt.
Gregory P. Smith [Fri, 15 Apr 2016 23:57:04 +0000 (16:57 -0700)]
Issue #25702: A --with-lto configure option has been added that will
enable link time optimizations at build time during a make profile-opt.
Gregory P. Smith [Fri, 15 Apr 2016 23:51:02 +0000 (16:51 -0700)]
merge heads
Gregory P. Smith [Fri, 15 Apr 2016 23:47:32 +0000 (16:47 -0700)]
merge heads
Gregory P. Smith [Fri, 15 Apr 2016 23:47:15 +0000 (16:47 -0700)]
merge heads
Gregory P. Smith [Fri, 15 Apr 2016 23:46:14 +0000 (16:46 -0700)]
Exclude super long running tests from the PROFILE_TASK for PGO
builds. multiprocessing and subprocess tests in particular
along with test_asyncore and test_gdb. Running them does not
meaningfully add to the profile guidance.
Gregory P. Smith [Fri, 15 Apr 2016 23:45:43 +0000 (16:45 -0700)]
Exclude super long running tests from the PROFILE_TASK for PGO
builds. multiprocessing and subprocess tests in particular
along with test_asyncore and test_gdb. Running them does not
meaningfully add to the profile guidance.
Martin Panter [Fri, 15 Apr 2016 23:16:51 +0000 (23:16 +0000)]
Issue #26535: Merge struct doc from 3.5
Martin Panter [Fri, 15 Apr 2016 23:03:54 +0000 (23:03 +0000)]
Issue #26535: Correct docs regarding the struct buffer size
Berker Peksag [Fri, 15 Apr 2016 22:20:47 +0000 (01:20 +0300)]
Issue #26766: Remove redundant bytearray_format() from bytearrayobject.c
Brett Cannon [Fri, 15 Apr 2016 19:44:09 +0000 (12:44 -0700)]
Merge for issue #26760
Brett Cannon [Fri, 15 Apr 2016 19:43:50 +0000 (12:43 -0700)]
Issue #26760: Minimally document PyFrameObject
Steven D'Aprano [Fri, 15 Apr 2016 18:33:55 +0000 (04:33 +1000)]
Remove python fallback for compare_digest.
See https://mail.python.org/pipermail/python-dev/2016-April/144198.html
https://mail.python.org/pipermail/python-dev/2016-April/144203.html
Brett Cannon [Fri, 15 Apr 2016 17:51:46 +0000 (10:51 -0700)]
Merge for issue #25609
Brett Cannon [Fri, 15 Apr 2016 17:51:30 +0000 (10:51 -0700)]
Issue #25609: Backport typing.ContextManager.
This has no semantic impact as the class is guarded with a hasattr()
check; this is being done to keep typing.py in sync between Python 3.5
and 3.6 as requested by Guido.
Victor Stinner [Fri, 15 Apr 2016 15:52:27 +0000 (17:52 +0200)]
Issue #26766: Fix _PyBytesWriter_Finish()
Return a bytearray object when bytearray is requested and when the small buffer
is used.
Fix also test_bytes: bytearray%args must return a bytearray type.
Serhiy Storchaka [Fri, 15 Apr 2016 11:14:05 +0000 (14:14 +0300)]
Null merge
Serhiy Storchaka [Fri, 15 Apr 2016 11:13:37 +0000 (14:13 +0300)]
Issue #26764: Bacported tests for bytes formatting.
Serhiy Storchaka [Fri, 15 Apr 2016 11:11:10 +0000 (14:11 +0300)]
Issue #26764: Fixed SystemError in bytes.__rmod__.
Martin Panter [Fri, 15 Apr 2016 02:27:11 +0000 (02:27 +0000)]
Issue #15984: Merge PyUnicode doc from 3.5
Martin Panter [Fri, 15 Apr 2016 00:56:21 +0000 (00:56 +0000)]
Issue #15984: Correct PyUnicode_FromObject() and _FromEncodedObject() docs
Martin Panter [Fri, 15 Apr 2016 02:14:19 +0000 (02:14 +0000)]
Correct “an” → “a” with “Unicode”, “user”, “UTF”, etc
This affects documentation, code comments, and a debugging messages.
Steven D'Aprano [Fri, 15 Apr 2016 00:06:18 +0000 (10:06 +1000)]
Fix missing parens.
Steven D'Aprano [Fri, 15 Apr 2016 00:04:24 +0000 (10:04 +1000)]
Improve tests with more modern assert* methods and subTests.
Steven D'Aprano [Thu, 14 Apr 2016 15:55:14 +0000 (01:55 +1000)]
run Tools/reindent.py on secrets.py to satisfy the checkwhitespace hook
Steven D'Aprano [Thu, 14 Apr 2016 15:51:31 +0000 (01:51 +1000)]
Add secrets module and tests.
Zachary Ware [Thu, 14 Apr 2016 15:22:58 +0000 (10:22 -0500)]
Closes #26706: Merge with 3.5
Zachary Ware [Thu, 14 Apr 2016 15:22:12 +0000 (10:22 -0500)]
Issue #26706: Update OpenSSL version in PCbuild/readme.txt
Thanks to Shaun Walbridge for noticing.
Berker Peksag [Thu, 14 Apr 2016 13:49:21 +0000 (16:49 +0300)]
Fix unused variable 'libver' warning in Modules/_ssl.c
It can be seen on various buildbots like 3.x.cea-indiana-amd64
and 3.x.murray-snowleopard:
/export/home/buildbot/64bits/3.x.cea-indiana-amd64/build/Modules/_ssl.c:2227: warning: unused variable 'libver'
/Users/buildbot/buildarea/3.x.murray-snowleopard/build/Modules/_ssl.c:2227: warning: unused variable ‘libver’
Berker Peksag [Thu, 14 Apr 2016 13:48:48 +0000 (16:48 +0300)]
Fix unused variable 'libver' warning in Modules/_ssl.c
It can be seen on various buildbots like 3.x.cea-indiana-amd64
and 3.x.murray-snowleopard:
/export/home/buildbot/64bits/3.x.cea-indiana-amd64/build/Modules/_ssl.c:2227: warning: unused variable 'libver'
/Users/buildbot/buildarea/3.x.murray-snowleopard/build/Modules/_ssl.c:2227: warning: unused variable ‘libver’
Serhiy Storchaka [Thu, 14 Apr 2016 09:36:11 +0000 (12:36 +0300)]
fs_unicode_converter is no longer used.
Serhiy Storchaka [Thu, 14 Apr 2016 09:30:54 +0000 (12:30 +0300)]
Issues #26716, #26057: Regenerate Argument Clinic code.
Serhiy Storchaka [Thu, 14 Apr 2016 09:28:01 +0000 (12:28 +0300)]
Issue #26716: Regenerate Argument Clinic code.
Ethan Furman [Thu, 14 Apr 2016 06:55:40 +0000 (23:55 -0700)]
Issue26748: Enum classes should evaluate as True
Ethan Furman [Thu, 14 Apr 2016 06:53:45 +0000 (23:53 -0700)]
Issue26748: Enum classes should evaluate as True
Ethan Furman [Thu, 14 Apr 2016 06:52:09 +0000 (23:52 -0700)]
Issue26748: Enum classes should evaluate as True
Serhiy Storchaka [Wed, 13 Apr 2016 12:37:23 +0000 (15:37 +0300)]
Issue #26057: Got rid of nonneeded use of PyUnicode_FromObject().
Serhiy Storchaka [Wed, 13 Apr 2016 12:28:53 +0000 (15:28 +0300)]
Issue #26718: super.__init__ no longer leaks memory if called multiple times.
NOTE: A direct call of super.__init__ is not endorsed!
Serhiy Storchaka [Wed, 13 Apr 2016 12:27:33 +0000 (15:27 +0300)]
Issue #26718: super.__init__ no longer leaks memory if called multiple times.
NOTE: A direct call of super.__init__ is not endorsed!
Senthil Kumaran [Wed, 13 Apr 2016 06:15:44 +0000 (23:15 -0700)]
merge 3.5.
[minor] - Correct the docstring of locale.str. Patch by poleto.
Senthil Kumaran [Wed, 13 Apr 2016 06:14:14 +0000 (23:14 -0700)]
[minor] - Correct the docstring of locale.str. Patch by poleto.
Martin Panter [Wed, 13 Apr 2016 03:31:33 +0000 (03:31 +0000)]
Issue #25496: Merge tarfile doc from 3.5
Martin Panter [Wed, 13 Apr 2016 03:24:06 +0000 (03:24 +0000)]
Issue #25496: Document compresslevel defaults to 9, by Hamza T Khan
Steve Dower [Wed, 13 Apr 2016 03:11:45 +0000 (20:11 -0700)]
Closes #26624: Adds validation of ucrtbase[d].dll version with warning for old versions.
Steve Dower [Wed, 13 Apr 2016 03:11:25 +0000 (20:11 -0700)]
Closes #26624: Adds validation of ucrtbase[d].dll version with warning for old versions.
Martin Panter [Wed, 13 Apr 2016 00:36:52 +0000 (00:36 +0000)]
Issue #26404: Add context manager to socketserver, by Aviv Palivoda
Victor Stinner [Tue, 12 Apr 2016 20:38:22 +0000 (22:38 +0200)]
Merge 3.5 (os.urandom)
Victor Stinner [Tue, 12 Apr 2016 20:34:58 +0000 (22:34 +0200)]
configure: fix HAVE_GETRANDOM_SYSCALL check
syscall() function requires #include <unistd.h>.
Victor Stinner [Tue, 12 Apr 2016 20:28:49 +0000 (22:28 +0200)]
Fix os.urandom() on Solaris 11.3
Issue #26735: Fix os.urandom() on Solaris 11.3 and newer when reading more than
1,024 bytes: call getrandom() multiple times with a limit of 1024 bytes per
call.
Victor Stinner [Tue, 12 Apr 2016 16:46:10 +0000 (18:46 +0200)]
Update pygettext.py to get ride of imp
Issue #26639: Replace imp with importlib in Tools/i18n/pygettext.py.
Remove _get_modpkg_path(), replaced with importlib.util.find_spec().
Victor Stinner [Tue, 12 Apr 2016 16:33:54 +0000 (18:33 +0200)]
Merge 3.5
Victor Stinner [Tue, 12 Apr 2016 16:33:41 +0000 (18:33 +0200)]
Issue #26647: Fix typo in test_grammar
Patch written by Demur Rumed.
Victor Stinner [Tue, 12 Apr 2016 16:17:06 +0000 (18:17 +0200)]
Issue #26647: Cleanup modulefinder
Use directly dis.opmap[name] rather than dis.opname.index(name).
Patch written by Demur Rumed.
Victor Stinner [Tue, 12 Apr 2016 16:15:26 +0000 (18:15 +0200)]
Issue #26647: Cleanup opcode
Simplify code to build opcode.opname. Patch written by Demur Rumed.
Georg Brandl [Tue, 12 Apr 2016 05:52:22 +0000 (07:52 +0200)]
merge with 3.5
Georg Brandl [Tue, 12 Apr 2016 05:51:41 +0000 (07:51 +0200)]
Clarify greedy-qualifier example, avoid HTML.
Serhiy Storchaka [Tue, 12 Apr 2016 05:47:08 +0000 (08:47 +0300)]
Issue #26733: Fixed formatting line numbers in test_dis.
Based on patch by Xiang Zhang.
Serhiy Storchaka [Tue, 12 Apr 2016 05:46:28 +0000 (08:46 +0300)]
Issue #26733: Fixed formatting line numbers in test_dis.
Based on patch by Xiang Zhang.