Commit Graph

97720 Commits

Author SHA1 Message Date
Senthil Kumaran 1b43a959fb Remove an unrequired TODO in test_urllib2. (#897) (#900)
(cherry picked from commit e6911a44f6)
2017-03-29 23:56:52 -07:00
Senthil Kumaran da6ad2f780 bpo-29917: DOC: Remove link from PyMethodDef (#890) (#894)
(cherry picked from commit c3c7ef0885)
2017-03-29 22:29:00 -07:00
Mariatta 2609c9ee78 bpo-29677: DOC: clarify documentation for `round` (GH-877) (GH-892)
(cherry picked from commit 85deefcf61)
2017-03-29 19:10:07 -07:00
Xiang Zhang 346dcd65e6 bpo-28699: fix abnormal behaviour of pools in multiprocessing.pool (GH-882)
an exception raised at the very first of an iterable would cause pools behave abnormally
(swallow the exception or hang)
2017-03-29 12:50:28 +08:00
Mariatta c4021af505 bpo-16011: clarify that 'in' always returns a boolean value (GH-874)
(cherry picked from commit 0ae7c8bd61)
2017-03-28 09:33:54 -07:00
INADA Naoki f01de61a8e bpo-29643: Fix check for --enable-optimizations (GH-869)
The presence of the ``--enable-optimizations`` flag is indicated by the
value of ``$enableval``, but the configure script was checking ``$withval``,
resulting in the ``--enable-optimizations`` flag being effectively ignored.
(cherry picked from commit 8cea5929f5)
2017-03-29 00:25:26 +09:00
Mariatta 5965062161 bpo-29677: DOC: clarify documentation for `round` (GH-357) (GH-862)
(cherry picked from commit 6003db7db5)
2017-03-27 17:02:29 -07:00
Brett Cannon 08f9f71162 Drop the standard gcc test build on Travis (GH-853) (GH-859)
Instead have gcc be used for the coverage build so gcc is exercised in at least one place.
(cherry picked from commit ad2f9e2c8a)
2017-03-27 16:46:31 -07:00
Zachary Ware bc2031470e Minor test cleanup (GH-837) (GH-838)
* Remove unused test file

* Remove duplicated text in sndhdrdata README

(cherry picked from commit b8a7daf077)
2017-03-27 00:35:56 -05:00
Zachary Ware abc68484b2 Treat Sphinx warnings as errors (GH-832) (GH-834)
* Treat Sphinx warnings as errors (GH-832)

(cherry picked from commit 334e9ec938)

* Remove unused suspicious rules
2017-03-26 22:53:57 -05:00
Mariatta d2fc782410 import sys before we use it on line 9 (GH-828) (GH-833)
(cherry picked from commit 0579e81f30)
2017-03-26 19:53:37 -07:00
Ned Deily ceff32fb83 bpo-29888: Fix the link referring to the "Python download page" (GH-824) (GH-826)
(cherry picked from commit f8beb9831a)
2017-03-26 13:58:13 -04:00
Mariatta 8b82236952 bpo-29862: Fix grammar in importlib.reload() exception (GH-809) (GH-811)
(cherry picked from commit 9f0aa4843f)
2017-03-25 03:41:59 -07:00
Mariatta 5dafaece67 bpo-29892: Fix wrong markup on doc-lib-functions (GH-802) (GH-810)
(cherry picked from commit 29540cdf6c)
2017-03-24 20:04:40 -07:00
Brett Cannon 74bfcc314b bpo-28810: Document remaining bytecode changes in 3.6 (GH-651) (GH-808)
(cherry picked from commit 8f9e1bbf2d)
2017-03-24 14:18:53 -07:00
Serhiy Storchaka 8c8785b2f8 bpo-25803: Avoid incorrect errors raised by Path.mkdir(exist_ok=True)… (#806)
when the OS gives priority to errors such as EACCES over EEXIST.

(cherry picked from commit af7b9ec5c8)
2017-03-24 21:46:25 +02:00
Antoine Pitrou cc3331fec8 bpo-29861: release references to multiprocessing Pool tasks (#743) (#800)
* bpo-29861: release references to multiprocessing Pool tasks (#743)

* bpo-29861: release references to multiprocessing Pool tasks

Release references to tasks, their arguments and their results as soon
as they are finished, instead of keeping them alive until another task
arrives.

* Comments in test

(cherry picked from commit 8988945cdc)

* Fix Misc/NEWS (hopefully)
2017-03-24 14:45:34 +01:00
Christophe Zeitouny 90eafdb154 faulthandler: Restore the old sigaltstack during teardown (GH-777) (GH-797)
(cherry picked from commit 20fbf8accd)
2017-03-24 04:20:40 -07:00
Mariatta ee51327a23 Remove an outdated statement in execution model docs (GH-754) (GH-775)
(cherry picked from commit fad7f15606)
2017-03-22 18:56:56 -07:00
INADA Naoki 906118d8c6 bpo-28331: fix impl-detail label is removed when content is translated. (GH-769)
(cherry picked from commit c351ce6a2c)
2017-03-22 21:09:41 +09:00
INADA Naoki c0f3e21a23 doc: minor fix for library/profile (GH-766)
(cherry picked from commit bd3d8ba3b2)
2017-03-22 17:14:03 +09:00
Xiang Zhang 72c51136c6 fix function name in tabnanny documentation (GH-762) 2017-03-22 15:26:53 +08:00
Serhiy Storchaka af839fe2fe bpo-29864: Don't use Py_SIZE for dict object. (#747) (#750) 2017-03-22 07:45:23 +02:00
Ned Deily f93b994892 Merge branch '3.6.1' of github.com:ned-deily/cpython into 3.6 2017-03-21 21:03:20 -04:00
Ned Deily 1688e64925 Bump to 3.6.2rc1 development. 2017-03-21 20:39:58 -04:00
Ned Deily 677df6ecad Revert and fix Misc/NEWS after merge error in fca705d533. (#755) 2017-03-21 20:21:49 -04:00
INADA Naoki fe30339534 bpo-29859: Fix error messages from return codes for pthread_* calls (GH-753)
(cherry picked from commit d7fa6b259e)
2017-03-22 03:46:26 +09: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 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