Miss Islington (bot)
a603aa472a
Add missing gdbm dependencies to the UNIX CI (GH-27467) (GH-27468)
...
(cherry picked from commit 851cca8c22
)
Co-authored-by: Pablo Galindo Salgado <Pablogsal@gmail.com>
2021-07-30 14:07:30 +02:00
Erlend Egeberg Aasland
0bc17658f5
[3.9] bpo-31746: Prevent segfaults when sqlite3.Connection is uninitialised (GH-27431) (GH-27465)
...
(cherry picked from commit 7e311e496b
)
Co-authored-by: Erlend Egeberg Aasland <erlend.aasland@innova.no>
2021-07-29 22:12:55 +01:00
Miss Islington (bot)
c2c322b354
Fix typo in ast.rst (GH-27449) (GH-27455)
...
Co-authored-by: HaeckelK <haeckelk.github@gmail.com>
(cherry picked from commit 6b61d74a3b
)
2021-07-29 19:41:51 +02:00
Miss Islington (bot)
e627c79478
To fix the random failed test cases of test___xxsubinterpreters in multiprocess. (GH-27240) (GH-27453)
...
(cherry picked from commit 9101b39e67
)
Co-authored-by: Hai Shi <shihai1992@gmail.com>
2021-07-29 19:28:22 +02:00
Miss Islington (bot)
6d4af4dfd6
bpo-44765: [doc] fix typo (GH-27430) (GH-27451)
...
(cherry picked from commit ccefa8a905
)
Co-authored-by: Pavel <69010336+pavel-lexyr@users.noreply.github.com>
2021-07-29 19:23:17 +02:00
Miss Islington (bot)
93d90871d2
bpo-44752: refactor part of rlcompleter.Completer.attr_matches (GH-27433) (GH-27446)
...
(cherry picked from commit 6741794dd4
)
Co-authored-by: Jack DeVries <58614260+jdevries3133@users.noreply.github.com>
2021-07-29 17:46:07 +02:00
Miss Islington (bot)
acaf3b9594
bpo-44752: Make rlcompleter not call @property
methods (GH-27401) ( #27445 )
...
* rlcompleter was calling these methods to identify whether to add
parenthesis to the completion, based on if the attribute is callable.
* for property objects, completion with parenthesis are never desirable.
* property methods with print statements behaved very strangely, which
was especially unfriendly to language newcomers. <tab> could suddenly
produce output unexpectedly.
(cherry picked from commit 50de8f74f8
)
Co-authored-by: Jack DeVries <58614260+jdevries3133@users.noreply.github.com>
2021-07-29 15:53:39 +02:00
Miss Islington (bot)
12fc0d28fc
bpo-44707: Fix an undefined behavior of the null pointer arithmetic (GH-27292) (GH-27443)
...
(cherry picked from commit e5c8ddb171
)
Co-authored-by: Serhiy Storchaka <storchaka@gmail.com>
2021-07-29 14:05:43 +02:00
Miss Islington (bot)
7922546859
bpo-43565: Document PyUnicode_KIND's return type as an unsigned int (GH-25724) (GH-27440)
...
(cherry picked from commit 47fd4726a2
)
Co-authored-by: Ammar Askar <ammar@ammaraskar.com>
2021-07-29 11:33:16 +02:00
Jason R. Coombs
49b5e20fa8
[3.9] bpo-44461: Check early that a pdb target is valid for execution. (GH-27227) (GH-27400)
...
* [3.9] bpo-44461: Check early that a pdb target is valid for execution. (GH-27227)
* bpo-44461: Fix bug with pdb's handling of import error due to a package which does not have a __main__ module
* 📜 🤖 Added by blurb_it.
* remove "else"
Co-authored-by: Jason R. Coombs <jaraco@jaraco.com>
* If running as a module, first check that it can run as a module. Alternate fix for bpo-44461.
Co-authored-by: Irit Katriel
Co-authored-by: blurb-it[bot] <43283697+blurb-it[bot]@users.noreply.github.com>
Co-authored-by: Irit Katriel <1055913+iritkatriel@users.noreply.github.com>.
(cherry picked from commit ee03bad25e
)
Co-authored-by: Jason R. Coombs <jaraco@jaraco.com>
* Ensure os_helper is imported.
* Actually, os_helper doesn't exist yet. Just reference rmtree from support.
2021-07-28 18:48:52 -04:00
Miss Islington (bot)
899e37b202
bpo-40263: Fixes an off-by-one error in _winapi_WaitForMultipleObjects_impl (GH-19501)
...
(cherry picked from commit 92b5dc780d
)
Co-authored-by: Ray Donnelly <mingw.android@gmail.com>
2021-07-28 22:52:11 +01:00
Dennis Sweeney
7d77368807
[doc] Remove reference to obsolute opcode (GH-27402)
2021-07-28 20:12:17 +01:00
Miss Islington (bot)
9337c60ba8
bpo-44763: [doc] remove repetitive sentence from textwrap.wrap (GH-27423) (GH-27427)
...
(cherry picked from commit cb1d76f10a
)
Co-authored-by: Jack DeVries <58614260+jdevries3133@users.noreply.github.com>
2021-07-28 19:31:19 +02:00
Miss Islington (bot)
019a8b08fa
bpo-44544: [doc] list all textwrap func kwargs (GH-26999) (GH-27425)
...
(cherry picked from commit c1e39d6b11
)
Co-authored-by: Jack DeVries <58614260+jdevries3133@users.noreply.github.com>
2021-07-28 19:29:47 +02:00
Miss Islington (bot)
debb751f11
bpo-27827: identify a greater range of reserved filename on Windows. (GH-26698) ( #27422 )
...
`pathlib.PureWindowsPath.is_reserved()` now identifies as reserved
filenames with trailing spaces or colons.
Co-authored-by: Barney Gale <barney.gale@foundry.com>
Co-authored-by: Eryk Sun <eryksun@gmail.com>
(cherry picked from commit 56c1f6d7ed
)
2021-07-28 17:15:51 +02:00
Miss Islington (bot)
1b82dc1a61
Add missing end of sentence in docs (GH-27280) (GH-27420)
...
(cherry picked from commit 531e2fbc52
)
Co-authored-by: Adrian Garcia Badaracco <1755071+adriangb@users.noreply.github.com>
2021-07-28 16:54:40 +02:00
Miss Islington (bot)
f152c57969
Fix typo in sqlite3.rst (GH-27415) (GH-27418)
...
preceeding -> preceding
(cherry picked from commit fbe87023bf
)
Co-authored-by: Ikko Ashimine <eltociear@gmail.com>
2021-07-28 16:33:38 +02:00
Miss Islington (bot)
08870d0443
Spell out 's.pop() or s.pop(i)' (GH-27398) (GH-27413)
...
(cherry picked from commit 2ff5bb4908
)
Co-authored-by: Dennis Sweeney <36520290+sweeneyde@users.noreply.github.com>
2021-07-28 15:57:03 +02:00
Miss Islington (bot)
fd2c2465d4
bpo-44756: in ./Doc, make build
depends on make html
(GH-27403) (GH-27411)
...
- venv rule is now conditional, and only does anything if $VENVDIR does not exist
- add rule "clean-venv"
(cherry picked from commit d22c876d5a
)
Co-authored-by: Jack DeVries <58614260+jdevries3133@users.noreply.github.com>
2021-07-28 15:40:18 +02:00
Miss Islington (bot)
c48720576d
bpo-44657: Fix instancemethod_call to use PyInstanceMethod_GET_FUNCTION (GH-27202)
...
(cherry picked from commit ddf8ae31a0
)
Co-authored-by: Dong-hee Na <donghee.na@python.org>
2021-07-28 06:33:03 -07:00
Inada Naoki
153365d864
[3.9] bpo-42853: Fix http.client fails to download >2GiB data over TLS (GH-27405)
...
Revert "bpo-36050: optimize HTTPResponse.read() (GH-12698)"
This reverts commit d6bf6f2d0c
.
2021-07-28 15:27:49 +02:00
Miss Islington (bot)
a13edfb857
Add windows build.bat counterpart for 'make regen-all' in error message (GH-26770)
...
(cherry picked from commit d61b69f02d
)
Co-authored-by: Ken Jin <28750310+Fidget-Spinner@users.noreply.github.com>
2021-07-26 23:32:45 -04:00
Miss Islington (bot)
cc602a71df
docs: replace "Mac OS X" -> "macOS" (GH-27364) (GH-27375)
...
"Mac OS X" has been rebranded as macOS
https://www.apple.com/macos
(cherry picked from commit 5fdd2a14ce
)
Co-authored-by: partev <petrosyan@gmail.com>
2021-07-26 16:22:58 -04:00
Miss Islington (bot)
3f1389459a
The current documentation says it returns None if the name is not found, but (GH-26785) (GH-27372)
...
the implementation uses [] and will raise KeyError instead.
Noticed by @srittau in python/typeshed@5659.
(cherry picked from commit f22737abfa
)
Co-authored-by: Jelle Zijlstra <jelle.zijlstra@gmail.com>
2021-07-26 21:35:46 +02:00
Miss Islington (bot)
7482fff297
bpo-43443: Clarify difference between shelve objects and dicts (GH-27004) (GH-27370)
...
(cherry picked from commit c97c2a050c
)
Co-authored-by: Serhiy Storchaka <storchaka@gmail.com>
2021-07-26 21:32:49 +02:00
Miss Islington (bot)
85ac81499e
bpo-44698: Fix undefined behaviour in complex exponentiation. (GH-27278) (GH-27367)
...
(cherry picked from commit 1d582bbc96
)
Co-authored-by: T. Wouters <thomas@python.org>
2021-07-26 21:30:11 +02:00
Miss Islington (bot)
7b2185b8e4
bpo-44734: Fix precision in turtle tests (GH-27343) (GH-27362)
...
(cherry picked from commit 3f135c073a
)
Co-authored-by: Logan Jones <loganasherjones@gmail.com>
2021-07-26 17:56:13 +02:00
Miss Islington (bot)
4ce6c5285a
bpo-44693: Update __future__ entry in Doc/glossary.rst (GH-27349) (GH-27358)
...
Replace sentence with confusing "pseudo-module" with two sentences
separating future statements and the __future__ module.
Co-authored-by: Terry Jan Reedy <tjreedy@udel.edu>
(cherry picked from commit 0363a4014d
)
Co-authored-by: Steven Hsu <hsuhaochun@gmail.com>
Co-authored-by: Steven Hsu <hsuhaochun@gmail.com>
2021-07-25 21:40:36 -04:00
Miss Islington (bot)
5a0c6abb56
[3.9] bpo-44399: Update logging cookbook to document patterns to be avoided. (GH-27348) (GH-27350)
...
(cherry picked from commit 9751f85914
)
2021-07-25 20:32:15 +01:00
Miss Islington (bot)
ce2033694e
[3.9] bpo-43184: Add information about added attribute and method. (GH-27347) (GH-27353)
...
(cherry picked from commit 50b72768ff
)
2021-07-25 20:30:11 +01:00
Miss Islington (bot)
5d9c86e340
bpo-44713: [doc fix]: typo in subprocess.rst (GH-27297) ( #27327 )
...
This fixes a small typo. The code fragment should not be quoted. Thank you
@merwok for the feedback.
(cherry picked from commit 7d25254cf0
)
Co-authored-by: Jack DeVries <58614260+jdevries3133@users.noreply.github.com>
2021-07-24 12:30:25 +02:00
Miss Islington (bot)
0a08f22184
bpo-44720: Don't crash when calling weakref.proxy(not_an_iterator).__next__ (GH-27316) ( #27325 )
...
(cherry picked from commit 5370f0a82a
)
Co-authored-by: Dennis Sweeney <36520290+sweeneyde@users.noreply.github.com>
2021-07-24 11:45:40 +02:00
Miss Islington (bot)
097801844c
bpo-29298: Fix crash with required subparsers without dest (GH-3680) (GH-27304)
...
(cherry picked from commit 17575f73ce
)
Co-authored-by: Anthony Sottile <asottile@umich.edu>
2021-07-23 15:27:17 +02:00
Łukasz Langa
0f55d21212
[3.9] bpo-44708: Only re-run test methods that match names of previously failing test methods (GH-27287) (GH-27293)
...
* Move to a static argparse.Namespace subclass
* Roughly annotate runtest.py
* Refactor libregrtest to use lossless test result objects
* Only re-run test methods that match names of previously failing test methods
* Adopt tests to cover test method name matching
Co-authored-by: Pablo Galindo Salgado <Pablogsal@gmail.com>.
(cherry picked from commit f1afef5e0d
)
Co-authored-by: Łukasz Langa <lukasz@langa.pl>
2021-07-22 23:17:13 +02:00
Miss Islington (bot)
5ffbb05f1c
bpo-14879: [doc] clarify how to check for errors from subprocess.Popen(..., shell=True) (GH-26755) (GH-27289)
...
(cherry picked from commit 50ffbe3daf
)
Co-authored-by: Jack DeVries <58614260+jdevries3133@users.noreply.github.com>
2021-07-22 19:25:31 +01:00
Miss Islington (bot)
654ead25ab
Fix typo in collections.rst (GH-27270) ( #27284 )
2021-07-22 10:38:40 +02:00
Miss Islington (bot)
e0ef81600f
bpo-44704: Make Set._hash consistent with frozenset.__hash__ (GH-27281) (GH-27283)
2021-07-21 19:23:38 -05:00
Miss Islington (bot)
c8e35abfe3
bpo-30511: Add note on thread safety to shutil.make_archive() (GH-26933) (GH-27275)
...
Co-authored-by: Łukasz Langa <lukasz@langa.pl>
(cherry picked from commit 64f54b7ccd
)
Co-authored-by: andrei kulakov <andrei.avk@gmail.com>
2021-07-21 11:04:42 +02:00
Łukasz Langa
1c5c9c89ff
[3.9] bpo-44566: resolve differences between asynccontextmanager and contextmanager (GH-27024). ( #27269 )
...
(cherry picked from commit 7f1c330da3
)
Co-authored-by: Thomas Grainger <tagrain@gmail.com>
2021-07-20 21:12:58 +02:00
Miss Islington (bot)
dae4928dd0
[3.9] bpo-43219: skip Solaris in the test as well (GH-27257) (GH-27267)
...
(cherry picked from commit 6564656495
)
Co-authored-by: Jakub Kulík <Kulikjak@gmail.com>
Automerge-Triggered-By: GH:gpshead
2021-07-20 11:44:58 -07:00
Miss Islington (bot)
585e5b22fa
[3.9] Update macOS build-installer script comments for 3.10 and remove unused pre-10.5 vestiges. (GH-27253) (GH-27264)
...
(cherry picked from commit 42205ee512
)
Co-authored-by: Ned Deily <nad@python.org>
Automerge-Triggered-By: GH:ned-deily
2021-07-20 10:34:49 -07:00
Mark Shannon
7ebd7465a5
Set line number of END_ASYNC_FOR so that it doesn't show in traces. (GH-27255)
2021-07-20 12:09:56 +02:00
Miss Islington (bot)
9ee12cf325
bpo-27513: email.utils.getaddresses() now handles Header objects (GH-13797) ( #27245 )
...
getaddresses() should be able to handle a Header object if passed
one.
Co-authored-by: Łukasz Langa <lukasz@langa.pl>
(cherry picked from commit 89f4c34797
)
Co-authored-by: Zackery Spytz <zspytz@gmail.com>
2021-07-19 19:28:56 +02:00
Miss Islington (bot)
2f643b1a8c
[3.9] bpo-44561: Update hyperlinks in Doc/distributing/index.rst (GH-27032) (GH-27233)
...
* Update hyperlinks in Doc/distributing/index.rst
Update three expired hyperlinks.
Closes [bpo-44561]().
(cherry picked from commit b494685b25
)
Co-authored-by: Steven Hsu <hsuhaochun@gmail.com>
Automerge-Triggered-By: GH:ncoghlan
2021-07-18 17:39:03 -07:00
Pablo Galindo Salgado
e05afef3c6
Correct the order of check-abidump (GH-27230)
...
The check was backwards so we were not correctly detecting removals.
2021-07-18 16:53:14 +01:00
Miss Islington (bot)
049e98b2b7
[3.9] bpo-43958: Document importlib.metadata.PackagePath.locate method (GH-25669) (GH-27221)
...
(cherry picked from commit b38b2fa021
)
Co-authored-by: Paul Moore <p.f.moore@gmail.com>
Automerge-Triggered-By: GH:jaraco
2021-07-17 19:53:00 -07:00
Miss Islington (bot)
8187033de1
Replace @ilevkivskyi with @Fidget-Spinner as typing code owner (GH-27210) ( #27213 )
...
(cherry picked from commit 311ee83adb
)
Co-authored-by: Łukasz Langa <lukasz@langa.pl>
2021-07-17 11:46:11 +02:00
Ken Jin
fa674bdea3
[3.9] bpo-41249: Fix postponed annotations for TypedDict (GH-27017) (GH-27205)
...
This fixes TypedDict to work with get_type_hints and postponed evaluation of annotations across modules.
This is done by adding the module name to ForwardRef at the time the object is created and using that to resolve the globals during the evaluation.
Co-authored-by: Ken Jin <28750310+Fidget-Spinner@users.noreply.github.com>
Co-authored-by: Germán Méndez Bravo <german.mb@gmail.com>
Co-authored-by: Łukasz Langa <lukasz@langa.pl>
2021-07-17 11:36:38 +02:00
Miss Islington (bot)
df7c62980d
bpo-40897:Give priority to using the current class constructor in inspect.signature
(GH-27177) (GH-27209)
...
Co-authored-by: Łukasz Langa <lukasz@langa.pl>
(cherry picked from commit 6aab5f9bf3
)
Co-authored-by: Weipeng Hong <hongweichen8888@sina.com>
2021-07-17 10:36:31 +02:00
Łukasz Langa
ed2db9b594
bpo-40897: Partially backport GH-22583's refactor of inspect.py to allow bugfix backports ( #27193 )
2021-07-17 10:04:01 +02:00