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.
4 years ago
Pablo Galindo Salgado
851cca8c22
Add missing gdbm dependencies to the UNIX CI (GH-27467)
4 years ago
Erlend Egeberg Aasland
2d34664051
bpo-31746: Fix broken call in GH-27431 (GH-27464)
4 years ago
Steve Dower
3edec5d142
bpo-44479: Do not regenerate files during a PGO build as it will invalidate the profile. (GH-27460)
4 years ago
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.
4 years ago
Erlend Egeberg Aasland
7e311e496b
bpo-31746: Prevent segfaults when sqlite3.Connection is uninitialised (GH-27431)
4 years ago
Yurii Karabas
8182c8329c
bpo-44662: Add ability to annotate types.Union ( #27214 )
Co-authored-by: Ken Jin <28750310+Fidget-Spinner@users.noreply.github.com>
4 years ago
HaeckelK
6b61d74a3b
Fix typo in ast.rst (GH-27449)
Co-authored-by: HaeckelK <haeckelk.github@gmail.com>
4 years ago
Hai Shi
9101b39e67
To fix the random failed test cases of test___xxsubinterpreters in multiprocess. (GH-27240)
4 years ago
Pavel
ccefa8a905
bpo-44765: [doc] fix typo (GH-27430)
4 years ago
Irit Katriel
ddd1c418c0
bpo-44725 : expose specialization stats in python (GH-27192)
4 years ago
Jack DeVries
6741794dd4
bpo-44752: refactor part of rlcompleter.Completer.attr_matches (GH-27433)
4 years ago
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.
4 years ago
Serhiy Storchaka
e5c8ddb171
bpo-44707: Fix an undefined behavior of the null pointer arithmetic (GH-27292)
4 years ago
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 .
4 years ago
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
4 years ago
Ammar Askar
47fd4726a2
bpo-43565: Document PyUnicode_KIND's return type as an unsigned int (GH-25724)
4 years ago
Hai Shi
a390ebea17
bpo-42035: Add a PyType_GetName() to get type's short name. (GH-23903)
4 years ago
Erlend Egeberg Aasland
5269c09145
bpo-44688: Remove ASCII limitation from `sqlite3` collation names (GH-27395)
4 years ago
Brandt Bucher
8d0647485d
bpo-43897: Reject "_" captures and top-level MatchStar in the AST validator (GH-27432)
4 years ago
Ray Donnelly
92b5dc780d
bpo-40263: Fixes an off-by-one error in _winapi_WaitForMultipleObjects_impl (GH-19501)
4 years ago
Batuhan Taskaya
31bec6f1b1
bpo-43897: AST validation for pattern matching nodes (GH24771)
4 years ago
andrei kulakov
53b9458f2e
bpo-44682: Handle invalid arg to pdb's "commands" directive ( #27252 )
4 years ago
Jack DeVries
cb1d76f10a
bpo-44763: [doc] remove repetitive sentence from textwrap.wrap (GH-27423)
4 years ago
Jack DeVries
c1e39d6b11
bpo-44544: [doc] list all textwrap func kwargs (GH-26999)
4 years ago
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>
4 years ago
Adrian Garcia Badaracco
531e2fbc52
Add missing end of sentence in docs (GH-27280)
4 years ago
Ikko Ashimine
fbe87023bf
Fix typo in sqlite3.rst (GH-27415)
preceeding -> preceding
4 years ago
Anton Grübel
9ffbb89946
Change type check to isinstance in pipes (GH-27291)
4 years ago
Dennis Sweeney
2ff5bb4908
Spell out 's.pop() or s.pop(i)' (GH-27398)
4 years ago
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"
4 years ago
Dong-hee Na
ddf8ae31a0
bpo-44657: Fix instancemethod_call to use PyInstanceMethod_GET_FUNCTION (GH-27202)
4 years ago
Vinay Sajip
174fbd85f6
bpo-44399: Document another example of unexpected behavior. (GH-27407)
4 years ago
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>
4 years ago
Brandt Bucher
38ddc8beb3
bpo-44600: Refactor new tracing tests (GH-27396)
4 years ago
Geoffrey Thomas
196998e220
closes bpo-44751: Move crypt.h include from public header to _cryptmodule (GH-27394)
Automerge-Triggered-By: GH:benjaminp
4 years ago
Pablo Galindo Salgado
ecc3c8e421
bpo-34013: Move the Python 2 hints from the exception constructor to the parser (GH-27392)
4 years ago
Pablo Galindo Salgado
6948964ecf
bpo-34013: Generalize the invalid legacy statement error message (GH-27389)
4 years ago
Steffen Zeile
2f54fbafa6
bpo-44559: [Enum] correct `versionadded` to 3.11 for new features (GH-27388)
4 years ago
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.
4 years ago
Mariusz Felisiak
2e41df4d60
bpo-44740: Make minor edits to lowercasing "internet" and "web". (GH-27385)
Follow up to 11749e2dc2
4 years ago
Ken Jin
d61b69f02d
Add windows build.bat counterpart for 'make regen-all' in error message (GH-26770)
4 years ago
Vinicius Gubiani Ferreira
6fa4060b86
[doc] Fix typo in asyncio Event Loop (GH-27377)
First Pull Request to cpython, so forgive me for any mistakes
Automerge-Triggered-By: GH:Mariatta
4 years ago
Mariusz Felisiak
11749e2dc2
bpo-44740: Lowercase "internet" and "web" where appropriate. ( #27378 )
Co-authored-by: Łukasz Langa <lukasz@langa.pl>
4 years ago
Steffen Zeile
6c7ec7282b
Fix typos in `Weekday.today` example (GH-27363)
4 years ago
Nick Coghlan
a2c45e5bcf
bpo-44515: handle non-refcounted GC in contextlib tests (GH-26910)
Co-authored-by: Łukasz Langa <lukasz@langa.pl>
4 years ago
partev
5fdd2a14ce
docs: replace "Mac OS X" -> "macOS" (GH-27364)
"Mac OS X" has been rebranded as macOS
https://www.apple.com/macos
4 years ago
Jelle Zijlstra
f22737abfa
The current documentation says it returns None if the name is not found, but (GH-26785)
the implementation uses [] and will raise KeyError instead.
Noticed by @srittau in python/typeshed@5659.
4 years ago
Serhiy Storchaka
c97c2a050c
bpo-43443: Clarify difference between shelve objects and dicts (GH-27004)
4 years ago
Yurii Karabas
6c1b57d958
bpo-44490: Add 'Whats New' docs regarding types.Union changes (GH-27215)
4 years ago