Commit Graph

98662 Commits

Author SHA1 Message Date
Miss Islington (bot) d55d6825d7 [3.6] bpo-32521: nis libtirpc (GH-5137) (#5165)
glibc has removed Sun RPC. Use replacement libtirpc headers and library in
nis module

Signed-off-by: Christian Heimes <christian@python.org>
(cherry picked from commit f3031b8a7a)
2018-01-12 16:29:35 +01:00
Miss Islington (bot) a91662affe bpo-32473: Improve ABCMeta._dump_registry() readability (GH-5091)
(cherry picked from commit ae12f5d4c9)
2018-01-12 19:47:36 +09:00
Miss Islington (bot) 22b1050672 Lexical Analysis ref doc: Fix a typo in the string concatenation internal link (GH-5157) (GH-5160)
In lexical analysis reference documentation, the internal link to
the string literal concatenation section was written as`.. _string-catenation:`.
Changed that to `.. _string-concatenation:`.
(cherry picked from commit 3764bb075a)
2018-01-11 22:50:45 -08:00
Zachary Ware 9c99fd163d
Fix version in AppVeyor config (GH-5125) 2018-01-07 13:00:33 -06:00
Miss Islington (bot) 94a3facc0e bpo-31802: Fix importing native path module before importing os. (GH-4017) (#5129)
(cherry picked from commit 3460198f6b)
2018-01-07 18:35:28 +02:00
Zachary Ware 157be7ca1d
[3.6] Kill the AppVeyor file whitelist (GH-5122)
It's more trouble than it's worth, since AppVeyor only checks the HEAD commit of a PR rather than the full diff against the base branch to decide which files changed.
(cherry picked from commit 7f7de371f9)
2018-01-06 21:16:33 -06:00
Miss Islington (bot) e29573910c advance copyright years to 2018 (GH-5094) (#5104)
(cherry picked from commit 65f2a6dcc2)
2018-01-05 23:12:14 -08:00
Miss Islington (bot) 78e43a59ac Fix outdated comment in typeobject.c (GH-5090)
The comment was added in 3abca127fe.
In d78448e912, it was changed to
use PyArg_ParseTuple instead.

(cherry picked from commit 78e24d4415)
2018-01-04 14:06:47 +03:00
Miss Islington (bot) a70d5ff992 bpo-32482: Fix suspicious code in tests for syntax and grammar. (GH-5086) (#5095)
(cherry picked from commit 0cc99c8cd7)
2018-01-04 11:32:53 +02:00
Serhiy Storchaka 1e6d8525f9
bpo-32211: Document the existing bug in re.findall() and re.finditer(). (#4695) 2018-01-04 11:08:24 +02:00
Miss Islington (bot) f24c1857a8 bpo-32452: clarify term 'brackets' in generator tutorial (GH-5079) (#5081)
Updates documentation for generator expressions in classes tutorial: Clarify usage of ambiguous term "brackets" by replacing with "square brackets". Updated subsequent lines to respect line breaks. (GH-5079)
(cherry picked from commit f190eb59e6)
2018-01-02 08:36:06 -05:00
Miss Islington (bot) aea95c2fbd bpo-32478: Add tests for 'break' and 'return' inside 'finally' clause. (GH-5078) (#5083)
(cherry picked from commit 7cc42c356b)
2018-01-02 10:20:12 +02:00
Miss Islington (bot) 439ce8a939 bpo-32416: Add two new tests in test_sys_settrace. (GH-5072) (#5073)
Move other test to more proper place.
(cherry picked from commit e8ed96550c)
2018-01-01 20:51:30 +02:00
Zachary Ware fe90efdc07
Add missing backslashes in PCbuild bat files (GH-5056) (GH-5057)
(cherry picked from commit 6c6d3a4608)
2017-12-30 17:54:31 -06:00
Miss Islington (bot) 1b2812a7b4 remove unused import (GH-5040) (#5042)
(cherry picked from commit e325608740)
2017-12-28 23:48:10 -08:00
Miss Islington (bot) 85f71aa9d6 make PatternCompiler use the packaged grammar if possible (more bpo-24960) (GH-5034) (#5036)
(cherry picked from commit e5f7dccefa)
2017-12-28 18:12:41 -08:00
Miss Islington (bot) 6eb232c52a bpo-32440: Update the docs URL to https in help() (GH-5030) (GH-5031)
In pydoc.py, the reference to Python' documentation was in http.
The link has been updated to use https.
(cherry picked from commit e5681b9822)
2017-12-28 07:16:39 -08:00
Serhiy Storchaka ea98eba346
[3.6] bpo-32416: Refactor tests for the f_lineno setter and add new tests. (GH-4991). (#5016)
(cherry picked from commit 53f9135667)
2017-12-27 21:31:47 +02:00
Miss Islington (bot) 32518b439b bpo-26133: Fix typos (GH-5010) (#5014)
* Fix typos
* Change warning text
* Add test
(cherry picked from commit a8f4e15f3d)
2017-12-26 12:29:29 +02:00
Miss Islington (bot) d62b7412c1 bpo-29084: Exclude C API for OrderedDict from the limited C API. (GH-4900) (#5007)
(cherry picked from commit 1b3029ac83)
2017-12-25 09:40:27 +02:00
Miss Islington (bot) 5ff5d1167d bpo-26133: Clear signals list on interpreter finalizing (GH-5002) (#5003)
(cherry picked from commit 4f146f9ed1)
2017-12-24 14:30:57 +02:00
Miss Islington (bot) 6ba0637727 correct wording (GH-4983) (#4984)
(cherry picked from commit d11e8e0d11)
2017-12-22 21:49:35 -08:00
Miss Islington (bot) c1b8eb8006 bpo-24960: use pkgutil.get_data in lib2to3 to read pickled grammar files (GH-4977) (#4979)
This is more complicated than it should be because we need to preserve the
useful mtime-based regeneration feature that lib2to3.pgen2.driver.load_grammar
has. We only look for the pickled grammar file with pkgutil.get_data and only if
the source file does not exist.
(cherry picked from commit 8a5877165e)
2017-12-22 12:51:46 -08:00
Victor Stinner 2e1ef00171
bpo-20891: Skip test_embed.test_bpo20891() (#4967) (#4969)
Skip the test failing randomly because of known race condition.

Skip the test to fix macOS buildbots until a decision is made on the
proper fix for the race condition.

(cherry picked from commit 550ee051d6)
2017-12-22 00:32:27 +01:00
Miss Islington (bot) 3bc68cff5b bpo-26133: Dont unsubscribe signals in UNIX even loop on interpreter shutdown (GH-4956) (#4962)
(cherry picked from commit 4a02543cf9)
2017-12-21 19:42:32 +02:00
Miss Islington (bot) fdb148f949 bpo-32323: urllib.parse.urlsplit() must not lowercase() IPv6 scope value (GH-4867) (#4959)
(cherry picked from commit fbd605151f)
2017-12-21 14:54:45 +02:00
Miss Islington (bot) 45588c6dd1 Fix trivial typo in pickle.rst (GH-4955) (#4958)
(cherry picked from commit a8d25a1645)
2017-12-21 11:11:06 +02:00
Miss Islington (bot) 020668b8e1 correct the typos (GH-4950) (#4951)
(cherry picked from commit 83cb778b4a)
2017-12-21 07:43:11 +02:00
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