]> granicus.if.org Git - python/log
python
7 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)

7 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)

7 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)

7 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.

7 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)

7 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)

7 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)

7 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)

7 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

7 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)

7 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)

7 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)

7 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)

7 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)

7 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)

7 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)

7 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)

7 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.

7 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)

7 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)

7 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.)

7 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)

7 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)

7 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)

7 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)

7 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)

7 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)

7 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.

7 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)

7 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)

7 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)

7 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)

7 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)

7 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)

7 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)

7 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)

7 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)

7 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)

7 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)

7 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

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

7 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)

7 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)

7 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.

7 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

7 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)

7 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)

7 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)

7 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)

7 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)

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

7 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

7 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)

7 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)

7 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)

7 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)

7 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

7 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)

7 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

7 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)

7 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)

7 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)

7 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

7 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)

7 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)

7 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)

7 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)

7 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.

7 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)

7 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)

7 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)

7 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)

7 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)

7 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)

7 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)

7 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)

7 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)

7 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)

7 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)

7 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)

7 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)

7 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)

7 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)

7 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)

7 years ago[3.6] bpo-29110: Fix file object leak in `aifc.open` (#310)
INADA Naoki [Sun, 26 Feb 2017 19:09:32 +0000 (04:09 +0900)]
[3.6] bpo-29110: Fix file object leak in `aifc.open` (#310)

(cherry picked from commit 03f68b60e17b57f6f13729ff73245dbb37b30a4c) (GH-162)
(cherry picked from commit 5dc33eea538361f8a218255f83db2e9298dd8c53) (GH-293)

7 years agobpo-28624: Add a test that checks that cwd parameter of Popen() accepts PathLike...
Berker Peksag [Sun, 26 Feb 2017 17:38:31 +0000 (20:38 +0300)]
bpo-28624: Add a test that checks that cwd parameter of Popen() accepts PathLike objects (#157) (#323)

(cherry picked from commit d5c11f7ace48701bb950c6345deee88c35c66e26)

7 years agobpo-26184: import.rst: Improve versionchanged note (GH-277) (#320)
Mariatta [Sun, 26 Feb 2017 16:55:23 +0000 (08:55 -0800)]
bpo-26184: import.rst: Improve versionchanged note (GH-277) (#320)

(cherry picked from commit 6b4a5f45e2df524174a97832571c82c76a3d424a)

7 years agobpo-28518: Start a transaction implicitly before a DML statement (#245) (#318)
Berker Peksag [Sun, 26 Feb 2017 16:09:10 +0000 (19:09 +0300)]
bpo-28518: Start a transaction implicitly before a DML statement (#245) (#318)

Patch by Aviv Palivoda.

(cherry picked from commit 4a926caf8e5fd8af771b2c34bfb6e91c732331fe)

7 years agobpo-29121: Remove outdated documentation about transactions (#313) (#319)
Berker Peksag [Sun, 26 Feb 2017 16:04:00 +0000 (19:04 +0300)]
bpo-29121: Remove outdated documentation about transactions (#313) (#319)

Patch by Aviv Palivoda.

(cherry picked from commit fe70d924bb6106d4c21eb414f4a1ba1324e8f46a)

7 years agobpo-22594: Add a link to the regex module in re documentation (GH-241) (GH-316)
Mariatta [Sun, 26 Feb 2017 15:44:16 +0000 (07:44 -0800)]
bpo-22594: Add a link to the regex module in re documentation (GH-241) (GH-316)

(cherry picked from commit ed6795e46f7653e23b862efad240a93453e7df97)

7 years agobpo-29648: import.rst: Add reference to create_module() (GH-290) (GH-314)
Mariatta [Sun, 26 Feb 2017 15:33:54 +0000 (07:33 -0800)]
bpo-29648: import.rst: Add reference to create_module() (GH-290) (GH-314)

(cherry picked from commit 46ce7599af82a929506baeaaee5c149970440c4c)

7 years agoBackport recent .travis.yml changes (#308)
Berker Peksag [Sun, 26 Feb 2017 13:07:12 +0000 (16:07 +0300)]
Backport recent .travis.yml changes (#308)

Backported changes from master:

b52260d8bf392aa04c48b8c2467a4c034184de86
984eef7d6d78e1213d6ea99897343a5059a07c59
532519770dea5d353f0b0d718c8881a15c7542df
91b0e7d0ca7c59df28f6a6fc1e8eb86a3925b76c

7 years agobpo-28961: Address my comments from earlier code review (#306)
Berker Peksag [Sun, 26 Feb 2017 13:05:30 +0000 (16:05 +0300)]
bpo-28961: Address my comments from earlier code review (#306)

(cherry picked from commit dea1536fd3a8424d537794cd53715df0989cbbe1)

7 years agomark various test data binary (#233) (#304)
Benjamin Peterson [Sun, 26 Feb 2017 08:00:09 +0000 (00:00 -0800)]
mark various test data binary (#233) (#304)

7 years agoFix small typos in introduction and datastructures of tutorial (GH-272) (GH-297)
Mariatta [Sun, 26 Feb 2017 06:34:51 +0000 (22:34 -0800)]
Fix small typos in introduction and datastructures of tutorial (GH-272) (GH-297)

(cherry picked from commit 53c1892dc3de1de612b1cf95dc7bf09f82c1babf)

7 years ago[3.6] bpo-28929: Add to Misc/NEWS (GH-284)
Mariatta [Sun, 26 Feb 2017 06:34:06 +0000 (22:34 -0800)]
[3.6] bpo-28929: Add to Misc/NEWS (GH-284)

mention bpo-28929 in the Documentation section of
What's New in Python 3.6.1 release candidate 1

7 years ago[3.6] Backport README.rst changes (GH-294)
Mariatta [Sat, 25 Feb 2017 19:56:48 +0000 (11:56 -0800)]
[3.6] Backport README.rst changes (GH-294)

(cherry picked from commit b3f1f59cf451d4a25b204e7a24f7be4c95e40be8)
(cherry picked from commit 1b3d88eb33085e90af729c4c2f78b5ba1b942b1e)
(cherry picked from commit c0866855d54bbbe7bcac299c4af45389efacce0b)
(cherry picked from commit e32ec9334b35f897ace8a05128838f92c5e0b2fb)
(cherry picked from commit 6329aea78e3627d250009aa5aaaf47cd11587f4d)

7 years ago[3.6] bpo-28556: Update to typing: treat subscripted generics as proxies (GH-265...
Mariatta [Sat, 25 Feb 2017 00:40:50 +0000 (16:40 -0800)]
[3.6] bpo-28556: Update to typing: treat subscripted generics as proxies (GH-265) (GH-268)

(cherry picked from commit abb3b8ad94d699c8560d94ee9bac9c917b382abe)
(cherry picked from commit 365cb5bb9069273e6970c9d5d17ee2fe5003e7ac)

7 years ago[3.6] Fix small typos in expressions.rst (GH-276) (GH-281)
Mariatta [Sat, 25 Feb 2017 00:39:30 +0000 (16:39 -0800)]
[3.6] Fix small typos in expressions.rst (GH-276) (GH-281)

(cherry picked from commit 132ac381fe7eb593e3d7c63926f90285bba13cdc)

7 years agobpo-25008: Deprecate smtpd and point to aiosmtpd (#274) (#278)
Barry Warsaw [Fri, 24 Feb 2017 20:44:34 +0000 (15:44 -0500)]
bpo-25008: Deprecate smtpd and point to aiosmtpd (#274) (#278)