Commit Graph

98584 Commits

Author SHA1 Message Date
Miss Islington (bot) 4aa84e7285 bpo-32306: Clarify c.f.Executor.map() documentation (GH-4947) (#4948)
The built-in map() function collects function arguments lazily, but concurrent.futures.Executor.map() does so eagerly.
(cherry picked from commit a7a751dd7b)
2017-12-20 19:19:18 +01:00
Miss Islington (bot) 75d1ca26b0 Improve the F-strings and format specifier documentation (GH-4931) (GH-4933)
Mention that the format-specifier mini language in f-strings
is the same one used by str.format.
(cherry picked from commit f4e21a2a72)
2017-12-19 13:09:19 -08:00
Miss Islington (bot) dc5770b161 bpo-32377: improve __del__ docs and fix mention about resurrection (GH-4927) (#4929)
* Fix GH-32377: improve __del__ docs and fix mention about resurrection

* Mention that CPython only calls __del__ once.
(cherry picked from commit 4b965930e8)
2017-12-19 20:00:13 +01:00
Ned Deily 86816ecb98 3.6.4+ 2017-12-19 02:56:06 -05:00
Ned Deily fb301cb703 Python 3.6.4
-----BEGIN PGP SIGNATURE-----
 
 iQIzBAABCgAdFiEEDZbfTUEQ5cQ/v7F/LTR+pqplQh0FAlo4m+sACgkQLTR+pqpl
 Qh3oPhAAu+gAOZRzRLZ6P5tuICKMzBQmMSbVd5XZyXRlgW8yiNRzsRcS+6uJqDZO
 c6/BZYPYpIATZZlffY9jKSPUa/HgKt1r3d3TTeOcOrdj+pfr0xBwFGa0Wns1+BrU
 cm1NMnMDevn5SHf3+wRX+RBe/3BN4u4XEvsO3IgBguT0PqNG90cRTwdt583YB66Q
 0M0G9Sd3w5o6DJLyJzvT/zneU2SgRO+cf/8IIKO1YGgrgbjEvws3Fp1AVBnRZ4B3
 SIYaSWro+o7c4xvbXKZu1Rjtf9mgbms9qwqmFI0cIB3azYwMM6lqiofNFsmKOl+G
 yGpgBxL14zdWVYdR0VfsYpUs/3O9npRCQCoXnAMDN7nPvEI7QAKKOLlJKXkPdaV8
 SOuqat1cPyXJrOttuU6xO4Kq0k/drKiEt390iuvi7Kvfo0CbGG5L7/Z+wJJVvsSM
 XDd3zsC2/SYpGTXlSkybB8P4o72RXc5ehg/u3DfzwM6RMOWFvPjG5HL9HacX7BXE
 zgeQqjAyRspnSof2Kvpr7QSqfk4OxxkN90To6R+AAZs9wuZzfj8L8//oOp6XCbIk
 qwl8lJ6eBjdqvufB7fdj9gbnlSK+/QechCVqNE5jTjNKRaPzcXz5BNsFN+tB0Da+
 n9hmSBiv76Xj5qKak+vBHC1vszWPe9e/0uLpyzWNkMYJD3fZcxI=
 =zrPM
 -----END PGP SIGNATURE-----

Merge tag 'v3.6.4' into 3.6
2017-12-19 02:46:01 -05:00
Ned Deily d48ecebad5 Update to 3.6.4 2017-12-18 23:53:56 -05:00
Ned Deily c7d7f7729e Update NEWS for 3.6.4 final 2017-12-18 23:50:55 -05:00
Miss Islington (bot) 898a3e4901 bpo-32284: Fix documentation of BinaryIO and TextIO (GH-4832) (#4833)
(cherry picked from commit c3e070f849)
2017-12-18 23:25:37 -05:00
Miss Islington (bot) 638f68c8bc Allows non-critical upload steps to fail (GH-4742) (#4743)
(cherry picked from commit 9ab11b3a02)
2017-12-18 23:25:18 -05:00
Miss Islington (bot) 5659743b56 bpo-32365: Fix a reference leak when compile __debug__. (GH-4916) (#4918)
It was introduced in bpo-27169.
(cherry picked from commit bd6ec4d79e)
2017-12-18 15:11:51 +02:00
Yury Selivanov 572636d425
bpo-27456: Ensure TCP_NODELAY is set on linux (#4231) (#4898)
(cherry picked from commit e796b2fe26)
2017-12-15 21:53:08 -05:00
Miss Islington (bot) dab4cf210c Minor wording tweak for itertools documentation (GH-4893) (#4894)
(cherry picked from commit 6693d7af66)
2017-12-15 13:28:50 -08:00
Miss Islington (bot) 5a9f379435 F-strings docs: link to Format Specifiers (GH-4888) (GH-4889)
Link to the Format Specification Mini Language section from f-strings' documentation.
(cherry picked from commit d924fa523d)
2017-12-15 10:11:17 -08:00
Miss Islington (bot) 7d1fbecd6a bpo-32294: Fix multiprocessing test_semaphore_tracker() (GH-4885) (#4887)
Run the child process with -E option to ignore the PYTHONWARNINGS
environment variable.
(cherry picked from commit 9402c8367b)
2017-12-15 17:26:46 +01:00
Victor Stinner da2b79867e
compile.c: Remove unused varible (#4886)
Fix a compiler warning.
2017-12-15 16:29:48 +01:00
Miss Islington (bot) 77bf6da725 bpo-28393: Update encoding lookup docs wrt bpo-27938 (GH-4871) (#4881)
(cherry picked from commit 297fd876aa)
2017-12-15 15:23:24 +01:00
Serhiy Storchaka b580f4f2bf
[3.6] bpo-30416: Protect the optimizer during constant folding. (#4865)
It no longer spends much time doing complex calculations and no
longer consumes much memory for creating large constants that will
be dropped later.

This fixes also bpo-21074.
2017-12-15 14:12:14 +02:00
Serhiy Storchaka b82da9ebb2
[3.6] bpo-27169: The __debug__ constant is now optimized out at compile time. (GH-4880) (#4882)
This fixes also bpo-22091..
(cherry picked from commit 3325a6780c)
2017-12-15 13:26:26 +02:00
Victor Stinner 22097aaa77
bpo-32329: Fix sys.flags.hash_randomization (#4875)
sys.flags.hash_randomization is now properly set to 0 when hash
randomization is turned off by PYTHONHASHSEED=0.
2017-12-15 01:39:48 +01:00
Miss Islington (bot) d1cb1067a8 bpo-32277: Fix exception raised from chmod(..., follow_symlinks=False) (GH-4797) (#4869)
(cherry picked from commit 233ef249cc)
2017-12-14 19:30:45 +02:00
Victor Stinner 4f37105277
pythoninfo: sync with master (#4844) 2017-12-14 15:41:06 +01:00
Andrew Svetlov 28453feaa8
[3.6] bpo-32297: Fix misspellings in Python source code comments (GH-4803) (#4864)
* [3.6] bpo-32297: Few misspellings found in Python source code comments. (GH-4803)

* Fix multiple typos in code comments

* Add spacing in comments (test_logging.py, test_math.py)

* Fix spaces at the beginning of comments in test_logging.py.

(cherry picked from commit 53f7a7c281)
2017-12-14 16:19:51 +02:00
Miss Islington (bot) 645fa19f15 bpo-32302: Fix distutils bdist_wininst for CRT v142 (GH-4851) (#4861)
CRT v142 is binary compatible with CRT v140.
(cherry picked from commit 9e7c136ad8)
2017-12-14 12:00:50 +01:00
Victor Stinner 1d2a387b95
bpo-32316: Travis CI: use PYTHON_FOR_REGEN=python3 (#4853)
"make regen-all" requires a working python3.6 or python3. Without
"python: 3.6", Travis CI provides a "python3.6" script which ony
write an error.

Use "python3" instead.
2017-12-14 00:51:45 +01:00
Miss Islington (bot) 4a97809a38 trivial: link updates in documentation (GH-2765) (#4835)
(cherry picked from commit 4f29f3c84b)
2017-12-13 14:45:19 +02:00
Antoine Pitrou b6263ca313
[3.6] Test atexit shutdown mechanism in a subprocess (GH-4828) (#4829)
* Test atexit shutdown mechanism in a subprocess.
(cherry picked from commit fc5db95e00)
2017-12-13 11:53:59 +01:00
Miss Islington (bot) b0358e8784 bpo-32284: Fix documentation of BinaryIO and TextIO (GH-4832) (#4833)
(cherry picked from commit c3e070f849)
2017-12-13 10:59:01 +02:00
Miss Islington (bot) f4b814f9a2 Fix improper use of re.escape() in tests. (GH-4814) (#4816)
(cherry picked from commit b748e3b258)
2017-12-12 20:29:05 +02:00
Miss Islington (bot) eb2f222aae Fix implementation dependent assertion in test_plistlib. (GH-4813) (#4815)
It is failed with an advanced optimizer.
(cherry picked from commit 0e069a1597)
2017-12-12 19:53:02 +02:00
Miss Islington (bot) 78cd00b799 bpo-31942: Document optional support of start and stop attributes in Sequence.index method (GH-4277) (#4811)
(cherry picked from commit 5ce0a2a100)
2017-12-12 11:58:26 +01:00
Miss Islington (bot) ce5a3cd9b1 bpo-32255: Always quote a single empty field when write into a CSV file. (GH-4769) (#4810)
This allows to distinguish an empty row from a row consisting of a single empty field.
(cherry picked from commit 2001900b0c)
2017-12-12 12:56:40 +02:00
Miss Islington (bot) 82adaf5ffe Fix idlelib comment typos reported by Mike on pull request 4803. (GH-4807) (#4809)
(cherry picked from commit e570211406)
2017-12-11 23:29:34 -05:00
Miss Islington (bot) 0aa2a1d003 bpo-22671: Clarify and test default read method implementations (GH-4568) (#4796)
Original patch written by Martin Panter, enhanced by Sanyam Khurana.
(cherry picked from commit 1b74f9b77a)
2017-12-11 15:27:25 +01:00
Miss Islington (bot) 71d8f36eb4 bpo-32252: Fix faulthandler_suppress_crash_report() (GH-4794) (#4795)
Fix faulthandler_suppress_crash_report() used to prevent core dump files
when testing crashes. getrlimit() returns zero on success.
(cherry picked from commit 48d4dd974f)
2017-12-11 14:17:06 +01:00
Miss Islington (bot) f446b24415 Removed doubled 'bpo-'. (GH-4777) (#4780)
(cherry picked from commit f658641a05)
2017-12-10 05:38:38 -05:00
Vinay Sajip 63868181a9
bpo-32212: Updated logging documentation to make parameter names more consistent with source. (GH-4765) (GH-4767)
(cherry picked from commit a9f8df646a)
2017-12-09 12:28:16 +00:00
Miss Islington (bot) a04ca12e12 bpo-32208: update threading.Semaphore docs and add unit test (GH-4709) (#4750)
* fix issue32208: update threading.Semaphore docs and add unit test to validate correct behavior

* add test for blocking

* Update threading.rst

* semaphore: remove documentation validation tests and move 'return value' test to BaseSemaphore
(cherry picked from commit a0374dd34a)
2017-12-07 20:48:35 +02:00
Miss Islington (bot) 03031fbc7d bpo-32199: The getnode() ip getter now uses 'ip link' instead of 'ip link list' (GH-4696) (#4747)
(cherry picked from commit 961dbe0548)
2017-12-07 13:48:14 +01:00
Miss Islington (bot) 8676ac5419 Allows non-critical upload steps to fail (GH-4742) (#4743)
(cherry picked from commit 9ab11b3a02)
2017-12-06 12:12:44 -08:00
Ned Deily f722e8c993 Bump to 3.6.4rc1+ 2017-12-05 20:46:02 -05:00
Ned Deily ff69423492 Python 3.6.4rc1
-----BEGIN PGP SIGNATURE-----
 
 iQIzBAABCgAdFiEEDZbfTUEQ5cQ/v7F/LTR+pqplQh0FAlomWJMACgkQLTR+pqpl
 Qh2zrg/+Pt0zn4IwkN/Kjd8K/anUMiNtLfhXalFXgYuyK0kkhkQD58Uh2jGD3zfq
 zrDT2dsFSmLMthIIrHade1kznnQ752+uIAL4Ohytk71vTo2Pjmfd38wWRtE8unHm
 8WKHDraR7mQa5HeALOAiwdKZvfMW17SqUiffhbBcz6dOY1sgnR8LfvsgM8BR/IQK
 oBm2Ywpl8tJ7BNRTmKG9HvxZURhV/6D5MGEJA1W7cQHS9RAdZ5zqlTbqB6K2tCl4
 o91DXAfKatCi9gBJfx3vPS+Cw557wPFkVcwRSUrgns3l0hrFS5n77uHoJpKlT2lx
 e0YYx/EilES2UpgtCqPswNpvNIs0wui83ZSJFvDy5OTPnDAImZ0v8iNc1c729bbD
 JsOPXNXv9mxtkrmbWEzuDJp0vI4VrjLbCiIOtLbbQD8n01FqgimoUPyPGpPr2Gwl
 8a7eUs5l3a1fr8S4urxn4W+aVxLo2txtP5j+zRtw0o1OPX1qnJ2ajOS9gr6Q0Oip
 1crR/Um7YIP8YqXqhq54YqYvVDjOg4/Y9F77fUNTiKRP4N8Ungl5GXv2yG8bJ5Fl
 lWDa7o+WWJIOPZMW9ItTexvZy/4oiGSShN/i0qeiBNLvA9kUby+POxCzk4ipPymP
 4DQPWU+e+OEvyILzBuRPyV+4buONMml1TUuQQPUJv+IkoeJ5OAo=
 =2R3W
 -----END PGP SIGNATURE-----

Merge tag 'v3.6.4rc1' into 3.6
2017-12-05 20:39:16 -05:00
Miss Islington (bot) 7a6f28f280 bpo-30928: update idlelib/NEWS.txt. (GH-4706) (#4707)
(cherry picked from commit 2c0c68d927)
2017-12-05 13:44:09 -05:00
Ned Deily 3398dcb14f Bump to 3.6.4rc1 2017-12-05 03:26:08 -05:00
Ned Deily de4c3f312c Update NEWS and pydoc topics. 2017-12-05 03:17:05 -05:00
Ned Deily 0da25972fd Tidy NEWS entry. 2017-12-05 02:41:31 -05:00
Miss Islington (bot) 3b55416700 Add a missing space in tkinter documentation. (GH-4692) (GH-4722)
(cherry picked from commit ae342cf7de)
2017-12-04 21:16:20 -08:00
Miss Islington (bot) d9cadc5f59 [3.6] bpo-31380: Skip test_httpservers test_undecodable_file on macOS. (GH-4720) (#4721)
The undecodable file name cannot be created on macOS APFS file systems.
(cherry picked from commit b3edde8dd4)
2017-12-05 00:03:29 -05:00
Mariatta e2ba552319
bpo-28791: Update Windows builds to use SQLite 3.21.0. (GH-4246). (GH-4717)
(cherry picked from commit 31af650ee2)
2017-12-04 20:09:57 -08:00
Miss Islington (bot) 0bec5e147a [3.6] bpo-31392: Update macOS installer to use OpenSSL 1.0.2m (GH-4715) (#4716)
(cherry picked from commit 24e046987b)
2017-12-04 22:54:43 -05:00
Miss Islington (bot) b0576278b2 [bpo-28556] Minor fixes for typing module (GH-4710) (#4713)
(cherry picked from commit 29bc193210)
2017-12-04 22:02:02 -05:00