Commit Graph

97816 Commits

Author SHA1 Message Date
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
Serhiy Storchaka 9cef253ae3 [3.6] bpo-29768: Fixed compile-time check for expat version. (#576)
(cherry picked from commit 22e707fa04)
2017-03-09 10:51:44 +02:00
n.d. parker 51b646a55a Fix the only non-C90 comment to be C90 compatible. (#568) 2017-03-09 00:27:46 +02:00
Mariatta 7253aded71 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 61e2bc74df)
2017-03-08 17:19:57 +01:00
Serhiy Storchaka eb65edd102 [3.6] bpo-28231: The zipfile module now accepts path-like objects for external paths. (#561)
(cherry picked from commit 8606e9524a)
2017-03-08 15:45:43 +02:00
Serhiy Storchaka 666165fddf [3.6] bpo-28230: Document the pathlib support in tarfile and add tests. (#559) 2017-03-08 12:29:33 +02:00
Benjamin Peterson 6a4b04cd33 Revert "bpo-29571: Use correct locale encoding in test_re (#149)" (#554) (#555)
This reverts commit ace5c0fdd9.
2017-03-07 23:56:59 -08:00
Xiang Zhang 78ad039bcf bpo-26915: Test identity first in index() and count() of collections.abc.Sequence (GH-553) 2017-03-08 11:43:35 +08:00
Mariatta 23b26c4e20 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 661ca8843f)
2017-03-07 02:44:11 -08:00
INADA Naoki 33d70d1721 PCbuild: Add -q option to svn export (GH-537)
Without this option, AppVeyor log is too unreadable.
(cherry picked from commit 8886d5f392)
2017-03-07 17:18:12 +09:00
Xiang Zhang 284a2ba140 bpo-28728: clarify possible test failure due to ISP (GH-412) (GH-531) 2017-03-07 11:53:29 +08:00
Mariatta 130c4ec5fb 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 6de2b7817f)
2017-03-06 09:31:16 -08:00
Mariatta e9effe6bb6 fix minor bug in pymalloc. (GH-335) (GH-476)
(cherry picked from commit f669ffff60)
2017-03-06 09:15:41 -08:00
Xiang Zhang df6d7b406f [3.6] bpo-29714: Fix a regression that bytes format may fail when containing zero bytes inside. (GH-504) 2017-03-06 18:17:10 +08:00
INADA Naoki 4e1a065c20 bpo-29719: Remove Date and Release field in whatsnew/3.6 (GH-500)
(cherry picked from commit 2225ddaa9e)
2017-03-06 17:24:28 +09:00
Steve Dower e544b40faa Fixes the upload script to purge the CDN correctly and display success output. (#466) (#497) 2017-03-05 19:58:06 -08:00
Ivan Levkivskyi b414e349eb bpo-29638: Fix spurious refleaks after typing is imported (#469) (#483) 2017-03-05 21:18:43 +02:00
Petr Motejlek 3405792b02 bpo-29615: backport to 3.6 (#478) 2017-03-05 18:14:06 +02:00
Ned Deily 8192402e8a Merge 3.6.1rc1 releasing branch into 3.6 2017-03-05 05:57:22 -05:00
Ned Deily 38136e2a58 Bump to v3.6.1rc1+. 2017-03-05 05:33:38 -05:00
Mariatta 9619ec9947 distutils docs: Fix a typo (GH-470) (GH-471)
(cherry picked from commit 2a7bddaab7)
2017-03-04 16:43:57 -08:00
Mariatta 43571dde7b Correct spelling "instanciate" (GH-465) (GH-467)
(cherry picked from commit 6abaed0dda)
2017-03-04 15:40:48 -08: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