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

7 years agobpo-29624: Adds purge step and layout test after uploading files. (#258) (#264)
Steve Dower [Thu, 23 Feb 2017 23:03:20 +0000 (15:03 -0800)]
bpo-29624: Adds purge step and layout test after uploading files. (#258) (#264)

7 years agobpo-28814: Undeprecate inadvertently deprecated inspect functions. (#122) (#243)
Berker Peksag [Thu, 23 Feb 2017 15:42:30 +0000 (18:42 +0300)]
bpo-28814: Undeprecate inadvertently deprecated inspect functions. (#122) (#243)

Nick Coghlan said on bpo-28814:

> inspect.getargvalues() and inspect.formatargvalues() were deprecated
> in Python 3.5 as part of implementing bpo-20438

> This is incorrect, as these are *frame* introspection related functions,
> not callable introspection ones. The documentation and implementation
> layout is confusing though, as they're interleaved with the callable
> introspection operation

This commit undeprecates these functions and adds a note to ignore
previous deprecation notices.

(cherry picked from commit 0899b9809547ec2894dcf88cf4bba732c5d47d0d)

7 years agobpo-28911: Clarify the behaviour of assert_called_once_with. (#252)
Arne de Laat [Thu, 23 Feb 2017 15:17:11 +0000 (16:17 +0100)]
bpo-28911: Clarify the behaviour of assert_called_once_with. (#252)

(cherry picked from commit 9d56b34af2efc4e266bf3ae62da5cd2e422a42be)

7 years agoFixed bpo-29565: Corrected ctypes passing of large structs by value on Windows AMD64...
Vinay Sajip [Wed, 22 Feb 2017 06:21:17 +0000 (06:21 +0000)]
Fixed bpo-29565: Corrected ctypes passing of large structs by value on Windows AMD64. (#168) (#220)

Fixed bpo-29565: Corrected ctypes passing of large structs by value.
(cherry picked from commit a86339b83fbd0932e0529a3c91935e997a234582)

7 years agobpo-29554: Improve docs for pstat module and profile. (#88) (#227)
Berker Peksag [Wed, 22 Feb 2017 01:55:33 +0000 (04:55 +0300)]
bpo-29554: Improve docs for pstat module and profile. (#88) (#227)

Clarify that methods take a string which is interpreted as a regex,
not a regex object.

Also clarify what the old `-1`, `0`, `1` and `2` options were.

(cherry picked from commit 8fb1f6e039cbdeb333d83b7a62f0f37af4ce6e02)

7 years ago[3.6] Add .codecov.yml (#210)
Berker Peksag [Tue, 21 Feb 2017 19:56:07 +0000 (22:56 +0300)]
[3.6] Add .codecov.yml (#210)

7 years agobpo-29453: Remove reference to undefined dictionary ordering in Tutorial (GH-140...
Mariatta [Tue, 21 Feb 2017 18:30:07 +0000 (10:30 -0800)]
bpo-29453: Remove reference to undefined dictionary ordering in Tutorial (GH-140) (#208)

As of Python 3.6 **kwargs are ordered, thus, remove the paragraph stating that
ordering is undefined and change snippet to remove the unecessary sorted call.

* Add sentence mentioning guaranteed output order of kwargs

(cherry picked from commit 32e8f9bdfd4324f1aa4fbbdf1ed8536f2b00cabb)

7 years agobpo-29607: Fix stack_effect computation for CALL_FUNCTION_EX (GH-219)
INADA Naoki [Tue, 21 Feb 2017 17:33:24 +0000 (02:33 +0900)]
bpo-29607: Fix stack_effect computation for CALL_FUNCTION_EX (GH-219)

(cherry picked from commit 3a9ac827c7c87dffc60c4200323948551bcb6662)

7 years agobpo-29532: Altering a kwarg dictionary passed to functools.partial() no longer affect...
Serhiy Storchaka [Tue, 21 Feb 2017 16:18:27 +0000 (18:18 +0200)]
bpo-29532: Altering a kwarg dictionary passed to functools.partial() no longer affects a partial object after creation. (#209)

7 years agodoc: fix compile error on "shoddy" example extension (GH-216)
INADA Naoki [Tue, 21 Feb 2017 14:56:26 +0000 (23:56 +0900)]
doc: fix compile error on "shoddy" example extension (GH-216)

(cherry picked from commit fb8fe72fc593438f6a0b934c6ff2d9c4aa28673d)

7 years agobpo-29602: fix signed zero handling in complex constructor. (#203) (#206)
Mark Dickinson [Mon, 20 Feb 2017 21:59:30 +0000 (21:59 +0000)]
bpo-29602: fix signed zero handling in complex constructor. (#203) (#206)

* Fix incorrect handling of signed zeros for complex-related classes.

* Add Misc/NEWS entry.

(cherry picked from commit 112ec38c15b388fe025ccb85369a584d218b1160)

7 years agobpo-24274: fix erroneous comment in dictobject.c (GH-200)
INADA Naoki [Mon, 20 Feb 2017 13:58:11 +0000 (22:58 +0900)]
bpo-24274: fix erroneous comment in dictobject.c (GH-200)

lookdict_unicode() and lookdict_unicode_nodummy() may raise exception
when key is not unicode.

7 years agobpo-29347: Fix possibly dereferencing undefined pointers when creating weakref object...
Xiang Zhang [Mon, 20 Feb 2017 06:33:02 +0000 (14:33 +0800)]
bpo-29347: Fix possibly dereferencing undefined pointers when creating weakref objects (#128) (#186)

7 years agoChange some mercurial/ hg.python.org references. (#8) (#185)
Senthil Kumaran [Mon, 20 Feb 2017 02:58:33 +0000 (18:58 -0800)]
Change some mercurial/ hg.python.org references. (#8) (#185)

(cherry picked from commit b2ee40ed9c9041dcff9c898aa19aacf9ec60308a)

7 years agobpo-29520: doc: fix deprecation warning from 'defindex' template (GH-178)
INADA Naoki [Mon, 20 Feb 2017 00:46:46 +0000 (09:46 +0900)]
bpo-29520: doc: fix deprecation warning from 'defindex' template (GH-178)

7 years agoTweak PEP 519 documentation in stdlib (#164)
Berker Peksag [Sun, 19 Feb 2017 11:40:55 +0000 (14:40 +0300)]
Tweak PEP 519 documentation in stdlib (#164)

* Drop duplicate word 'object' in lzma docs
* Fix typo in os docs: fpr -> for

(cherry picked from commit d4d48743ac20854de104e08dd66972471684f676)

7 years ago[backport to 3.6] bpo-29529: Add .travis.yml to 3.6 branch (#25)
INADA Naoki [Sun, 19 Feb 2017 05:11:59 +0000 (14:11 +0900)]
[backport to 3.6] bpo-29529: Add .travis.yml to 3.6 branch (#25)

* Add .travis.yml to 3.6 branch

* Travis CI: run rstlint.py in the docs job (#68)

Currently, http://buildbot.python.org/all/buildslaves/ware-docs
buildbot is only run as post-commit. For example, bpo-29521 (PR#41)
introduced two warnings, unnotified by the Travis CI docs job.

Modify the docs job to run toosl/rstlint.py.

Fix also the two minor warnings which causes the buildbot slave to
fail.

* Only run CI checks when appropriate files have changed (#74)

Closes python/core-workflow#14

* Use 'make check' instead of 'python3 tools/rstlint.py' (#96)

7 years ago[3.6] bpo-29571: Use correct locale encoding in test_re (#149) (#153)
Nick Coghlan [Sun, 19 Feb 2017 04:33:35 +0000 (10:03 +0530)]
[3.6] bpo-29571: Use correct locale encoding in test_re (#149) (#153)

``local.getlocale(locale.LC_CTYPE)`` and
``locale.getpreferredencoding(False)`` may give different answers
in some cases (such as the ``en_IN`` locale).

``re.LOCALE`` uses the latter, so update the test case to match.

7 years agobpo-29579: Removes readme.txt from the installer. (#161)
Steve Dower [Sun, 19 Feb 2017 00:12:06 +0000 (16:12 -0800)]
bpo-29579: Removes readme.txt from the installer. (#161)

7 years agoBackport36 doc fixes: PR#68 and PR#124 (#125)
Victor Stinner [Wed, 15 Feb 2017 23:56:54 +0000 (00:56 +0100)]
Backport36 doc fixes: PR#68 and PR#124 (#125)

* Travis CI: run rstlint.py in the docs job (#68)

Currently, http://buildbot.python.org/all/buildslaves/ware-docs
buildbot is only run as post-commit. For example, bpo-29521 (PR#41)
introduced two warnings, unnotified by the Travis CI docs job.

Modify the docs job to run toosl/rstlint.py.

Fix also the two minor warnings which causes the buildbot slave to
fail.
(cherry picked from commit 2b501866ed493758e4c4b29f0ce9b24023d910a1)

* Doc/Makefile: set PYTHON to python3 (#124)

rstlint.py run by "make check" doesn't support Python 2.

"make venv" runs "$(PYTHON) -m venv", whereas Python 2 doens't
provide the venv module: it's a module of Python 3 standard library.

(cherry picked from commit 91b0e7d0ca7c59df28f6a6fc1e8eb86a3925b76c)

7 years agobpo-29521 update Misc/ACKS (#110)
Mariatta [Wed, 15 Feb 2017 23:14:41 +0000 (15:14 -0800)]
bpo-29521 update Misc/ACKS (#110)

(cherry picked from commit 6420088b924a23e5de40be6623d2a80b12f71d97)

7 years agobpo-29481: add versionadded 3.6.1 to typing.Deque docs (#108)
Mariatta [Wed, 15 Feb 2017 19:38:48 +0000 (11:38 -0800)]
bpo-29481: add versionadded 3.6.1 to typing.Deque docs (#108)

(cherry picked from commit 7e147f1ddb8233964ff0981e6b64fc12edac99aa)

7 years agoBackport master's README.rst to 3.6 (GH-86)
Zachary Ware [Wed, 15 Feb 2017 19:29:16 +0000 (13:29 -0600)]
Backport master's README.rst to 3.6 (GH-86)

Includes GH-2, GH-70, GH-73 (GH-79), and GH-21.

7 years agoUpdate URL of Mersenne Twister Home Page (#20) (#115)
INADA Naoki [Wed, 15 Feb 2017 09:59:47 +0000 (18:59 +0900)]
Update URL of Mersenne Twister Home Page (#20) (#115)

7 years agobpo-29521 Fix two minor documentation build warnings (#41) (#83)
Mariatta [Tue, 14 Feb 2017 16:54:59 +0000 (08:54 -0800)]
bpo-29521 Fix two minor documentation build warnings (#41) (#83)

Much of bpo-29521 was fixed in parallel with commit
e7ffb99 .  This cleans up the rest.

Apply parallel change to Doc/make.bat to read
"set SPHINXOPTS=-D latex_elements.papersize="
I don't have a Windows system on which to observe the warning,
but it should be necessary.

The warning:

.../workspace/cpython_github/Doc/faq/windows.rst:303:
    WARNING: unknown option: -t

In the Windows FAQ, `How do I keep editors from inserting tabs
into my Python source?`, contained a reference to a Python -t
option. In Python 2.x, this caused Python to issue warnings
about lines with mixed spaces and tabs, but as of Python 3.6
it does nothing.

Per discussion at http://bugs.python.org/issue29387, take
their wording. Python [3] raises an IndentationError or
TabError. Tabnanny is now a module.
(cherry picked from commit 3d707be950b387552585451071928e7b39cdfa53)

7 years agoFix some sphinx warnings (#9) (#81)
Mariatta [Tue, 14 Feb 2017 14:11:48 +0000 (06:11 -0800)]
Fix some sphinx warnings (#9) (#81)

* Fix some deprecation warnings in Doc/conf.py
* Fix an rst error in Misc/NEWS

Contributed by Ryan Gonzalez @kirbyfan64

(cherry picked from commit e7ffb99f842ebff97cffa0fc90b18be4e5abecf2)

7 years agobpo-28556: Various updates to typing (#28) (#77)
Mariatta [Tue, 14 Feb 2017 14:11:12 +0000 (06:11 -0800)]
bpo-28556: Various updates to typing (#28) (#77)

various updates from upstream python/typing repo:

- Added typing.Counter and typing.ChainMap generics
- More flexible typing.NamedTuple
- Improved generic ABC caching
- More tests
- Bugfixes
- Other updates
* Add Misc/NEWS entry

(cherry picked from commit b692dc8475a032740576129d0990ddc3edccab2b)

7 years agoA few README tweaks (#73) (#79)
Mariatta [Mon, 13 Feb 2017 23:48:40 +0000 (15:48 -0800)]
A few README tweaks (#73) (#79)

* Add a paragraph at the top for users, not builders, of Python.

* Use nicer rst url syntax to avoid borking paragraphs in the plain text.

Contributed by Ned Batchelder @nedbat

(cherry picked from commit 3cdbd68ce8230cff1afb67472b96fbfa7f047e32)

7 years agobpo-29438: fixed use-after-free in key sharing dict (#39)
INADA Naoki [Mon, 13 Feb 2017 00:19:05 +0000 (09:19 +0900)]
bpo-29438: fixed use-after-free in key sharing dict (#39)

7 years ago[backport to 3.6] bpo-28929: Link the documentation to its source file on GitHub...
Mariatta [Sun, 12 Feb 2017 21:08:24 +0000 (13:08 -0800)]
[backport to 3.6] bpo-28929: Link the documentation to its source file on GitHub (#37)

* bpo-28929: Link the documentation to its source file on GitHub

Change the documentation's `Show Source` link on the left menu
to GitHub source file.

(cherry picked from commit 23bafa294c75c20cb85ae5d97d7571a3a0ad8dd3)

* remove if statement

7 years agobpo-29474: Improve documentation for weakref.WeakValueDictionary (#22)
Mariatta [Sun, 12 Feb 2017 16:18:07 +0000 (08:18 -0800)]
bpo-29474: Improve documentation for weakref.WeakValueDictionary (#22)

There were some grammatical errors in weakref.WeakValueDictionary
documentation.