andrei kulakov
e3f877c32d
bpo-42892: fix email multipart attribute error (GH-26903)
2021-07-30 19:05:49 +02:00
andrei kulakov
4bd9caafb6
bpo-41911: Update docs for various expressions (GH-27470)
...
Co-authored-by: Łukasz Langa <lukasz@langa.pl>
2021-07-30 18:52:44 +02:00
Stefan Hoelzl
80f0707629
bpo-44666: Use default encoding as fallback for compile_file (GH-27236)
...
When sys.stdout.encoding is None compile_file will fall back to
sys.getdefaultencoding to encode/decode error messages.
Co-authored-by: Stefan Hoelzl <stefan.hoelzl@posteo.de>
Co-authored-by: Mickaël Schoentgen <contact@tiger-222.fr>
2021-07-30 18:38:42 +02:00
Pablo Galindo Salgado
7cad0bee80
Fail the CI if an optional module fails to compile (GH-27466)
2021-07-30 16:21:09 +02:00
Ori Avtalion
f4367ba3c5
Doc: Change errant 3.10.0 to 3.10, to match other mentions (GH-27459)
2021-07-30 15:55:09 +02:00
Noah Kantrowitz
be42c06bb0
Update URLs in comments and metadata to use HTTPS (GH-27458)
2021-07-30 15:54:46 +02:00
Yurii Karabas
ea4673ed07
bpo-44747: Refactor usage of sys._getframe at typing module ( #27387 )
...
Co-authored-by: Ken Jin <28750310+Fidget-Spinner@users.noreply.github.com>
2021-07-30 15:49:24 +02:00
Yurii Karabas
7b975f81e4
bpo-44761: Change default value of NewType __module__ attr (GH-27406)
2021-07-30 14:56:12 +02:00
Vinay Sajip
6ff8903809
bpo-44753: Don't use logfile extension when determining old files to be deleted (GH-27475)
2021-07-30 12:48:50 +01:00
Jason R. Coombs
aaa83cdfab
bpo-44771: Apply changes from importlib_resources 5.2.1 (GH-27436)
...
* bpo-44771: Apply changes from importlib_resources@3b24bd6307
* Add blurb
* Exclude namespacedata01 from eol conversion.
2021-07-29 21:05:05 -04:00
Pablo Galindo Salgado
851cca8c22
Add missing gdbm dependencies to the UNIX CI (GH-27467)
2021-07-29 22:42:21 +01:00
Erlend Egeberg Aasland
2d34664051
bpo-31746: Fix broken call in GH-27431 (GH-27464)
2021-07-29 21:47:23 +01:00
Steve Dower
3edec5d142
bpo-44479: Do not regenerate files during a PGO build as it will invalidate the profile. (GH-27460)
2021-07-29 20:53:29 +01:00
Mark Shannon
2116909b3e
Minor fixes to specialization stats. (GH-27457)
...
* Use class, not value for fail stats for BINARY_SUBSCR.
* Fix counts for unquickened instructions.
2021-07-29 20:50:03 +01:00
Erlend Egeberg Aasland
7e311e496b
bpo-31746: Prevent segfaults when sqlite3.Connection is uninitialised (GH-27431)
2021-07-29 20:45:32 +01:00
Yurii Karabas
8182c8329c
bpo-44662: Add ability to annotate types.Union ( #27214 )
...
Co-authored-by: Ken Jin <28750310+Fidget-Spinner@users.noreply.github.com>
2021-07-29 21:44:48 +02:00
HaeckelK
6b61d74a3b
Fix typo in ast.rst (GH-27449)
...
Co-authored-by: HaeckelK <haeckelk.github@gmail.com>
2021-07-29 19:15:35 +02:00
Hai Shi
9101b39e67
To fix the random failed test cases of test___xxsubinterpreters in multiprocess. (GH-27240)
2021-07-29 19:05:49 +02:00
Pavel
ccefa8a905
bpo-44765: [doc] fix typo (GH-27430)
2021-07-29 18:55:04 +02:00
Irit Katriel
ddd1c418c0
bpo-44725 : expose specialization stats in python (GH-27192)
2021-07-29 17:26:53 +01:00
Jack DeVries
6741794dd4
bpo-44752: refactor part of rlcompleter.Completer.attr_matches (GH-27433)
2021-07-29 16:01:21 +02:00
Jack DeVries
50de8f74f8
bpo-44752: Make rlcompleter not call @property
methods (GH-27401)
...
* 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.
2021-07-29 13:40:29 +02:00
Serhiy Storchaka
e5c8ddb171
bpo-44707: Fix an undefined behavior of the null pointer arithmetic (GH-27292)
2021-07-29 12:36:24 +01:00
Inada Naoki
ce5e1a6809
bpo-41103: Resurrect the old buffer protocol. (GH-27437)
...
Revert "bpo-41103: Remove old buffer protocol support (#21117 )"
This reverts commit 6f8a6ee59c
.
2021-07-29 12:46:47 +02:00
Erlend Egeberg Aasland
d542742128
bpo-42064: Optimise sqlite3
state access, part 1 (GH-27273)
...
Prepare for module state:
- Add "get state by defining class" and "get state by module def" stubs
- Add AC defining class when needed
- Add state pointer to connection context
- Pass state as argument to utility functions
Automerge-Triggered-By: GH:encukou
2021-07-29 02:21:45 -07:00
Ammar Askar
47fd4726a2
bpo-43565: Document PyUnicode_KIND's return type as an unsigned int (GH-25724)
2021-07-29 11:10:03 +02:00
Hai Shi
a390ebea17
bpo-42035: Add a PyType_GetName() to get type's short name. (GH-23903)
2021-07-29 09:57:02 +02:00
Erlend Egeberg Aasland
5269c09145
bpo-44688: Remove ASCII limitation from sqlite3
collation names (GH-27395)
2021-07-29 09:47:56 +02:00
Brandt Bucher
8d0647485d
bpo-43897: Reject "_" captures and top-level MatchStar in the AST validator (GH-27432)
2021-07-28 17:24:18 -07:00
Ray Donnelly
92b5dc780d
bpo-40263: Fixes an off-by-one error in _winapi_WaitForMultipleObjects_impl (GH-19501)
2021-07-28 20:58:05 +01:00
Batuhan Taskaya
31bec6f1b1
bpo-43897: AST validation for pattern matching nodes (GH24771)
2021-07-28 10:14:45 -07:00
andrei kulakov
53b9458f2e
bpo-44682: Handle invalid arg to pdb's "commands" directive ( #27252 )
2021-07-28 18:55:03 +02:00
Jack DeVries
cb1d76f10a
bpo-44763: [doc] remove repetitive sentence from textwrap.wrap (GH-27423)
2021-07-28 17:24:27 +02:00
Jack DeVries
c1e39d6b11
bpo-44544: [doc] list all textwrap func kwargs (GH-26999)
2021-07-28 17:14:54 +02:00
Barney Gale
56c1f6d7ed
bpo-27827: identify a greater range of reserved filename on Windows. (GH-26698)
...
`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>
2021-07-28 16:28:14 +02:00
Adrian Garcia Badaracco
531e2fbc52
Add missing end of sentence in docs (GH-27280)
2021-07-28 16:15:07 +02:00
Ikko Ashimine
fbe87023bf
Fix typo in sqlite3.rst (GH-27415)
...
preceeding -> preceding
2021-07-28 16:10:48 +02:00
Anton Grübel
9ffbb89946
Change type check to isinstance in pipes (GH-27291)
2021-07-28 15:38:06 +02:00
Dennis Sweeney
2ff5bb4908
Spell out 's.pop() or s.pop(i)' (GH-27398)
2021-07-28 15:31:44 +02:00
Jack DeVries
d22c876d5a
bpo-44756: in ./Doc, make build
depends on make html
( #27403 )
...
- venv rule is now conditional, and only does anything if $VENVDIR does not exist
- add rule "clean-venv"
2021-07-28 15:13:28 +02:00
Dong-hee Na
ddf8ae31a0
bpo-44657: Fix instancemethod_call to use PyInstanceMethod_GET_FUNCTION (GH-27202)
2021-07-28 22:10:36 +09:00
Vinay Sajip
174fbd85f6
bpo-44399: Document another example of unexpected behavior. (GH-27407)
2021-07-28 11:46:52 +01:00
Jason R. Coombs
ee03bad25e
bpo-44461: Check early that a pdb target is valid for execution. ( #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 <iritkatriel@yahoo.com>
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>
2021-07-27 21:51:42 -04:00
Brandt Bucher
38ddc8beb3
bpo-44600: Refactor new tracing tests (GH-27396)
2021-07-27 17:51:49 -07:00
Geoffrey Thomas
196998e220
closes bpo-44751: Move crypt.h include from public header to _cryptmodule (GH-27394)
...
Automerge-Triggered-By: GH:benjaminp
2021-07-27 15:58:12 -07:00
Pablo Galindo Salgado
ecc3c8e421
bpo-34013: Move the Python 2 hints from the exception constructor to the parser (GH-27392)
2021-07-27 21:30:32 +01:00
Pablo Galindo Salgado
6948964ecf
bpo-34013: Generalize the invalid legacy statement error message (GH-27389)
2021-07-27 17:19:22 +01:00
Steffen Zeile
2f54fbafa6
bpo-44559: [Enum] correct versionadded
to 3.11 for new features (GH-27388)
2021-07-27 08:20:00 -07:00
Erlend Egeberg Aasland
890e22957d
bpo-42064: Migrate to sqlite3_create_collation_v2
(GH-27156)
...
This implies that SQLite now takes care of destroying the callback
context (the PyObject callable it has been passed), so we can strip the
collation dict from the connection object.
2021-07-27 15:54:20 +02:00
Mariusz Felisiak
2e41df4d60
bpo-44740: Make minor edits to lowercasing "internet" and "web". (GH-27385)
...
Follow up to 11749e2dc2
2021-07-27 10:57:52 +02:00