Commit graph

98847 commits

Author SHA1 Message Date
Miss Islington (bot)
47d57bfd3d
bpo-33131: Upgrade ensurepip to bundle pip 10.0.1 (GH-6546)
Upgrade ensurepip to bundle pip 10.0.1
(cherry picked from commit 0399cf9b5e)

Co-authored-by: Paul Moore <p.f.moore@gmail.com>
2018-04-20 15:02:53 -07:00
Miss Islington (bot)
6444dd793e Clean up the readme text around PGO a bit. (GH-6538) (#6540)
(cherry picked from commit b87c1c92fc)

Co-authored-by: Gregory P. Smith <greg@krypto.org>
2018-04-20 10:15:20 -07:00
Miss Islington (bot)
6f870935c2
bpo-33189: pygettext.py now accepts only literal strings (GH-6364)
as docstrings and translatable strings, and rejects
bytes literals and f-string expressions.
(cherry picked from commit 69524821a8)

Co-authored-by: Serhiy Storchaka <storchaka@gmail.com>
2018-04-19 00:34:20 -07:00
Miss Islington (bot)
fc8693dc7a
bpo-33308: Fix a crash in the parser module when convert an ST object. (GH-6519)
Converting with line_info=False and col_info=True crashed before.
(cherry picked from commit e5362eaa75)

Co-authored-by: Serhiy Storchaka <storchaka@gmail.com>
2018-04-18 22:11:05 -07:00
Miss Islington (bot)
1957e7b76a bpo-31583: Fix 2to3 for using with --add-suffix option (GH-3758) (GH-6529)
(cherry picked from commit e3a523a0fa)

Co-authored-by: Denis Osipov <osipov_d@list.ru>
2018-04-18 22:09:51 -07:00
Miss Islington (bot)
e735634ea4 Fix spelling typo (GH-6443) (#6508)
(cherry picked from commit 28e8b66d6c)

Co-authored-by: jdemeyer <jdemeyer@cage.ugent.be>
2018-04-17 11:41:51 -04:00
Miss Islington (bot)
f1547d110f bpo-33295: Skip test using missing external site (GH-6504) (GH-6511)
`test_urllib2net.OtherNetworkTests.test_sites_no_connection_close`
used `http://www.imdb.com/` but it is moved to https so the test is
not valid anymore.  Skip test for the moment to allow CI to proceed.
(cherry picked from commit 36d56ea826)

Co-authored-by: INADA Naoki <methane@users.noreply.github.com>
2018-04-17 11:36:30 -04:00
Miss Islington (bot)
f44ce356a6
bpo-33283: Mention PNG as a supported format by Tcl/Tk. (GH-6479)
(cherry picked from commit 4b685bf719)

Co-authored-by: Andrés Delfino <34587441+andresdelfino@users.noreply.github.com>
2018-04-17 03:10:39 -07:00
Miss Islington (bot)
70955450bd
fix pydoc-topics to work with Sphinx 1.7 (GH-6475)
In fact, we now require a newer Sphinx version because APIs have moved around.
(cherry picked from commit acfb087f9f)

Co-authored-by: Benjamin Peterson <benjamin@python.org>
2018-04-16 23:38:06 -07:00
Miss Islington (bot)
c0a0c64fe2 Revert 725476222a (GH-6494) (GH-6496)
This note in documentation was never true.
(cherry picked from commit a00d440edb)

Co-authored-by: Łukasz Langa <lukasz@langa.pl>
2018-04-16 20:35:13 -07:00
Miss Islington (bot)
ab99475b66
Remove to-be-deprecated urllib.request.urlretrieve function reference (GH-6454)
(cherry picked from commit c89b221758)

Co-authored-by: Andrés Delfino <34587441+andresdelfino@users.noreply.github.com>
2018-04-16 07:21:57 -07:00
Steve Dower
1672c2fbae
bpo-33184: Update Windows installer to OpenSSL 1.0.2o (GH-6464) 2018-04-13 17:31:16 -07:00
Miss Islington (bot)
e98e3385f2
Fix error messages in argparse examples (GH-6435)
The examples in argparse documentation use `error: too few arguments`
error message which was removed in this commit f97c59a in 2011.
(cherry picked from commit 04e8293465)

Co-authored-by: suic86 <marko.gabriel.cz@gmail.com>
2018-04-11 12:05:52 -07:00
Miss Islington (bot)
910d71b839
bpo-33253: Fix xxsubtype.bench() to accept correct str signature. (GH-6439)
(cherry picked from commit f178028f37)

Co-authored-by: Devon R <Gorialis@users.noreply.github.com>
2018-04-09 23:07:14 -07:00
Miss Islington (bot)
83bb39907e [3.6] bpo-31201: Clarify command to re-run failing test(s) with example (GH-6417) (GH-6438)
(cherry picked from commit 0f914b5b5f)

Co-authored-by: Aaron Ang <aaronang@users.noreply.github.com>
2018-04-09 17:19:32 -04:00
Miss Islington (bot)
e0dbc57e11
bpo-31920: Fixed handling directories as arguments in the `pygettext` script. (GH-6259)
Based on patch by Oleg Krasnikov.
(cherry picked from commit c93938b5be)

Co-authored-by: Serhiy Storchaka <storchaka@gmail.com>
2018-04-09 11:06:09 -07:00
Miss Islington (bot)
2d01ac5917
Fix misleading docsting of shelve.open(). (GH-6427)
The protocol parameter can be any protocol supported by the
pickle module.
(cherry picked from commit 2ef65f346a)

Co-authored-by: Serhiy Storchaka <storchaka@gmail.com>
2018-04-09 08:06:25 -07:00
Serhiy Storchaka
1429ac9f2c
[3.6] Improve highlighting of some code blocks. (GH-6401). (GH-6424)
(cherry picked from commit 46936d5a71)
2018-04-09 17:57:07 +03:00
Miss Islington (bot)
335efd7c25
Update docstring of tempfile._RandomNameSequence (GH-6414)
When bpo-12015 got resolved by increasing the length of the
random string generated by _RandomNameSequence from six to eight
characters, the docstring of the class was not adjusted accordingly.
(cherry picked from commit 9c463ec88b)

Co-authored-by: Wolfgang Maier <wolfgang.maier@biologie.uni-freiburg.de>
2018-04-08 18:26:56 -07:00
Miss Islington (bot)
280a767d02 Add a prepend() recipe to teach a chain() idiom (GH-6415) (GH-6422)
(cherry picked from commit 9265dd72e5)

Co-authored-by: Raymond Hettinger <rhettinger@users.noreply.github.com>
2018-04-08 14:37:47 -07:00
Antoine Pitrou
b603609e9d
[3.6] bpo-33201: Modernize "Extension types" doc (GH-6337) (GH-6412)
* bpo-33201: Modernize "Extension types" doc
* Split tutorial and other topics
* Some small fixes
* Address some review comments
* Rename noddy* to custom* and shoddy to sublist
* Fix markup.
(cherry picked from commit 1d80a56173)
2018-04-07 18:35:35 +02:00
Ned Deily
76215a4481
bpo-33184: Update macOS installer build to use OpenSSL 1.0.2o. (GH-6408) 2018-04-07 03:04:03 -04:00
Miss Islington (bot)
70c4446547 [3.6] bpo-8243: Doc patch for curses.window.addstr and curses.window.addch (GH-5179) (GH-6406)
(cherry picked from commit ef5ce884a4)

Co-authored-by: Jay Crotts <crotts.jay@gmail.com>
2018-04-06 22:01:03 -04:00
Miss Islington (bot)
3468a05f6a [3.6] bpo-29673: fix gdb scripts pystack and pystackv (GH-6126) (GH-6400)
(cherry picked from commit 3a9ccee0e5)

Co-authored-by: Marcel Plch <gmarcel.plch@gmail.com>
2018-04-06 18:15:34 -04:00
Miss Islington (bot)
2350a47652
bpo-33231: Fix potential leak in normalizestring() (GH-6386)
(cherry picked from commit 0c1c4563a6)

Co-authored-by: INADA Naoki <methane@users.noreply.github.com>
2018-04-06 00:37:03 -07:00
Miss Islington (bot)
8da15f0945 bpo-33224: PEP 479 fix for difflib.mdiff() (GH-6381) (GH-6391)
(cherry picked from commit 01b731fc2b)

Co-authored-by: Raymond Hettinger <rhettinger@users.noreply.github.com>
2018-04-05 12:18:02 -07:00
Miss Islington (bot)
e25af930a3 bpo-33203: Ensure random.choice always raises IndexError on empty sequence (GH-6338) (GH-6388)
(cherry picked from commit 091e95e900)

Co-authored-by: Wolfgang Maier <wolfgang.maier@biologie.uni-freiburg.de>
2018-04-05 09:24:27 -07:00
INADA Naoki
29bc6f6347
bpo-33195: Doc: Deprecate Py_UNICODE in c-api/arg (GH-6329)
Py_UNICODE is deprecated since Python 3.3.
But the deprecation is missed in the c-api/arg document.
(cherry picked from commit 42ec190)
2018-04-05 18:08:43 +09:00
Miss Islington (bot)
1487cd14bb
bpo-29922: Add more tests for error messages in 'async with'. (GH-6370)
Different paths are executed for normal exit and for leaving
the 'async with' block with 'break', 'continue' or 'return'.
(cherry picked from commit 2eeac269dd)

Co-authored-by: Serhiy Storchaka <storchaka@gmail.com>
2018-04-04 10:18:56 -07:00
Miss Islington (bot)
4fd6c27dc8
bpo-29922: Improve error messages in 'async with' (GH-6352)
when __aenter__() or __aexit__() return non-awaitable object.
(cherry picked from commit a68f2f0578)

Co-authored-by: Serhiy Storchaka <storchaka@gmail.com>
2018-04-04 07:09:14 -07:00
Miss Islington (bot)
a5c8830637
bpo-33209: End framing at the end of C implementation of pickle.Pickler.dump(). (GH-6363)
(cherry picked from commit c869529ea9)

Co-authored-by: Serhiy Storchaka <storchaka@gmail.com>
2018-04-03 15:05:11 -07:00
Miss Islington (bot)
fa5157e049
closes bpo-33202: fix os.walk mentioning os.listdir instead of os.scandir (GH-6335)
(cherry picked from commit badb894bbb)

Co-authored-by: Andrés Delfino <34587441+andresdelfino@users.noreply.github.com>
2018-04-02 20:39:14 -07:00
Miss Islington (bot)
9a90826c9b
bpo-33199: Initialize ma_version_tag in PyDict_Copy (GH-6341)
(cherry picked from commit d1c82c5cc7)

Co-authored-by: INADA Naoki <methane@users.noreply.github.com>
2018-04-02 20:22:14 -07:00
Miss Islington (bot)
306559e6ca
bpo-33204: IDLE - revise and extend colorizer test. (GH-6347)
Followup to primary PR for the issue, GH-6344.
(cherry picked from commit 55966f3a0d)

Co-authored-by: Terry Jan Reedy <tjreedy@udel.edu>
2018-04-02 09:12:56 -07:00
Miss Islington (bot)
16cf84b4fb
bpo-33204: IDLE: consistently color invalid string prefixes (GH-6344)
A 'u' string prefix cannot be paired with either 'r' or 'f'.  Consistently
color as much of the prefix, starting at the right, as is valid.
(cherry picked from commit da58533ac6)

Co-authored-by: Terry Jan Reedy <tjreedy@udel.edu>
2018-04-01 23:33:25 -07:00
Serhiy Storchaka
d918bbda4b
[3.6] Fix error message in sqlite connection thread check. (GH-6028). (GH-6324)
(cherry picked from commit 030345c0bf)

Co-authored-by: Takuya Akiba <469803+iwiwi@users.noreply.github.com>
2018-04-01 01:03:50 +03:00
Serhiy Storchaka
25c869edd6
[3.6] bpo-33132: Fix reference counting issues in the compiler. (GH-6209). (GH-6321)
(cherry picked from commit a95d98607e)
2018-03-31 23:54:13 +03:00
Miss Islington (bot)
ddc99713d9
Fix socket type in DatagramHandler documentation: TCP -> UDP (GH-6272)
(cherry picked from commit 233de021d9)

Co-authored-by: Mike DePalatis <mike@depalatis.net>
2018-03-30 00:53:35 -07:00
Terry Jan Reedy
a10a709711
[3.6] Fix duplicating words words. (GH-6296) (GH-6298)
Backport idlelib duplications.
(cherry picked from commit bac2d5b)
2018-03-28 16:51:22 -04:00
Ned Deily
d4850dd549 Python 3.6.5
-----BEGIN PGP SIGNATURE-----
 
 iQIzBAABCgAdFiEEDZbfTUEQ5cQ/v7F/LTR+pqplQh0FAlq7Xj8ACgkQLTR+pqpl
 Qh0RKg//culaaeshI/2fVnstFt4UuvocnFpvE5hLho0TOJdRBXnL8LN8L7L7Cvo2
 SxaxGuWXHbPeXw+GoXgzchUhX79h5azlBHM1sC+K1RnrB+jXjvICTR1bNjNzX3yg
 Ga12QbQIO0BFLJpXsUPUFePxV6AlGvCIqneUKN/YilAtmYtJi9k5VkabEkebY+t9
 LyO4vYICRTW0A0KSK+PK8maeg66QOt1x7uCK+lizWIPDgyoCsTeIhnBvvwCH5oaO
 dltI+sJVIDnAWPVZ+fBq+q+iBc9RLlWg4ulpGzjfenTO/CnnzSb1sMFZh1XFVKvP
 4c6J5e4XerPYRY+MV9PNGQhv1nxCqji0CF/TaTldQVZnkMe5i1x9fhfDP8wgnO/2
 akpEqm9XAXOtVIqRc/pF5309IiglYzBbFTGGxbVZsaKn9lh2sH+5dmHFcEzHQDd/
 wN/oXp0ufjie16xm01i5psHoFgF1FI/F/wQ+9OoGvbuOMUBbr9p77tfUAZZ9IFGe
 Zwy1Tp7hEvr4qHk+wt+l7D5ffGQdAXfacQAB+8rpLZlB4YUY3IBbYzKoruoWNmmo
 rYSKC4bzZMH6oQho5vY7QduFnKlZoNtDLLZ7rt4yvikjVgDC5O8UFNIIsDPkNVSO
 kTfIC4k0gwuRXr8i7bGjJz6pncz4hdMgz6e8u4LGAQi3rKOVQ+0=
 =cXem
 -----END PGP SIGNATURE-----

Merge tag 'v3.6.5' into 3.6

Python 3.6.5
2018-03-28 14:22:48 -04:00
Miss Islington (bot)
18fdc87207 bpo-33126: Document PyBuffer_ToContiguous() (GH-6292) (GH-6293)
(cherry picked from commit aa50bf08e6)

Co-authored-by: Antoine Pitrou <pitrou@free.fr>
2018-03-28 17:47:34 +02:00
Ned Deily
f59c0932b4 3.6.5final 2018-03-28 05:19:31 -04:00
Miss Islington (bot)
db65936a40 bpo-33163: Upgrade pip to 9.0.3 and setuptools to v39.0.1. (GH-6285)
(cherry picked from commit c0518cde7a)

Co-authored-by: Ned Deily <nad@python.org>
2018-03-28 04:58:33 -04:00
Miss Islington (bot)
9dad016784 bpo-33163: Upgrade pip to 9.0.3 and setuptools to v39.0.1. (GH-6285)
(cherry picked from commit c0518cde7a)

Co-authored-by: Ned Deily <nad@python.org>
2018-03-28 04:52:07 -04:00
Miss Islington (bot)
fb3d3b7a65 bpo-32726: Do not force IDLE.app to launch in 32-bit mode. (GH-6279) (#6281)
Forcing the macOS IDLE.app gui process to launch in 32-mode was
a necessary hack for old versions of Tk (Aqua Carbon as in Tk 8.4
and early versions of 8.5); it is not needed for current versions
of Tk.  Since 32-bit launching will no longer be supported on
future releases of macOS, allow IDLE.app to launch in 64-bit mode.
(cherry picked from commit df532ab752)

Co-authored-by: Ned Deily <nad@python.org>
2018-03-28 04:40:29 -04:00
Miss Islington (bot)
7f554c536c bpo-32872: Avoid regrtest compatibility issue with namespace packages. (GH-6276) (GH-6278)
(cherry picked from commit e52ac04597)

Co-authored-by: Ned Deily <nad@python.org>
2018-03-28 03:33:49 -04:00
Miss Islington (bot)
3647f85675 Upgrade pip to v9.0.3 and setuptools to v39.0.1 (GH-6184)
(cherry picked from commit d93b5161af)

Co-authored-by: Donald Stufft <donald@stufft.io>
2018-03-28 03:33:38 -04:00
Miss Islington (bot)
0330c853d6 Update pip to 9.0.2 and setuptools to 38.6.1 (GH-6133) (#6136)
(cherry picked from commit 7f81bb2add)

Co-authored-by: Donald Stufft <donald@stufft.io>
2018-03-28 03:33:12 -04:00
Christian Heimes
15b6400d64 bpo-30622: Fix backport of NPN fix (#6102)
Fix backport a79591cf of bpo-30622 to 3.6 branch.

Signed-off-by: Christian Heimes <christian@python.org>
2018-03-28 03:32:58 -04:00
Miss Islington (bot)
a93662cf8f bpo-32872: Avoid regrtest compatibility issue with namespace packages. (GH-6276) (GH-6278)
(cherry picked from commit e52ac04597)

Co-authored-by: Ned Deily <nad@python.org>
2018-03-28 02:43:51 -04:00