Commit Graph

97579 Commits

Author SHA1 Message Date
Ned Deily 1688e64925 Bump to 3.6.2rc1 development. 2017-03-21 20:39:58 -04:00
Ned Deily 69c0db5050 Update docs and patchlevel for 3.6.1 final 2017-03-21 02:32:38 -04:00
Ned Deily 8c18fbeed1 bpo-27593: Revise git SCM build info. (#744) (#745)
Use --short form of git hash.  Use output from "git describe" for tag.

Expected outputs:
1. previous hg
2. previous git
3. updated git

Release (tagged) build:
1. Python 3.7.0a0 (v3.7.0a0:4def2a2901a5, ...
2. Python 3.7.0a0 (v3.7.0a0^0:05f53735c8912f8df1077e897f052571e13c3496, ...
3. Python 3.7.0a0 (v3.7.0a0:05f53735c8, ...

Development build:
1. Python 3.7.0a0 (default:41df79263a11, ...
2. Python 3.7.0a0 (master:05f53735c8912f8df1077e897f052571e13c3496, ...
3. Python 3.7.0a0 (heads/master-dirty:05f53735c8, ...

"dirty" means the working tree has uncommitted changes.
See "git help describe" for more info.
(cherry picked from commit 554626ada7)
(cherry picked from commit e9213d929d)
2017-03-21 01:55:37 -04:00
Steve Dower 360c49b9cf Takes vcruntime140.dll from the correct source. (#684)
(cherry picked from commit 9cd5e87bac)
2017-03-21 01:55:26 -04:00
Nick Coghlan 75345c552d [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 d2977a3ae2)

(cherry picked from commit c60948464f)
2017-03-21 01:55:11 -04:00
n.d. parker 07e6cbd7b9 Fix the only non-C90 comment to be C90 compatible. (#568)
(cherry picked from commit 51b646a55a)
2017-03-21 01:54:50 -04:00
INADA Naoki 0acdea79cb bpo-29719: Remove Date and Release field in whatsnew/3.6 (GH-500)
(cherry picked from commit 2225ddaa9e)
(cherry picked from commit 4e1a065c20)
2017-03-21 01:54:34 -04:00
Steve Dower 6efc812280 Fixes the upload script to purge the CDN correctly and display success output. (#466) (#497)
(cherry picked from commit e544b40faa)
2017-03-21 01:54:06 -04:00
Ned Deily e0fbe5feee Update docs and patchlevel for 3.6.1rc1. 2017-03-04 12:25:04 -05:00
Ned Deily cefca3d7b5 Update pydoc topics for 3.6.0rc1 2017-03-04 12:18:43 -05:00
Ned Deily 5976b9a88b Refresh Python/importlib.h and Python/importlib_external.h (#464) 2017-03-04 07:04:41 -05:00
Ned Deily 1d391f926b [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 de04644627)
2017-03-04 06:19:05 -05:00
Ned Deily 343d48379c bpo-29572: Update macOS installer build to OpenSSL 1.0.2k (#457) (#459)
(cherry picked from commit cfcd76777e)
2017-03-04 03:04:48 -05:00
Ned Deily 5ddddb166d bpo-29550: Temporarily skip "make touch" in Mac installer build. (#456) (#458)
(cherry picked from commit 7cd9b22e98)
2017-03-04 02:55:09 -05:00
Ned Deily 95c50e5aed [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 5c4b0d063a)
2017-03-04 01:05:06 -05:00
Steve Dower 793f822068 Fixes git command (#451) (#452) 2017-03-03 21:57:47 -08:00
Steve Dower d3e1e9df72 bpo-27593: Updates Windows build to use information from git (#262) (#450)
* bpo-27593: Updates Windows build to use information from git
2017-03-03 21:32:17 -08:00
Brett Cannon 226af23e85 bpo-26213: Document _UNPACK bytecodes and BUILD_MAP changes (GH-440)
(cherry picked from commit 0705f66eb3)
2017-03-03 14:47:06 -08:00
Zachary Ware 03f7cb0604 bpo-29572: Update Windows build to OpenSSL 1.0.2k (GH-442) 2017-03-03 16:07:25 -06:00
Mariatta 1936ba93c9 bpo-29709: Improve Boolean Operations documentation (#433) (#437)
(cherry picked from commit 8eb531d9db)
2017-03-03 13:24:13 -08:00
Brett Cannon 9d07aceeda bpo-29455: Mention coverage.py in trace module documentation (GH-435)
(cherry picked from commit 5dfccb06dc)
2017-03-03 12:58:17 -08:00
Berker Peksag 21ce65aa67 [3.6] bpo-29623: Make PathLike objects work with ConfigParser.read() (#242) (#432)
(cherry picked from commit 85b8d01c91)

Conflicts:

	Lib/test/test_configparser.py
2017-03-03 20:48:37 +03:00
Berker Peksag c7ff163abf 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 c643a967dd)
2017-03-03 18:07:18 +03:00
Yury Selivanov 2adc668481 Restore NEWS file after incorrect git automerge 2017-03-03 01:08:10 -05:00
Mariatta 93692b1a7c getpass: update docstrings (GH-49) (GH-419)
(cherry picked from commit baf7bb30a0)
2017-03-02 21:56:06 -08:00
Mariatta b8f5d07158 bpo-29026: Clarify documentation of time.time (GH-34) (GH-417)
(cherry picked from commit 23557d59b8)
2017-03-02 21:50:10 -08:00
Yury Selivanov d8b72e4a06 bpo-28963: Fix out of bound iteration in asyncio.Future.remove_done_callback/C (#408) 2017-03-03 00:05:22 -05:00
Yury Selivanov 2ef08d3be7 asyncio: Optimize _get_running_loop() to call getpid() only when there's a loop 2017-03-02 23:58:29 -05:00
Seth M. Larson 604faba1db bpo-29704: Fix asyncio.SubprocessStreamProtocol closing (#405) 2017-03-02 23:31:17 -05:00
Yury Selivanov 13802a3b11 bpo-29271: Fix Task.current_task and Task.all_tasks to accept None. (#406) 2017-03-02 23:19:49 -05:00
Yury Selivanov dea5101ae1 bpo-28893: Set __cause__ for errors in async iteration protocol (#407) 2017-03-02 22:28:07 -05:00
Yury Selivanov 01e5230ef0 bpo-29703: asyncio: Fix creating new event loops in child processes. (#404) (#410) 2017-03-02 22:06:15 -05:00
Brian Coleman a6e84933d2 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.
2017-03-03 00:21:53 +02:00
Alex Gaynor 65bd0bdf3d In SSL module version examples, don't use a legacy version. (#381) (#400) 2017-03-02 12:37:50 -05:00
Donald Stufft 784ba7c8ad bpo-29697: Don't use OpenSSL <1.0.2 fallback on 1.1+ (#397) 2017-03-02 12:32:13 -05:00
Mariatta b05d48e021 email.compat32-message.rst: Fix typo in the word `message` (GH-379) (GH-380)
(cherry picked from commit da62373b0d)
2017-03-01 07:35:23 -08:00
INADA Naoki 023532e558 bpo-29684: Fix minor regression of PyEval_CallObjectWithKeywords. (GH-378) 2017-03-01 21:14:43 +09:00
Mariatta 1b93ed4f3e Fixed a handful of typos (GH-343) (GH-364)
(cherry picked from commit 1cf2a809b1)
2017-02-28 21:08:13 -08:00
Mariatta 8458b2b4ef correct documentation for enum.html (GH-358) (GH-367)
(cherry picked from commit 626584284e)
2017-02-28 21:07:32 -08:00
Donald Stufft d413aa7893 Disable mention-bot for maintenance branches (GH-365) 2017-02-28 23:19:58 -05:00
Xiang Zhang c4a786b8ad bpo-29661: fix contradiction in timeit.Timer.autorange's docstring (GH-331) (GH-353) 2017-02-28 11:28:44 +08:00
Berker Peksag 7accf2033d bpo-29655: Fixed possible reference leaks in `import *`. (#301) (#348)
Patch by Matthias Bussonnier.

(cherry picked from commit 160edb4357)
2017-02-27 20:41:21 +03:00
Berker Peksag bb59d89cee bpo-27788 : synchronise platform.py version number (#246) (#341)
Was bumped in the docstring by b9f4feab1b
but not in `__version__`

(cherry picked from commit 6059ce45aa)
2017-02-27 19:14:11 +03:00
Martijn Pieters 53039ad381 bpo-28598: Support __rmod__ for RHS subclasses of str in % string formatting operations (#95) 2017-02-27 19:08:01 +03:00
Berker Peksag 046041e23b Delete accidentally merged entries from Misc/NEWS (#338) 2017-02-27 17:26:10 +03:00
Mariatta bc10e6bd7b Asyncio documentation: remove `self` from method signatures (GH-334) (GH-337)
(cherry picked from commit 091b84f23a)
2017-02-27 06:02:21 -08:00
Xiang Zhang 8aa1ad892f bpo-29662: fix wrong indentation in timeit.Timer's doc (GH-333) 2017-02-27 13:55:07 +08:00
Xiang Zhang 4b6c41768a bpo-29376: Fix assertion error in threading._DummyThread.is_alive() (GH-330) 2017-02-27 11:45:42 +08:00
Mariatta 7e4897a2fb bpo-26184: import.rst: Improve versionchanged note (GH-325) (GH-326)
(cherry picked from commit 1f5639c77f)
2017-02-26 13:30:44 -08:00
INADA Naoki c9131b61fa [3.6] bpo-29110: Fix file object leak in `aifc.open` (#310)
(cherry picked from commit 03f68b60e1) (GH-162)
(cherry picked from commit 5dc33eea53) (GH-293)
2017-02-27 04:09:32 +09:00