Commit Graph

97742 Commits

Author SHA1 Message Date
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 e9213d929d 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)
2017-03-21 00:35:08 -04:00
Serhiy Storchaka fcd79ada4e Fix "NotImplentedError" typo in constants documentation (#692) (#739)
`NotImplentedError` --> `NotImplementedError`
(cherry picked from commit 05f53735c8)
2017-03-20 14:54:52 +02:00
Serhiy Storchaka 6fad4090ec bpo-28876: bool of large range raises OverflowError (#699) (#734)
(cherry picked from commit e46fb86118)
2017-03-20 09:13:47 +02:00
Mariatta d1f566f6bd bpo-29856: Fix typo in curses documentation (GH-730) (GH-731)
From Shifted Dxit -> Shifted Exit in Doc/library/curses.rst
(cherry picked from commit 64508780d7)
2017-03-19 20:55:16 -07:00
Serhiy Storchaka 3d258b1eb4 bpo-29116: Fix error messages for concatenating bytes and bytearray with unsupported type. (#709) (#723)
(cherry picked from commit 6b5a9ec478)
2017-03-19 21:06:29 +02:00
Serhiy Storchaka da88596a19 bpo-29845: Mark tests that use _testcapi as CPython-only (#711) (#725)
(cherry picked from commit 24c738a9e9)
2017-03-19 20:53:42 +02:00
Serhiy Storchaka fca705d533 bpo-25455: Fixed crashes in repr of recursive buffered file-like objects. (#514) (#722)
(cherry picked from commit a5af6e1af7)
2017-03-19 20:27:16 +02:00
Serhiy Storchaka 69eab3123e bpo-28749: Fixed the documentation of the mapping codec APIs. (#487) (#714)
Added the documentation for PyUnicode_Translate().
(cherry picked from commit c85a26628c)
2017-03-19 20:26:26 +02:00
Brett Cannon b044120f04 Drop C++ header compatibility test (#718) (#719)
The $CXX environment variable is not exported under the 'c' language on Travis.
(cherry picked from commit 77ed11552d)
2017-03-19 10:03:39 -07:00
Brett Cannon 49fc153342 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 993d4b3440)
2017-03-17 15:41:35 -07:00
Vinay Sajip 46e81d3345 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 1b038e0738)
2017-03-17 19:52:56 +00:00
Berker Peksag 948171bf99 bpo-16355: Clarify when inspect.getcomments() returns None (#428) (#690)
Initial patch by Vajrasky Kok.

(cherry picked from commit 3f2155ffe6)
2017-03-17 14:59:16 +03:00
Mariatta 7c2081122c Add sockaddr_alg to sock_addr_t (GH-234) (GH-533)
(cherry picked from commit d37c068e69)
2017-03-16 20:59:36 -07:00
Mariatta 4ac01f0ff3 update test_socket AEAD test for kernel 4.9 and up (GH-133) (GH-548)
(cherry picked from commit 9764c151c5)
2017-03-16 20:58:42 -07:00
Mariatta 3fce38c540 bpo-29820: othergui.rst: Remove outdated information (GH-685) (GH-688)
(cherry picked from commit 1bb0f3762e)
2017-03-16 19:56:56 -07:00
Steve Dower 9cd5e87bac Takes vcruntime140.dll from the correct source. (#684) 2017-03-16 11:03:03 -07:00
Berker Peksag 0dfd18a1e1 Fix stderr bug in json.tool test (#346) (#676)
See https://github.com/python/cpython/pull/201#discussion_r103229425.(cherry picked from commit b4e9087e7b)
2017-03-16 16:22:35 +03:00
Berker Peksag 78add3309b Change assertRaises to assertRaisesRegex in test_xmlrpc (#481) (#674)
(cherry picked from commit c6b448b36d)
2017-03-15 14:12:53 +03:00
Berker Peksag 02c6fa573a Delete duplicate entry in Misc/NEWS (#673)
It has already been added in the build section.
2017-03-15 14:12:22 +03:00
Michael Seifert 53b2667dcf bpo-29800: Fix crashes in partial.__repr__ if the keys of partial.keywords are not strings (#649) (#671) 2017-03-15 09:42:02 +02:00
Xiang Zhang faa2cc63e4 bpo-28856: Let %b format for bytes support objects that follow the buffer protocol (GH-664) 2017-03-14 15:27:01 +08:00
Xiang Zhang 388e2568fc ftplib.FTP.retrbinary callback gets a bytes, not a str (GH-652) (GH-657) 2017-03-13 11:03:36 +08:00
Xiang Zhang 7927abba34 fix the name of argument to ftplib.FTP.set_pasv and fix wording (GH-653) (GH-654) 2017-03-13 10:36:34 +08:00
Yury Selivanov 99f8d33a94 bpo-29742: asyncio get_extra_info() throws exception (#525) (#645) 2017-03-12 17:06:16 -04:00
Yury Selivanov fa448de97d Fix wrapping into StopIteration of return values in generators and coroutines (#644) (#647) 2017-03-12 17:04:06 -04:00
Serhiy Storchaka aac875fa2f [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.
2017-03-12 21:52:17 +02:00
Nick Coghlan c60948464f [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)
2017-03-12 21:34:22 +10:00
Nick Coghlan 61a82a5fbf 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 6a6d090612)
2017-03-12 20:00:20 +10:00
Serhiy Storchaka 4652d82a51 bpo-29746: Update marshal docs to Python 3. (#547) (#631)
(cherry picked from commit c611a5b1d4)
2017-03-12 10:05:05 +02:00
Nick Coghlan 2f386254e2 bpo-29656: Handle PR branches in 'make patchcheck' (#302) (#626)
(cherry picked from commit 482f7a274f)
2017-03-12 16:17:46 +10:00
Zachary Ware 7c6d6e0564 bpo-29763: Use support.unlink instead of os.unlink (GH-624) (GH-625)
support.unlink waits for the files to be removed before returning
2017-03-11 22:39:54 -06:00
Zachary Ware df6f3f6f57 fix subprocess on Windows (GH-391 backport) (GH-623) 2017-03-11 17:16:34 -06:00
Zachary Ware b3536df9f8 Only trigger AppVeyor on code or config changes (GH-611 backport) (GH-620) 2017-03-11 15:42:25 -06:00
Mariatta d7a8d32ce2 tempfile.rst: Fix some typos (GH-610) (GH-618)
(cherry picked from commit d3b8f98696)
2017-03-11 10:19:51 -08:00
Xiang Zhang 16416c22f9 bpo-29770: remove outdated PYO related info (GH-590) (GH-612) 2017-03-11 14:07:30 +08:00
Mariatta 701f13ab93 bpo-29784: Fix the reference to shutil.copy in the docs (GH-602) (GH-608)
(cherry picked from commit 70ee0cd5c2)
2017-03-10 19:36:26 -08:00
Brett Cannon 4807fa8386 bpo-28810: Document changes to CALL_FUNCTION opcodes (GH-607)
(cherry picked from commit 4b2a2a425a)
2017-03-10 15:08:52 -08:00
Brett Cannon 68c5e4c592 bpo-28810: Document BUILD_TUPLE_UNPACK_WITH_CALL bytecode (GH-605)
(cherry picked from commit 7e52c3e7ae)
2017-03-10 14:44:48 -08:00
Mariatta ff6f371627 bpo-28739: Document that f-strings cannot be used as docstring (GH-592) (GH-600)
(cherry picked from commit d4e89287b3)
2017-03-10 09:52:03 -08:00
Łukasz Langa faaa80fb98 Ignore Include/pydtrace_probes.h (#596)
This is a generated file when --with-dtrace is passed. This entry is present in
.hgignore.
2017-03-10 14:30:05 +01:00
Zachary Ware d9b0b8f63c Add Appveyor (GH-324 backport) (GH-491) 2017-03-10 01:06:43 -06:00
Serhiy Storchaka 80dfbe30b7 [3.6] bpo-29773: Add more cases for testing string to float conversion errors. (#586)
(cherry picked from commit 9e6ac83aca)
2017-03-09 21:01:49 +02:00
Victor Stinner 68d2980940 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 0f6d73343d)
(Misc/NEWS conflict handled manually.)
2017-03-09 18:43:39 +01:00
orenmn 26d013e00f [3.6] bpo-28298: make array 'Q', 'L' and 'I' accept big intables as elements (#579) 2017-03-09 16:06:47 +02:00