]> granicus.if.org Git - python/log
python
8 years agobpo-25455: Fixed crashes in repr of recursive buffered file-like objects. (#514)...
Serhiy Storchaka [Sun, 19 Mar 2017 18:27:16 +0000 (20:27 +0200)]
bpo-25455: Fixed crashes in repr of recursive buffered file-like objects. (#514) (#722)

(cherry picked from commit a5af6e1af77ee0f9294c5776478a9c24d9fbab94)

8 years agobpo-28749: Fixed the documentation of the mapping codec APIs. (#487) (#714)
Serhiy Storchaka [Sun, 19 Mar 2017 18:26:26 +0000 (20:26 +0200)]
bpo-28749: Fixed the documentation of the mapping codec APIs. (#487) (#714)

Added the documentation for PyUnicode_Translate().
(cherry picked from commit c85a26628ceb9624c96c3064e8b99033c026d8a3)

8 years agoDrop C++ header compatibility test (#718) (#719)
Brett Cannon [Sun, 19 Mar 2017 17:03:39 +0000 (10:03 -0700)]
Drop C++ header compatibility test (#718) (#719)

The $CXX environment variable is not exported under the 'c' language on Travis.
(cherry picked from commit 77ed11552da3e01dd235b7d68988076866b1f604)

8 years agoCombine the C++ header CI build into the main C build (GH-697) (GH-704)
Brett Cannon [Fri, 17 Mar 2017 22:41:35 +0000 (15:41 -0700)]
Combine the C++ header CI build into the main C build (GH-697) (GH-704)

This will eliminate one of the builds in Travis, allowing for CI overall to complete faster.
(cherry picked from commit 993d4b3440f2282976901ce66879037c4443868a)

8 years agobpo-29808: Do not fail in SysLogHandler constructor if syslog isn't available. (...
Vinay Sajip [Fri, 17 Mar 2017 19:52:56 +0000 (19:52 +0000)]
bpo-29808: Do not fail in SysLogHandler constructor if syslog isn't available. (#696)

bpo-29808: SysLogHandler: Do not fail if initial connect to syslog failed.

(cherry picked from commit 1b038e073807ecb6fd176edaf3386a8e3205416e)

8 years agobpo-16355: Clarify when inspect.getcomments() returns None (#428) (#690)
Berker Peksag [Fri, 17 Mar 2017 11:59:16 +0000 (14:59 +0300)]
bpo-16355: Clarify when inspect.getcomments() returns None (#428) (#690)

Initial patch by Vajrasky Kok.

(cherry picked from commit 3f2155ffe683080f2a1b28408fa48d43ba92f943)

8 years agoAdd sockaddr_alg to sock_addr_t (GH-234) (GH-533)
Mariatta [Fri, 17 Mar 2017 03:59:36 +0000 (20:59 -0700)]
Add sockaddr_alg to sock_addr_t (GH-234) (GH-533)

(cherry picked from commit d37c068e695f8ec72b5c1b5a5a5ece2337fda768)

8 years agoupdate test_socket AEAD test for kernel 4.9 and up (GH-133) (GH-548)
Mariatta [Fri, 17 Mar 2017 03:58:42 +0000 (20:58 -0700)]
update test_socket AEAD test for kernel 4.9 and up (GH-133) (GH-548)

(cherry picked from commit 9764c151c51480a7ca6042b1ccd69be2620ff360)

8 years agobpo-29820: othergui.rst: Remove outdated information (GH-685) (GH-688)
Mariatta [Fri, 17 Mar 2017 02:56:56 +0000 (19:56 -0700)]
bpo-29820: othergui.rst: Remove outdated information  (GH-685) (GH-688)

(cherry picked from commit 1bb0f3762ec5104014aeed0ae6e9d64598d8fcac)

8 years agoTakes vcruntime140.dll from the correct source. (#684)
Steve Dower [Thu, 16 Mar 2017 18:03:03 +0000 (11:03 -0700)]
Takes vcruntime140.dll from the correct source. (#684)

8 years agoFix stderr bug in json.tool test (#346) (#676)
Berker Peksag [Thu, 16 Mar 2017 13:22:35 +0000 (16:22 +0300)]
Fix stderr bug in json.tool test (#346) (#676)

See https://github.com/python/cpython/pull/201#discussion_r103229425.(cherry picked from commit b4e9087e7b77e8f76feac76f9c1ab21b49c0c766)

8 years agoChange assertRaises to assertRaisesRegex in test_xmlrpc (#481) (#674)
Berker Peksag [Wed, 15 Mar 2017 11:12:53 +0000 (14:12 +0300)]
Change assertRaises to assertRaisesRegex in test_xmlrpc (#481) (#674)

(cherry picked from commit c6b448b36d22769c684bb3276f85c1b47d15ab63)

8 years agoDelete duplicate entry in Misc/NEWS (#673)
Berker Peksag [Wed, 15 Mar 2017 11:12:22 +0000 (14:12 +0300)]
Delete duplicate entry in Misc/NEWS (#673)

It has already been added in the build section.

8 years agobpo-29800: Fix crashes in partial.__repr__ if the keys of partial.keywords are not...
Michael Seifert [Wed, 15 Mar 2017 07:42:02 +0000 (08:42 +0100)]
bpo-29800: Fix crashes in partial.__repr__ if the keys of partial.keywords are not strings (#649) (#671)

8 years agobpo-28856: Let %b format for bytes support objects that follow the buffer protocol...
Xiang Zhang [Tue, 14 Mar 2017 07:27:01 +0000 (15:27 +0800)]
bpo-28856: Let %b format for bytes support objects that follow the buffer protocol  (GH-664)

8 years agoftplib.FTP.retrbinary callback gets a bytes, not a str (GH-652) (GH-657)
Xiang Zhang [Mon, 13 Mar 2017 03:03:36 +0000 (11:03 +0800)]
ftplib.FTP.retrbinary callback gets a bytes, not a str (GH-652) (GH-657)

8 years agofix the name of argument to ftplib.FTP.set_pasv and fix wording (GH-653) (GH-654)
Xiang Zhang [Mon, 13 Mar 2017 02:36:34 +0000 (10:36 +0800)]
fix the name of argument to ftplib.FTP.set_pasv and fix wording (GH-653) (GH-654)

8 years agobpo-29742: asyncio get_extra_info() throws exception (#525) (#645)
Yury Selivanov [Sun, 12 Mar 2017 21:06:16 +0000 (17:06 -0400)]
bpo-29742: asyncio get_extra_info() throws exception (#525) (#645)

8 years agoFix wrapping into StopIteration of return values in generators and coroutines (#644...
Yury Selivanov [Sun, 12 Mar 2017 21:04:06 +0000 (17:04 -0400)]
Fix wrapping into StopIteration of return values in generators and coroutines (#644) (#647)

8 years ago[3.6] bpo-8256: Fixed possible failing or crashing input() (#641)
Serhiy Storchaka [Sun, 12 Mar 2017 19:52:17 +0000 (21:52 +0200)]
[3.6] bpo-8256: Fixed possible failing or crashing input() (#641)

if attributes "encoding" or "errors" of sys.stdin or sys.stdout are not set or are not strings.

8 years ago[3.6] bpo-29723: Consistently configure sys.path[0] (#636)
Nick Coghlan [Sun, 12 Mar 2017 11:34:22 +0000 (21:34 +1000)]
[3.6] bpo-29723: Consistently configure sys.path[0] (#636)

Directory and zipfile execution previously added
the parent directory of the directory or zipfile
as sys.path[0] and then subsequently overwrote
it with the directory or zipfile itself.

This caused problems in isolated mode, as it
overwrote the "stdlib as a zip archive" entry
in sys.path, as the parent directory was
never added.

The attempted fix to that issue in bpo-29319
created the opposite problem in *non*-isolated
mode, by potentially leaving the parent
directory on sys.path instead of overwriting it.

This change fixes the root cause of the problem
by removing the whole "add-and-overwrite" dance
for sys.path[0], and instead simply never adds
the parent directory to sys.path in the first
place.
(cherry picked from commit d2977a3ae2cc6802921b1e3b6e9d13fcfbda872d)

8 years agobpo-29798: Handle git worktree in `make patchcheck` (#629) (#633)
Nick Coghlan [Sun, 12 Mar 2017 10:00:20 +0000 (20:00 +1000)]
bpo-29798: Handle git worktree in `make patchcheck` (#629) (#633)

In git worktree directories, `.git` is a configuration
file rather than a subdirectory
(cherry picked from commit 6a6d090612dd7deaac2bc0399fad743e5e2db606)

8 years agobpo-29746: Update marshal docs to Python 3. (#547) (#631)
Serhiy Storchaka [Sun, 12 Mar 2017 08:05:05 +0000 (10:05 +0200)]
bpo-29746: Update marshal docs to Python 3. (#547) (#631)

(cherry picked from commit c611a5b1d4fab0123bf622f06c3bfa510221dc32)

8 years agobpo-29656: Handle PR branches in 'make patchcheck' (#302) (#626)
Nick Coghlan [Sun, 12 Mar 2017 06:17:46 +0000 (16:17 +1000)]
bpo-29656: Handle PR branches in 'make patchcheck' (#302) (#626)

(cherry picked from commit 482f7a274fa52b7ba34ff308cd9acdcac9f41ba5)

8 years agobpo-29763: Use support.unlink instead of os.unlink (GH-624) (GH-625)
Zachary Ware [Sun, 12 Mar 2017 04:39:54 +0000 (22:39 -0600)]
bpo-29763: Use support.unlink instead of os.unlink (GH-624) (GH-625)

support.unlink waits for the files to be removed before returning

8 years agofix subprocess on Windows (GH-391 backport) (GH-623)
Zachary Ware [Sat, 11 Mar 2017 23:16:34 +0000 (17:16 -0600)]
fix subprocess on Windows (GH-391 backport) (GH-623)

8 years agoOnly trigger AppVeyor on code or config changes (GH-611 backport) (GH-620)
Zachary Ware [Sat, 11 Mar 2017 21:42:25 +0000 (15:42 -0600)]
Only trigger AppVeyor on code or config changes (GH-611 backport) (GH-620)

8 years agotempfile.rst: Fix some typos (GH-610) (GH-618)
Mariatta [Sat, 11 Mar 2017 18:19:51 +0000 (10:19 -0800)]
tempfile.rst: Fix some typos (GH-610) (GH-618)

(cherry picked from commit d3b8f98696b905367da3975f73b482bac380b51c)

8 years agobpo-29770: remove outdated PYO related info (GH-590) (GH-612)
Xiang Zhang [Sat, 11 Mar 2017 06:07:30 +0000 (14:07 +0800)]
bpo-29770: remove outdated PYO related info (GH-590) (GH-612)

8 years agobpo-29784: Fix the reference to shutil.copy in the docs (GH-602) (GH-608)
Mariatta [Sat, 11 Mar 2017 03:36:26 +0000 (19:36 -0800)]
bpo-29784: Fix the reference to shutil.copy in the docs (GH-602) (GH-608)

(cherry picked from commit 70ee0cd5c2a3dba82cb8e0c0742c012f9134c040)

8 years agobpo-28810: Document changes to CALL_FUNCTION opcodes (GH-607)
Brett Cannon [Fri, 10 Mar 2017 23:08:52 +0000 (15:08 -0800)]
bpo-28810: Document changes to CALL_FUNCTION opcodes (GH-607)

(cherry picked from commit 4b2a2a425a906c8e4eb8daee14ab1793e225f726)

8 years agobpo-28810: Document BUILD_TUPLE_UNPACK_WITH_CALL bytecode (GH-605)
Brett Cannon [Fri, 10 Mar 2017 22:44:48 +0000 (14:44 -0800)]
bpo-28810: Document BUILD_TUPLE_UNPACK_WITH_CALL bytecode (GH-605)

(cherry picked from commit 7e52c3e7aefb4cdaa0662fc01ff68a5e976b77ca)

8 years agobpo-28739: Document that f-strings cannot be used as docstring (GH-592) (GH-600)
Mariatta [Fri, 10 Mar 2017 17:52:03 +0000 (09:52 -0800)]
bpo-28739: Document that f-strings cannot be used as docstring (GH-592) (GH-600)

(cherry picked from commit d4e89287b397c7382c12d3f3d9fd901fd8243b3c)

8 years agoIgnore Include/pydtrace_probes.h (#596)
Łukasz Langa [Fri, 10 Mar 2017 13:30:05 +0000 (05:30 -0800)]
Ignore Include/pydtrace_probes.h (#596)

This is a generated file when --with-dtrace is passed. This entry is present in
.hgignore.

8 years agoAdd Appveyor (GH-324 backport) (GH-491)
Zachary Ware [Fri, 10 Mar 2017 07:06:43 +0000 (01:06 -0600)]
Add Appveyor (GH-324 backport) (GH-491)

8 years ago[3.6] bpo-29773: Add more cases for testing string to float conversion errors. ...
Serhiy Storchaka [Thu, 9 Mar 2017 19:01:49 +0000 (21:01 +0200)]
[3.6]  bpo-29773: Add more cases for testing string to float conversion errors. (#586)

(cherry picked from commit 9e6ac83acae31de2b072e665e177db9fcdf7c049)

8 years agobpo-29619: Convert st_ino using unsigned integer (#557) (#584)
Victor Stinner [Thu, 9 Mar 2017 17:43:39 +0000 (18:43 +0100)]
bpo-29619: Convert st_ino using unsigned integer (#557) (#584)

bpo-29619: os.stat() and os.DirEntry.inodeo() now convert inode
(st_ino) using unsigned integers.

(cherry picked from commit 0f6d73343d342c106cda2219ebb8a6f0c4bd9b3c)
(Misc/NEWS conflict handled manually.)

8 years ago[3.6] bpo-28298: make array 'Q', 'L' and 'I' accept big intables as elements (#579)
orenmn [Thu, 9 Mar 2017 14:06:47 +0000 (16:06 +0200)]
[3.6] bpo-28298: make array 'Q', 'L' and 'I' accept big intables as elements (#579)

8 years ago[3.6] bpo-29768: Fixed compile-time check for expat version. (#576)
Serhiy Storchaka [Thu, 9 Mar 2017 08:51:44 +0000 (10:51 +0200)]
[3.6] bpo-29768: Fixed compile-time check for expat version. (#576)

(cherry picked from commit 22e707fa04476710ba5cc7e2206e4ac66743931b)

8 years agoFix the only non-C90 comment to be C90 compatible. (#568)
n.d. parker [Wed, 8 Mar 2017 22:27:46 +0000 (23:27 +0100)]
Fix the only non-C90 comment to be C90 compatible. (#568)

8 years agobpo-29176: Fix name of the _curses.window class (#52) (#532)
Mariatta [Wed, 8 Mar 2017 16:19:57 +0000 (08:19 -0800)]
bpo-29176: Fix name of the _curses.window class (#52) (#532)

Set name to "_curses.window" instead of "_curses.curses window" (with
a space!?).
(cherry picked from commit 61e2bc74dfab1ceee332d3f480dcf86c478c87c5)

8 years ago[3.6] bpo-28231: The zipfile module now accepts path-like objects for external paths...
Serhiy Storchaka [Wed, 8 Mar 2017 13:45:43 +0000 (15:45 +0200)]
[3.6]  bpo-28231: The zipfile module now accepts path-like objects for external paths. (#561)

(cherry picked from commit 8606e9524a7a4065042f7f228dc57eb74f88e4d3)

8 years ago[3.6] bpo-28230: Document the pathlib support in tarfile and add tests. (#559)
Serhiy Storchaka [Wed, 8 Mar 2017 10:29:33 +0000 (12:29 +0200)]
[3.6] bpo-28230: Document the pathlib support in tarfile and add tests. (#559)

8 years agoRevert "bpo-29571: Use correct locale encoding in test_re (#149)" (#554) (#555)
Benjamin Peterson [Wed, 8 Mar 2017 07:56:59 +0000 (23:56 -0800)]
Revert "bpo-29571: Use correct locale encoding in test_re (#149)" (#554) (#555)

This reverts commit ace5c0fdd9b962e6e886c29dbcea72c53f051dc4.

8 years agobpo-26915: Test identity first in index() and count() of collections.abc.Sequence...
Xiang Zhang [Wed, 8 Mar 2017 03:43:35 +0000 (11:43 +0800)]
bpo-26915: Test identity first in index() and count() of collections.abc.Sequence  (GH-553)

8 years agoFixes bpo-29680: Older gdb does not have gdb.error. (GH-363) (GH-534)
Mariatta [Tue, 7 Mar 2017 10:44:11 +0000 (02:44 -0800)]
Fixes bpo-29680: Older gdb does not have gdb.error. (GH-363) (GH-534)

This change is required to make python-dbg.py compatible with GDB versions before 7.3.
(cherry picked from commit 661ca8843fed1183e38db06e52d59ac300bf1c2a)

8 years agoPCbuild: Add -q option to svn export (GH-537)
INADA Naoki [Tue, 7 Mar 2017 08:18:12 +0000 (17:18 +0900)]
PCbuild: Add -q option to svn export (GH-537)

Without this option, AppVeyor log is too unreadable.
(cherry picked from commit 8886d5f39286dffa7d9337857b151e7fb4af23fd)

8 years agobpo-28728: clarify possible test failure due to ISP (GH-412) (GH-531)
Xiang Zhang [Tue, 7 Mar 2017 03:53:29 +0000 (11:53 +0800)]
bpo-28728: clarify possible test failure due to ISP (GH-412) (GH-531)

8 years agobpo-29557: Remove ambiguous line in binhex docs (GH-90) (GH-475)
Mariatta [Mon, 6 Mar 2017 17:31:16 +0000 (09:31 -0800)]
bpo-29557: Remove ambiguous line in binhex docs (GH-90) (GH-475)

"appears to not work in all cases" does not inspire confidence in this
module. I can find no context for what bug this was referencing so it
should be removed.
(cherry picked from commit 6de2b7817fa9403e81dc38f13f3690f0bbf3d064)

8 years agofix minor bug in pymalloc. (GH-335) (GH-476)
Mariatta [Mon, 6 Mar 2017 17:15:41 +0000 (09:15 -0800)]
fix minor bug in pymalloc. (GH-335) (GH-476)

(cherry picked from commit f669ffff6010a94f2d441200e0fd73e9dea2883e)

8 years ago[3.6] bpo-29714: Fix a regression that bytes format may fail when containing zero...
Xiang Zhang [Mon, 6 Mar 2017 10:17:10 +0000 (18:17 +0800)]
[3.6] bpo-29714: Fix a regression that bytes format may fail when containing zero bytes inside. (GH-504)

8 years agobpo-29719: Remove Date and Release field in whatsnew/3.6 (GH-500)
INADA Naoki [Mon, 6 Mar 2017 08:24:28 +0000 (17:24 +0900)]
bpo-29719: Remove Date and Release field in whatsnew/3.6 (GH-500)

(cherry picked from commit 2225ddaa9e64c086b2b6997b0c9ac50921f7aa85)

8 years agoFixes the upload script to purge the CDN correctly and display success output. (...
Steve Dower [Mon, 6 Mar 2017 03:58:06 +0000 (19:58 -0800)]
Fixes the upload script to purge the CDN correctly and display success output. (#466) (#497)

8 years agobpo-29638: Fix spurious refleaks after typing is imported (#469) (#483)
Ivan Levkivskyi [Sun, 5 Mar 2017 19:18:43 +0000 (20:18 +0100)]
bpo-29638: Fix spurious refleaks after typing is imported (#469) (#483)

8 years agobpo-29615: backport to 3.6 (#478)
Petr Motejlek [Sun, 5 Mar 2017 16:14:06 +0000 (17:14 +0100)]
bpo-29615: backport to 3.6 (#478)

8 years agoMerge 3.6.1rc1 releasing branch into 3.6
Ned Deily [Sun, 5 Mar 2017 10:57:22 +0000 (05:57 -0500)]
Merge 3.6.1rc1 releasing branch into 3.6

8 years agoBump to v3.6.1rc1+.
Ned Deily [Sun, 5 Mar 2017 10:33:38 +0000 (05:33 -0500)]
Bump to v3.6.1rc1+.

8 years agodistutils docs: Fix a typo (GH-470) (GH-471)
Mariatta [Sun, 5 Mar 2017 00:43:57 +0000 (16:43 -0800)]
distutils docs: Fix a typo (GH-470) (GH-471)

(cherry picked from commit 2a7bddaab7d6e1f7b243cdbb4fa6f6c8e266b18d)

8 years agoCorrect spelling "instanciate" (GH-465) (GH-467)
Mariatta [Sat, 4 Mar 2017 23:40:48 +0000 (15:40 -0800)]
Correct spelling "instanciate" (GH-465) (GH-467)

(cherry picked from commit 6abaed0ddaa1dd9be727ede09f6cd801c467c2ec)

8 years agoUpdate docs and patchlevel for 3.6.1rc1. v3.6.1rc1
Ned Deily [Sat, 4 Mar 2017 17:25:04 +0000 (12:25 -0500)]
Update docs and patchlevel for 3.6.1rc1.

8 years agoUpdate pydoc topics for 3.6.0rc1
Ned Deily [Sat, 4 Mar 2017 17:18:43 +0000 (12:18 -0500)]
Update pydoc topics for 3.6.0rc1

8 years agoRefresh Python/importlib.h and Python/importlib_external.h (#464)
Ned Deily [Sat, 4 Mar 2017 12:04:41 +0000 (07:04 -0500)]
Refresh Python/importlib.h and Python/importlib_external.h (#464)

8 years ago[3.6] bpo-28087: Skip test_asyncore and test_eintr poll failures on macOS (#463)
Ned Deily [Sat, 4 Mar 2017 11:19:05 +0000 (06:19 -0500)]
[3.6] bpo-28087: Skip test_asyncore and test_eintr poll failures on macOS (#463)

Skip some tests of select.poll when running on macOS due to unresolved
issues with the underlying system poll function on some macOS versions.

(cherry picked from commit de04644627f82d9dc48b3423def7ff5b4aa1926a)

8 years agobpo-29572: Update macOS installer build to OpenSSL 1.0.2k (#457) (#459)
Ned Deily [Sat, 4 Mar 2017 08:04:48 +0000 (03:04 -0500)]
bpo-29572: Update macOS installer build to OpenSSL 1.0.2k (#457) (#459)

(cherry picked from commit cfcd76777e35c83d548d8736f5d7dc92fe56d806)

8 years agobpo-29550: Temporarily skip "make touch" in Mac installer build. (#456) (#458)
Ned Deily [Sat, 4 Mar 2017 07:55:09 +0000 (02:55 -0500)]
bpo-29550: Temporarily skip "make touch" in Mac installer build. (#456) (#458)

(cherry picked from commit 7cd9b22e98a5b7a99a7539500ea946a7a58e1c8d)

8 years ago[3.6] bpo-27593: Get SCM build info from git instead of hg. (#446) (#454)
Ned Deily [Sat, 4 Mar 2017 06:05:06 +0000 (01:05 -0500)]
[3.6] bpo-27593: Get SCM build info from git instead of hg. (#446) (#454)

* bpo-27593: Get SCM build info from git instead of hg. (#446)

sys.version and the platform module python_build(),
python_branch(), and python_revision() functions now use
git information rather than hg when building from a repo.

Based on original patches by Brett Cannon and Steve Dower.
(cherry picked from commit 5c4b0d063aba0a68c325073f5f312a2c9f40d178)

8 years agoFixes git command (#451) (#452)
Steve Dower [Sat, 4 Mar 2017 05:57:47 +0000 (21:57 -0800)]
Fixes git command (#451) (#452)

8 years agobpo-27593: Updates Windows build to use information from git (#262) (#450)
Steve Dower [Sat, 4 Mar 2017 05:32:17 +0000 (21:32 -0800)]
bpo-27593: Updates Windows build to use information from git (#262) (#450)

* bpo-27593: Updates Windows build to use information from git

8 years agobpo-26213: Document _UNPACK bytecodes and BUILD_MAP changes (GH-440)
Brett Cannon [Fri, 3 Mar 2017 22:47:06 +0000 (14:47 -0800)]
bpo-26213: Document _UNPACK bytecodes and BUILD_MAP changes (GH-440)

(cherry picked from commit 0705f66eb369aa6a6cdb699e24ff61e1ab2e0c56)

8 years agobpo-29572: Update Windows build to OpenSSL 1.0.2k (GH-442)
Zachary Ware [Fri, 3 Mar 2017 22:07:25 +0000 (16:07 -0600)]
bpo-29572: Update Windows build to OpenSSL 1.0.2k (GH-442)

8 years agobpo-29709: Improve Boolean Operations documentation (#433) (#437)
Mariatta [Fri, 3 Mar 2017 21:24:13 +0000 (13:24 -0800)]
bpo-29709: Improve Boolean Operations documentation (#433) (#437)

(cherry picked from commit 8eb531d9db0861e14222445fcaebe1a373bba170)

8 years agobpo-29455: Mention coverage.py in trace module documentation (GH-435)
Brett Cannon [Fri, 3 Mar 2017 20:58:17 +0000 (12:58 -0800)]
bpo-29455: Mention coverage.py in trace module documentation (GH-435)

(cherry picked from commit 5dfccb06dc513ae67fac5fee66356ad58a4de170)

8 years ago[3.6] bpo-29623: Make PathLike objects work with ConfigParser.read() (#242) (#432)
Berker Peksag [Fri, 3 Mar 2017 17:48:37 +0000 (20:48 +0300)]
[3.6] bpo-29623: Make PathLike objects work with ConfigParser.read() (#242) (#432)

(cherry picked from commit 85b8d01c916b482dac937b93ede1e53b1db0361c)

Conflicts:

Lib/test/test_configparser.py

8 years agoAdd Python version since deprecation in base64 methods. (#33) (#429)
Berker Peksag [Fri, 3 Mar 2017 15:07:18 +0000 (18:07 +0300)]
Add Python version since deprecation in base64 methods. (#33) (#429)

Allow developers to not have to either test on N Python versions or
looked through multiple versions of the docs to know whether they can
easily update.

(cherry picked from commit c643a967dd7d33ccefa5b61b38caf40b448057ce)

8 years agoRestore NEWS file after incorrect git automerge
Yury Selivanov [Fri, 3 Mar 2017 06:05:44 +0000 (01:05 -0500)]
Restore NEWS file after incorrect git automerge

8 years agogetpass: update docstrings (GH-49) (GH-419)
Mariatta [Fri, 3 Mar 2017 05:56:06 +0000 (21:56 -0800)]
getpass: update docstrings (GH-49) (GH-419)

(cherry picked from commit baf7bb30a02aabde260143136bdf5b3738a1d409)

8 years agobpo-29026: Clarify documentation of time.time (GH-34) (GH-417)
Mariatta [Fri, 3 Mar 2017 05:50:10 +0000 (21:50 -0800)]
bpo-29026: Clarify documentation of time.time (GH-34) (GH-417)

(cherry picked from commit 23557d59b819f57800ddef0b1373acef8e024670)

8 years agobpo-28963: Fix out of bound iteration in asyncio.Future.remove_done_callback/C (...
Yury Selivanov [Fri, 3 Mar 2017 04:46:56 +0000 (23:46 -0500)]
bpo-28963: Fix out of bound iteration in asyncio.Future.remove_done_callback/C (#408)

8 years agoasyncio: Optimize _get_running_loop() to call getpid() only when there's a loop
Yury Selivanov [Fri, 3 Mar 2017 04:57:33 +0000 (23:57 -0500)]
asyncio: Optimize _get_running_loop() to call getpid() only when there's a loop

8 years agobpo-29704: Fix asyncio.SubprocessStreamProtocol closing (#405)
Seth M. Larson [Fri, 3 Mar 2017 04:21:18 +0000 (22:21 -0600)]
bpo-29704: Fix asyncio.SubprocessStreamProtocol closing (#405)

8 years agobpo-29271: Fix Task.current_task and Task.all_tasks to accept None. (#406)
Yury Selivanov [Fri, 3 Mar 2017 03:16:33 +0000 (22:16 -0500)]
bpo-29271: Fix Task.current_task and Task.all_tasks to accept None. (#406)

8 years agobpo-28893: Set __cause__ for errors in async iteration protocol (#407)
Yury Selivanov [Fri, 3 Mar 2017 03:20:00 +0000 (22:20 -0500)]
bpo-28893: Set __cause__ for errors in async iteration protocol (#407)

8 years agobpo-29703: asyncio: Fix creating new event loops in child processes. (#404) (#410)
Yury Selivanov [Fri, 3 Mar 2017 03:06:15 +0000 (22:06 -0500)]
bpo-29703: asyncio: Fix creating new event loops in child processes. (#404) (#410)

8 years agobpo-29683 - Fixes to _PyCode_SetExtra when co_extra->ce->extras is (#402)
Brian Coleman [Thu, 2 Mar 2017 22:21:53 +0000 (22:21 +0000)]
bpo-29683 - Fixes to _PyCode_SetExtra when co_extra->ce->extras is (#402)

allocated.

On PyMem_Realloc failure, _PyCode_SetExtra should free co_extra if
co_extra->ce_extras could not be allocated.
On PyMem_Realloc success, _PyCode_SetExtra should set all unused slots in
co_extra->ce_extras to NULL.

8 years agoIn SSL module version examples, don't use a legacy version. (#381) (#400)
Alex Gaynor [Thu, 2 Mar 2017 17:37:50 +0000 (12:37 -0500)]
In SSL module version examples, don't use a legacy version. (#381) (#400)

8 years agobpo-29697: Don't use OpenSSL <1.0.2 fallback on 1.1+ (#397)
Donald Stufft [Thu, 2 Mar 2017 17:32:13 +0000 (12:32 -0500)]
bpo-29697: Don't use OpenSSL <1.0.2 fallback on 1.1+ (#397)

8 years agoemail.compat32-message.rst: Fix typo in the word `message` (GH-379) (GH-380)
Mariatta [Wed, 1 Mar 2017 15:35:23 +0000 (07:35 -0800)]
email.compat32-message.rst: Fix typo in the word `message` (GH-379) (GH-380)

(cherry picked from commit da62373b0d32c14a4137512ef6f13c24fbcaa2c1)

8 years agobpo-29684: Fix minor regression of PyEval_CallObjectWithKeywords. (GH-378)
INADA Naoki [Wed, 1 Mar 2017 12:14:43 +0000 (21:14 +0900)]
bpo-29684: Fix minor regression of PyEval_CallObjectWithKeywords. (GH-378)

8 years agoFixed a handful of typos (GH-343) (GH-364)
Mariatta [Wed, 1 Mar 2017 05:08:13 +0000 (21:08 -0800)]
Fixed a handful of typos (GH-343) (GH-364)

(cherry picked from commit 1cf2a809b1eb4f9fc8ac3ccc97424586892d1e1a)

8 years agocorrect documentation for enum.html (GH-358) (GH-367)
Mariatta [Wed, 1 Mar 2017 05:07:32 +0000 (21:07 -0800)]
correct documentation for enum.html (GH-358) (GH-367)

(cherry picked from commit 626584284e74a68fff8157f9afe77b3088ff7be9)

8 years agoDisable mention-bot for maintenance branches (GH-365)
Donald Stufft [Wed, 1 Mar 2017 04:19:58 +0000 (23:19 -0500)]
Disable mention-bot for maintenance branches (GH-365)

8 years agobpo-29661: fix contradiction in timeit.Timer.autorange's docstring (GH-331) (GH-353)
Xiang Zhang [Tue, 28 Feb 2017 03:28:44 +0000 (11:28 +0800)]
bpo-29661: fix contradiction in timeit.Timer.autorange's docstring (GH-331) (GH-353)

8 years agobpo-29655: Fixed possible reference leaks in `import *`. (#301) (#348)
Berker Peksag [Mon, 27 Feb 2017 17:41:21 +0000 (20:41 +0300)]
bpo-29655: Fixed possible reference leaks in `import *`. (#301) (#348)

Patch by Matthias Bussonnier.

(cherry picked from commit 160edb43571311a3785785c1dfa784afc52d87be)

8 years agobpo-27788 : synchronise platform.py version number (#246) (#341)
Berker Peksag [Mon, 27 Feb 2017 16:14:11 +0000 (19:14 +0300)]
bpo-27788 : synchronise platform.py version number (#246) (#341)

Was bumped in the docstring by b9f4feab1b9c9ffa8ea29af3d82bc536f9f3005a
but not in `__version__`

(cherry picked from commit 6059ce45aa96f52fa0150e68ea655fbfdc25609a)

8 years agobpo-28598: Support __rmod__ for RHS subclasses of str in % string formatting operatio...
Martijn Pieters [Mon, 27 Feb 2017 16:08:01 +0000 (16:08 +0000)]
bpo-28598: Support __rmod__ for RHS subclasses of str in % string formatting operations (#95)

8 years agoDelete accidentally merged entries from Misc/NEWS (#338)
Berker Peksag [Mon, 27 Feb 2017 14:26:10 +0000 (17:26 +0300)]
Delete accidentally merged entries from Misc/NEWS (#338)

8 years agoAsyncio documentation: remove `self` from method signatures (GH-334) (GH-337)
Mariatta [Mon, 27 Feb 2017 14:02:21 +0000 (06:02 -0800)]
Asyncio documentation: remove `self` from method signatures (GH-334) (GH-337)

(cherry picked from commit 091b84f23a2ff57e8320ebf6fdf889af39096ab9)

8 years agobpo-29662: fix wrong indentation in timeit.Timer's doc (GH-333)
Xiang Zhang [Mon, 27 Feb 2017 05:55:07 +0000 (13:55 +0800)]
bpo-29662: fix wrong indentation in timeit.Timer's doc  (GH-333)

8 years agobpo-29376: Fix assertion error in threading._DummyThread.is_alive() (GH-330)
Xiang Zhang [Mon, 27 Feb 2017 03:45:42 +0000 (11:45 +0800)]
bpo-29376: Fix assertion error in threading._DummyThread.is_alive() (GH-330)

8 years agobpo-26184: import.rst: Improve versionchanged note (GH-325) (GH-326)
Mariatta [Sun, 26 Feb 2017 21:30:44 +0000 (13:30 -0800)]
bpo-26184: import.rst: Improve versionchanged note (GH-325) (GH-326)

(cherry picked from commit 1f5639c77f736c18fb5a85b4a1850121e25c788e)