Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Register code generator #47

Closed
Closed
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
478 commits
Select commit Hold shift + click to select a range
4f5e1cb
GH-98831: Refactor and fix cases generator (#99526)
gvanrossum Nov 18, 2022
a220c6d
gh-99442: Fix handling in py.exe launcher when argv[0] does not inclu…
zooba Nov 18, 2022
c8c6113
gh-99553: fix bug where an ExceptionGroup subclass can wrap a BaseExc…
iritkatriel Nov 18, 2022
ed206e3
Doc: Fix broken link to emscripten networking website (#99531)
haron Nov 18, 2022
0e09d2c
Doc: Replace question mark with fullstop (#99558)
rffontenelle Nov 18, 2022
27d8dc2
gh-85073: Add some missing links to source (GH-99363)
slateny Nov 18, 2022
a3360fa
gh-99284: [ctypes] remove `_use_broken_old_ctypes_structure_semantic…
sobolevn Nov 19, 2022
858cb79
Doc: Make functions.html readable again. (GH-99476)
JulienPalard Nov 19, 2022
b0e1f9c
gh-99201: fix IndexError when initializing sysconfig config variables
FFY00 Nov 19, 2022
9c4232a
gh-99211: Point to except/except* on syntax errors when mixing them (…
lysnikolaou Nov 20, 2022
abf5b6f
gh-61460: Add a comment describing the multiprocessing.connection pro…
gpshead Nov 20, 2022
e13d1d9
gh-99581: Fix a buffer overflow in the tokenizer when copying lines t…
pablogsal Nov 20, 2022
6d8da23
gh-90994: Improve error messages upon call arguments syntax errors (G…
lysnikolaou Nov 20, 2022
cdde29d
gh-99337: Fix compile errors with gcc 12 on macOS (#99470)
ronaldoussoren Nov 21, 2022
1cae31d
GH-95815: Document less specific error for os.remove (#99571)
ronaldoussoren Nov 21, 2022
cb2ef8b
gh-99578: Fix refleak in _imp.create_builtin() (#99642)
vstinner Nov 21, 2022
653e563
Add more details in test_unittest (GH-99626)
serhiy-storchaka Nov 21, 2022
c450c8c
gh-96002: Add functional test for Argument Clinic (#96178)
colorfulappl Nov 21, 2022
49e554d
gh-98629: Fixes sys._git and sys.version creation on Windows (GH-99664)
zooba Nov 21, 2022
2781ec9
gh-99659: Use correct exceptions in sqlite3 bigmem tests (#99660)
ambv Nov 21, 2022
1bf983c
gh-99662: fix typo in typing.TypeVarTuple docs (#99672)
GabrielAnguita Nov 22, 2022
4d82f62
gh-47146: Soft-deprecate structmember.h, expose its contents via Pyth…
encukou Nov 22, 2022
959ba45
GH-97001: Release GIL in termios extension (#99503)
ronaldoussoren Nov 22, 2022
bc3a11d
GH-92892: Add section about variadic functions to ctypes documentatio…
ronaldoussoren Nov 22, 2022
1acdfec
gh-99341: Cover type ignore nodes when incrementing line numbers (GH-…
isidentical Nov 22, 2022
20d9749
gh-99537: Use Py_SETREF() function in longobject C code (#99655)
vstinner Nov 22, 2022
3db0a21
gh-91053: Add an optional callback that is invoked whenever a functio…
mpage Nov 22, 2022
135ec7c
gh-99537: Use Py_SETREF() function in C code (#99657)
vstinner Nov 22, 2022
7e3f09c
gh-99537: Use Py_SETREF() function in C code (#99656)
vstinner Nov 22, 2022
9a91182
gh-99537: Use Py_CLEAR() function in C code (#99686)
vstinner Nov 22, 2022
995f617
gh-88863: Clear ref cycles to resolve leak when asyncio.open_connecti…
frostbyte134 Nov 22, 2022
d15b9f1
gh-93937: Document PyFrame_Check and PyFrame_Type (GH-99695)
encukou Nov 22, 2022
c210213
gh-99645: Fix a bug in handling class cleanups in unittest.TestCase (…
serhiy-storchaka Nov 22, 2022
1b2de89
gh-99547: Add isjunction methods for checking if a path is a junction…
csm10495 Nov 22, 2022
5d41833
Update Visual Studio solution to build all extension modules on F5 (G…
zooba Nov 22, 2022
22d91c1
gh-99146 struct module documentation should have more predictable exa…
smontanaro Nov 22, 2022
d4cf192
gh-88226: Emit TARGET labels in Python/ceval.c when debugging, even i…
smontanaro Nov 22, 2022
f5fea22
gh-99650 : Updated argparse docs (GH-99653)
ramvikrams Nov 22, 2022
f1a4a6a
gh-99300: Replace Py_INCREF() with Py_NewRef() in _elementtree.c (#99…
vstinner Nov 22, 2022
8f18ac0
GH-98831: Add `macro` and `op` and their implementation to DSL (#99495)
gvanrossum Nov 23, 2022
8f024a0
GH-95283: Add note about compilers in Mac/README.txt (#99506)
ronaldoussoren Nov 23, 2022
5d9183c
gh-99619: fix error in documentation of ExceptionGroup.derive() (GH-9…
iritkatriel Nov 23, 2022
81f7359
gh-99537: Use Py_SETREF(var, NULL) in C code (#99687)
vstinner Nov 23, 2022
55bad19
gh-79315: Add Include/cpython/memoryobject.h header (#99723)
vstinner Nov 23, 2022
71a4a2d
Use faster APIs to calculate paths at startup for Store packaged Pyth…
zooba Nov 23, 2022
57dfb1c
Upload NEWS file as artifact (#30419)
hugovk Nov 23, 2022
c69cfcd
closes gh-99508: fix `TypeError` in `Lib/importlib/_bootstrap_externa…
sobolevn Nov 23, 2022
9dc0836
gh-96828: Add an `ssl.OP_ENABLE_KTLS` option (GH-96830)
illia-v Nov 24, 2022
0c1fbc1
GH-66285: fix forking in `asyncio` (#99539)
kumaraditya303 Nov 24, 2022
c24397a
add Kumar Aditya as `asyncio` codeowner (GH-99744)
kumaraditya303 Nov 24, 2022
b4d54a3
gh-99706: unicodeobject: Fix padding in `PyASCIIObject.state` (GH-99707)
davidhewitt Nov 24, 2022
4e5f2db
gh-98872: Fix a possible resource leak in Python 3.11.0 (GH-99047)
SQLPATCH Nov 24, 2022
5f4ae86
gh-94808: [coverage] Add an asynchronous generator test where the gen…
zhanpon Nov 24, 2022
ae185fd
gh-99708: fix bug where compiler crashes on if expression with an emp…
iritkatriel Nov 24, 2022
69f6cc7
gh-64490: Fix refcount error when arguments are packed to tuple in ar…
colorfulappl Nov 24, 2022
8dbe08e
gh-99240: Fix double-free bug in Argument Clinic str_converter genera…
colorfulappl Nov 24, 2022
5d09d11
GH-79033: Fix asyncio.Server.wait_closed() (#98582)
gvanrossum Nov 24, 2022
679d963
GH-66285: skip asyncio fork tests for platforms without md5 hash (#9…
kumaraditya303 Nov 24, 2022
b5b3904
Fix rendering of audioop license in Doc/license.rst (GH-99752)
zware Nov 24, 2022
351842b
GH-66285: Revert "fix forking in asyncio" (#99756)
kumaraditya303 Nov 24, 2022
0da7283
gh-64490: Fix bugs in argument clinic varargs processing (#32092)
colorfulappl Nov 24, 2022
3a803bc
Revert "gh-98724: Fix Py_CLEAR() macro side effects" (#99737)
vstinner Nov 24, 2022
b1dcdef
bpo-41260: C impl of datetime.date.strftime() takes different keyword…
ZackerySpytz Nov 25, 2022
d386115
bpo-38031: Fix a possible assertion failure in _io.FileIO() (#GH-5688)
ZackerySpytz Nov 25, 2022
8749121
gh-96168: Add sqlite3 row factory how-to (#99507)
erlend-aasland Nov 25, 2022
85c128e
bpo-40882: Fix a memory leak in SharedMemory on Windows (GH-20684)
ZackerySpytz Nov 25, 2022
5d4d831
Fix typo on inline comment for email.generator (GH-98210)
garyd203 Nov 25, 2022
7d2dcc5
gh-64019: Have attribute table in `inspect` docs link to module attri…
slateny Nov 25, 2022
ae234fb
gh-99029: Fix handling of `PureWindowsPath('C:\<blah>').relative_to('…
barneygale Nov 25, 2022
5556d3e
gh-98724: Fix warnings on Py_SETREF() usage (#99781)
vstinner Nov 25, 2022
a86d854
Fix typo in `__match_args__` doc (#99785)
terryjreedy Nov 26, 2022
ec2b76a
GH-95896: posixmodule.c: fix osdefs.h inclusion to not depend on comp…
TheShermanTanker Nov 26, 2022
47d673d
gh-99502: mention bytes-like objects as input in `secrets.compare_dig…
sobolevn Nov 26, 2022
e35ca41
gh-99086: Fix -Wstrict-prototypes, -Wimplicit-function-declaration wa…
thesamesam Nov 26, 2022
dc063a2
gh-97966: Restore prior expectation that uname_result._fields and ._a…
jaraco Nov 26, 2022
7796d31
gh-98098: Create packages from zipfile and test_zipfile (gh-98103)
jaraco Nov 26, 2022
78365b8
gh-91078: Return None from TarFile.next when the tarfile is empty (GH…
dignissimus Nov 26, 2022
003f341
Fix zipfile packaging after GH-98103 (GH-99797)
jaraco Nov 26, 2022
5f88982
gh-99795: Fix typo in importlib.resources.abc (GH-99796)
busywhitespace Nov 26, 2022
93f22d3
gh-98108: Add limited pickleability to zipfile.Path (GH-98109)
jaraco Nov 26, 2022
7f00574
gh-88330: Add more detail about what is a resource. (#99801)
jaraco Nov 26, 2022
25bc115
gh-89682: [doc] reword docstring of __contains__ to clarify that it r…
ivanistheone Nov 26, 2022
024ac54
bpo-45975: Simplify some while-loops with walrus operator (GH-29347)
nickdrozd Nov 26, 2022
191708c
GH-66285: fix forking in asyncio (#99769)
kumaraditya303 Nov 27, 2022
62a5dc1
bpo-43327: Fix the docs for PyImport_ImportFrozenModuleObject() (#24659)
ZackerySpytz Nov 27, 2022
22860db
doc: Remove backslashes in doctest grammar docs (#29346)
GeeTransit Nov 27, 2022
6562939
gh-85988: Change documentation for sys.float_info.rounds (GH-99675)
tbwolfe Nov 27, 2022
9c9f085
Remove unused local variables in inspect.py (#24218)
Jongy Nov 27, 2022
d08fb25
GH-87235: Make sure "python /dev/fd/9 9</path/to/script.py" works on …
ronaldoussoren Nov 27, 2022
ac115b5
gh-99815: remove unused 'invalid' sentinel value and code that checks…
asottile Nov 27, 2022
2653b82
gh-99677: Deduplicate self-type in `mro` in `inspect._getmembers` (#9…
sobolevn Nov 27, 2022
969620d
Docs: Move .PHONY to each section to avoid copy/paste omissions (#99396)
hugovk Nov 27, 2022
dfc2732
gh-91340: Document multiprocessing.set_start_method force parameter (…
dignissimus Nov 27, 2022
276643e
Docs: both sqlite3 "point examples" now adapt to str (#99823)
erlend-aasland Nov 27, 2022
594de16
gh-51524: Fix bug when calling trace.CoverageResults with valid infil…
furkanonder Nov 28, 2022
219696a
gh-99249: Clarify "read-only" slots tp_bases & tp_mro (GH-99342)
encukou Nov 28, 2022
492dc02
bpo-41825: restructure docs for the os.wait*() family (GH-22356)
birkenfeld Nov 28, 2022
53eef27
bpo-31718: Fix io.IncrementalNewlineDecoder SystemErrors and segfault…
ZackerySpytz Nov 28, 2022
02f72b8
gh-89653: PEP 670: Convert macros to functions (#99843)
vstinner Nov 28, 2022
6541798
Grammatical improvements for ctypes 'winmode' documentation (GH-19167)
carandraug Nov 28, 2022
7bae15c
Use _Py_RVALUE() in macros (#99844)
vstinner Nov 28, 2022
ca3e611
`fnmatch` docs: link to `fnmatch.filter()`, not `builtins.filter()` (…
matthewhughes934 Nov 28, 2022
1d1bb95
gh-99811: Use correct variable to search for time in format string (G…
cemysce Nov 28, 2022
8f2fb7d
gh-99344, gh-99379, gh-99382: Fix issues in substitution of ParamSpec…
serhiy-storchaka Nov 29, 2022
deaa8de
gh-99593: Add tests for Unicode C API (part 1) (GH-99651)
serhiy-storchaka Nov 29, 2022
4cfc1b8
GH-91375: Port `_asyncio` static types to heap types and module state…
kumaraditya303 Nov 29, 2022
4246fe9
gh-99845: Change _PyDict_KeysSize() return type to size_t (#99848)
vstinner Nov 29, 2022
74d5f61
gh-99845: Clean up _PyObject_VAR_SIZE() usage (#99847)
vstinner Nov 29, 2022
05dfc53
gh-90717: Update the documentation for the altchars paremeter in base…
dignissimus Nov 29, 2022
d74a588
whatsnew-3.10: Mention PEP 647 in the Release highlights section. (#9…
yilei Nov 29, 2022
052bc12
Docs: improve accuracy of socketserver reference (#24767)
geryogam Nov 29, 2022
ed39109
gh-82836: fix private network check (#97733)
JamoBox Nov 29, 2022
8bb2303
gh-99127: Allow some features of syslog to the main interpreter only …
corona10 Nov 29, 2022
c314198
gh-98253: Break potential reference cycles in external code worsened …
wjakob Nov 30, 2022
59665d0
Improve zip64 limit error message (#95892)
dmjohnsson23 Nov 30, 2022
fe17d35
GH-81057: remove static state from suggestions.c (#99411)
kumaraditya303 Nov 30, 2022
19c3880
gh-99824: Document that sqlite3.connect implicitly open a transaction…
geryogam Nov 30, 2022
417206a
gh-99891: Fix infinite recursion in the tokenizer when showing warnin…
pablogsal Nov 30, 2022
ac12e39
gh-87092: move all localsplus preparation into separate function call…
iritkatriel Nov 30, 2022
a694b82
Fix typo in exception message in `multiprocessing.pool` (#99900)
153957 Nov 30, 2022
18a6967
GH-99877)
iritkatriel Nov 30, 2022
85dd6cb
gh-99845: Use size_t type in __sizeof__() methods (#99846)
vstinner Nov 30, 2022
131801d
gh-99845: PEP 670: Convert PyObject macros to functions (#99850)
vstinner Nov 30, 2022
bf94c65
GH-99905: Fix output of misses in summarize_stats.py execution counts…
mdboom Nov 30, 2022
9628136
bpo-47220: Document the optional callback parameter of weakref.WeakMe…
geryogam Nov 30, 2022
7877642
gh-89189: More compact range iterator (GH-27986)
serhiy-storchaka Nov 30, 2022
e0f91de
GH-98906 ```re``` module: ```search() vs. match()``` section should m…
ramvikrams Nov 30, 2022
d460c8e
Doc: Add summary line to isolation_level & autocommit sqlite3.connect…
CAM-Gerlach Dec 1, 2022
f08e52c
gh-99612: Fix PyUnicode_DecodeUTF8Stateful() for ASCII-only data (GH-…
serhiy-storchaka Dec 1, 2022
0563be2
gh-99894: Ensure the local names don't collide with the test file in …
pablogsal Dec 1, 2022
3c137dc
GH-91054: Add code object watchers API (GH-99859)
itamaro Dec 2, 2022
b4f3505
gh-99741: Fix the Cross-Interpreter Data API (gh-99939)
ericsnowcurrently Dec 2, 2022
ab02262
gh-99955: standardize return values of functions in assembler and opt…
iritkatriel Dec 2, 2022
0547a98
gh-99741: Clean Up the _xxsubinterpreters Module (gh-99940)
ericsnowcurrently Dec 2, 2022
acf9184
GH-98831: Support cache effects in super- and macro instructions (#99…
gvanrossum Dec 3, 2022
ee60156
GH-66285: remove redundant `time.sleep` from `test_fork_signal_handli…
kumaraditya303 Dec 3, 2022
c68573b
gh-99934: test_marshal.py: add more elements in test_deterministic_se…
kanavin Dec 3, 2022
a87c46e
bpo-15999: Accept arbitrary values for boolean parameters. (#15609)
serhiy-storchaka Dec 3, 2022
bf26bdf
gh-85747: "Preface" section of asyncio-eventloop.rst: Switch to activ…
bskinn Dec 4, 2022
76f43fc
gh-60203: Always pass True/False as boolean arguments in tests (GH-99…
serhiy-storchaka Dec 4, 2022
1012dc1
GH-91054: Reset static events counts in code watchers tests (#99978)
itamaro Dec 4, 2022
72ec518
gh-98458: unittest: bugfix for infinite loop while handling chained e…
AlexTate Dec 4, 2022
2ae894b
[Enum] Fix typos in the documentation (GH-99960)
geryogam Dec 4, 2022
854a878
gh-98248: Normalizing the error messages in function struct.pack (GH-…
yanjs Dec 4, 2022
bdc93b8
no-issue: Fix typo in pycore_object.h (gh-99994)
eltociear Dec 5, 2022
e3a3863
gh-93464: [Enum] Add versionchanged tag (#99997)
ethanfurman Dec 5, 2022
038b151
gh-100005: Skip test_script_as_dev_fd() on FreeBSD (#100006)
vstinner Dec 5, 2022
5ea052b
gh-100008: Document Python build requirements (#100009)
vstinner Dec 5, 2022
2488c1e
gh-99892: test_unicodedata: skip test on download failure (#100011)
vstinner Dec 5, 2022
922a6cf
gh-60203: Revert changes in cycle.__setstate__ (#99982)
serhiy-storchaka Dec 5, 2022
f247387
gh-98680: Add PyBUF_* constants to the Limited API listing (GH-100018)
encukou Dec 5, 2022
124ecd6
bpo-44817: Ignore additional errors in ntpath.realpath (GH-27574)
Spacetown Dec 5, 2022
51ee0a2
dataclasses.rst: Prevent horizontal scrolling (gh-100025)
cool-RR Dec 5, 2022
530cc9d
gh-99741: Implement Multi-Phase Init for the _xxsubinterpreters Modul…
ericsnowcurrently Dec 5, 2022
d8ab0a4
gh-100001: Omit control characters in http.server stderr logs. (#100002)
gpshead Dec 5, 2022
f49c735
Use sphinxext-opengraph to generate OpenGraph metadata (#99931)
hugovk Dec 5, 2022
e9e63ad
gh-99984: Fix Compiler Warnings (#100036)
ericsnowcurrently Dec 5, 2022
7e29398
gh-100001: Also escape \s in http.server log messages. (#100038)
gpshead Dec 5, 2022
bed15f8
gh-100001: Remove doc typo, add versionadded (#100042)
gpshead Dec 5, 2022
5c19050
gh-99957: Add `frozen_default` parameter on `dataclass_transform` (#9…
debonte Dec 6, 2022
9dc787e
GH-100026: Include the number of raw input files in summarize_stats.p…
mdboom Dec 6, 2022
5837e5f
gh-100008: VS 2017 is required since Python 3.11 (#100045)
vstinner Dec 6, 2022
85d5a7e
bpo-37860: re-add netlify.toml to set up deploy previews for docs (#9…
epicfaace Dec 6, 2022
b72014c
GH-99729: Unlink frames before clearing them (GH-100030)
brandtbucher Dec 6, 2022
fd38a2f
gh-93453: No longer create an event loop in get_event_loop() (#98440)
serhiy-storchaka Dec 6, 2022
b6bd7ff
Python 3.12.0a3
Yhg1s Dec 6, 2022
5da5aa4
Post 3.12.0a3
Yhg1s Dec 6, 2022
679efbb
gh-94943: [Enum] improve repr() when inheriting from a dataclass (GH-…
ethanfurman Dec 6, 2022
abbe448
PyUnicode_KIND() uses _Py_RVALUE() (#100060)
vstinner Dec 6, 2022
97e7004
gh-100050: Fix an assertion error when raising unclosed parenthesis e…
pablogsal Dec 6, 2022
889b0b9
[Enum] Remove unused code from `test_enum.py` (GH-96986)
sobolevn Dec 7, 2022
7031275
gh-93018: Fix for the compatibility problems with expat (gh-93900)
mcepl Dec 7, 2022
b11a384
gh-98724: Fix Py_CLEAR() macro side effects (#99100) (#100070)
vstinner Dec 7, 2022
68e4129
gh-83035: handle decorator with nested parens in inspect.getsource (#…
carljm Dec 7, 2022
f3e97c9
gh-100077: make test_code.test_invalid_bytecode more robust and maint…
iritkatriel Dec 7, 2022
d92407e
gh-100072: only trigger netlify builds for doc changes (#100074)
sobolevn Dec 7, 2022
d47ffeb
gh-90110: Clean Up the C-analyzer Globals Lists (gh-100091)
ericsnowcurrently Dec 7, 2022
91a8e00
gh-81057: Move More Globals to _PyRuntimeState (gh-100092)
ericsnowcurrently Dec 7, 2022
3c89202
gh-100086: Add build info to test.libregrtest (#100093)
vstinner Dec 8, 2022
dc8a868
gh-98778: Update HTTPError to initialize properly even if fp is None …
corona10 Dec 8, 2022
90d5c9b
gh-92120: The docstring of enum.Enum is invalid in reST (GH-92122)
tk0miya Dec 8, 2022
cce8362
gh-98030: socket: add missing TCP socket options (#98031)
matttbe Dec 8, 2022
ded02ca
gh-100098: [Enum] insist on actual tuples, no subclasses, for auto (G…
ethanfurman Dec 8, 2022
e8fff51
Fix `test_run_until_complete_baseexception` test to check for `Keyboa…
fantix Dec 8, 2022
cd67c1b
test_ast uses infinite_recursion() to prevent crash (#100104)
vstinner Dec 8, 2022
41d4ac9
gh-96250: Improve sqlite3 injection attack example (#99270)
jiajunjie Dec 8, 2022
35cc0ea
GH-98363: Have batched() return tuples (GH-100118)
rhettinger Dec 8, 2022
c85be73
GH-98831: Typed stack effects, and more instructions converted (#99764)
gvanrossum Dec 8, 2022
cda9f02
gh-81057: Move OS-Related Globals to _PyRuntimeState (gh-100082)
ericsnowcurrently Dec 8, 2022
8a3f06c
gh-81057: Move time Globals to _PyRuntimeState (gh-100122)
ericsnowcurrently Dec 8, 2022
1cfa704
GH-98831: Generate things in the input order (#100123)
gvanrossum Dec 8, 2022
bc8cdf8
gh-81057: Move Ceval Trampoline Globals to _PyRuntimeState (gh-100083)
ericsnowcurrently Dec 9, 2022
1160001
gh-81057: Move Threading-Related Globals to _PyRuntimeState (#100084)
ericsnowcurrently Dec 9, 2022
3e06b50
gh-81057: Fix an ifdef in the time module (#100125)
ericsnowcurrently Dec 9, 2022
286e3c7
gh-99087: Add missing newline for prompts in docs (GH-98993)
slateny Dec 9, 2022
0448dea
GH-100113: remove remaining `yield from` usage from `asyncio` tests …
kumaraditya303 Dec 9, 2022
748c6c0
GH-100110: Specialize FOR_ITER for tuples (GH-100109)
Fidget-Spinner Dec 9, 2022
3c53554
gh-88267: Avoid DLL exporting functions from static builds on Windows…
lakor64 Dec 9, 2022
fb713b2
GH-98522: Add version number to code objects. (GH-98525)
markshannon Dec 9, 2022
a29a7b9
bpo-43984: Allow winreg.SetValueEx to set -1 without treating it as a…
shreyanavigyan Dec 9, 2022
d0679c1
bpo-44512: Fix handling of extrasactions arg to csv.DictWriter with m…
akulakov Dec 9, 2022
8c21546
GH-98363: Shrink the physical size as well as the logical size (GH-10…
rhettinger Dec 9, 2022
8d0bd93
gh-81057: Fix the wasm32-wasi Buildbot (gh-100139)
ericsnowcurrently Dec 9, 2022
7a0f3c1
gh-81057: Fix a Reference Leak in the posix Module (gh-100140)
ericsnowcurrently Dec 9, 2022
7c0fb71
gh-100049: fix `repr` for `mappingproxy` in dictionary view example d…
ramvikrams Dec 10, 2022
228c92e
gh-99582: freeze `zipimport` into `_bootstrap_python` (#99583)
kkpattern Dec 10, 2022
50b08d5
Fix potential flakiness in `test_run_until_complete_baseexception` (#…
fantix Dec 10, 2022
f28e537
Fix potential flakiness in `test_run_until_complete_baseexception` (#…
fantix Dec 10, 2022
a9bad4d
Fix potential flakiness in `test_run_until_complete_baseexception` (#…
fantix Dec 10, 2022
e477348
gh-99970 Adding missing `optionflags` parameter in the documentation …
busywhitespace Dec 10, 2022
d5f8a2b
gh-99728: correct typo in `datetime` format codes documentation (#99750)
tbwolfe Dec 10, 2022
1bb68ba
gh-99941: Ensure that asyncio.Protocol.data_received receives immutab…
DarioDaF Dec 10, 2022
2e279e8
gh-88500: Reduce memory use of `urllib.unquote` (#96763)
gpshead Dec 11, 2022
868bab0
gh-100174: [Enum] Correct PowersOfThree example. (GH-100178)
Beweeted Dec 11, 2022
54289f8
gh-99688: Fix outdated tests in test_unary (#99712)
Isaac-Lee Dec 11, 2022
70be5e4
gh-70393: Clarify mention of "middle" scope (#98839)
hauntsaninja Dec 12, 2022
935ef59
clarify the 4300-digit limit on int-str conversion (#100175)
nedbat Dec 12, 2022
621a179
gh-100176: remove incorrect version compatibility check from argument…
hauntsaninja Dec 12, 2022
3221b0d
gh-96715 Remove redundant NULL check in `profile_trampoline` function…
chgnrdv Dec 12, 2022
8711b59
Fix: typo (Indention) (GH-99904)
jarrodcolburn Dec 12, 2022
158b8a0
gh-79218: Define `MS_WIN64` macro for Mingw-w64 64bit on Windows (GH-…
GalaxySnail Dec 12, 2022
e4ea33b
gh-99955: standardize return values of functions in compiler's code-g…
iritkatriel Dec 12, 2022
1583c6e
GH-100143: Improve collecting pystats for parts of runs (GH-100144)
mdboom Dec 12, 2022
8790d4d
gh-81057: Move tracemalloc Globals to _PyRuntimeState (gh-100151)
ericsnowcurrently Dec 12, 2022
53d9cd9
gh-81057: Move faulthandler Globals to _PyRuntimeState (gh-100152)
ericsnowcurrently Dec 12, 2022
5eb28bc
gh-81057: Move Signal-Related Globals to _PyRuntimeState (gh-100085)
ericsnowcurrently Dec 12, 2022
0e081a0
gh-81057: Move _Py_RefTotal to the "Ignored Globals" List (gh-100203)
ericsnowcurrently Dec 12, 2022
d3ea82a
GH-100206: use versionadded for the addition of sysconfig.get_default…
FFY00 Dec 13, 2022
985a710
gh-99955: undef ERROR and SUCCESS before redefining (fixes sanitizer …
iritkatriel Dec 13, 2022
6997e77
GH-100222: Redefine _Py_CODEUNIT as a union to clarify structure of c…
markshannon Dec 14, 2022
3192c00
gh-100176: venv: Remove redundant compat code for Python <= 3.2 (#100…
hugovk Dec 14, 2022
5693f45
Assorted minor fixes for specialization stats. (GH-100219)
markshannon Dec 14, 2022
9663853
gh-100248: Add missing `ssl_shutdown_timeout` parameter in `asyncio` …
busywhitespace Dec 14, 2022
aa8591e
gh-90111: Minor Cleanup for Runtime-Global Objects (gh-100254)
ericsnowcurrently Dec 14, 2022
ae83c78
GH-100000: Cleanup and polish various watchers code (GH-99998)
itamaro Dec 14, 2022
bdd8674
GH-100222: fix typo _py_set_opocde -> _py_set_opcode (GH-100259)
carljm Dec 15, 2022
48e352a
Move stats for the method cache into the `Py_STAT` machinery (GH-100255)
markshannon Dec 15, 2022
b7e4f1d
GH-99767: update PyTypeObject docs for type watchers (GH-99928)
carljm Dec 15, 2022
5e0ef80
add oparg2, oparg3 to the bytecode
iritkatriel Dec 15, 2022
8f30b8a
Add consts with borrowed refs to the end of the localsplus array.
iritkatriel Nov 25, 2022
e7bc5f2
add register versions of the UNARY_OPS
iritkatriel Dec 13, 2022
e9c6474
fix error check
iritkatriel Dec 16, 2022
12a37f5
remove i_stackdepth and STACK_REG, we won't use it
iritkatriel Dec 16, 2022
68b9b4b
add oparg2/oparg3 option to the _Py_CODEUNIT union
iritkatriel Dec 16, 2022
2686f86
add LOAD/STORE_FAST_R to help debugging. Fix bug in write_instr
iritkatriel Dec 16, 2022
bb7467b
sanitizer warnings
iritkatriel Dec 16, 2022
50dfc14
int--> Py_ssize_t
iritkatriel Dec 16, 2022
9dbb32e
fix error check
iritkatriel Dec 16, 2022
6b82c8d
GH-98831: Add DECREF_INPUTS(), expanding to DECREF() each stack input…
gvanrossum Dec 17, 2022
f703a9c
Enhance generator for register instructions
gvanrossum Dec 17, 2022
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
The table of contents is too big for display.
Diff view
Diff view
  •  
  •  
  •  
3 changes: 2 additions & 1 deletion .gitattributes
Original file line number Diff line number Diff line change
Expand Up @@ -69,7 +69,7 @@ Doc/library/token-list.inc generated
Include/internal/pycore_ast.h generated
Include/internal/pycore_ast_state.h generated
Include/internal/pycore_opcode.h generated
Include/internal/pycore_runtime_init_generated.h generated
Include/internal/pycore_*_generated.h generated
Include/opcode.h generated
Include/token.h generated
Lib/keyword.py generated
Expand All @@ -82,6 +82,7 @@ Parser/parser.c generated
Parser/token.c generated
Programs/test_frozenmain.h generated
Python/Python-ast.c generated
Python/generated_cases.c.h generated
Python/opcode_targets.h generated
Python/stdlib_module_names.h generated
Tools/peg_generator/pegen/grammar_parser.py generated
Expand Down
11 changes: 7 additions & 4 deletions .github/CODEOWNERS
Validating CODEOWNERS rules …
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@
.github/** @ezio-melotti

# asyncio
**/*asyncio* @1st1 @asvetlov @gvanrossum
**/*asyncio* @1st1 @asvetlov @gvanrossum @kumaraditya303

# Core
**/*context* @1st1
Expand Down Expand Up @@ -63,7 +63,7 @@ Python/traceback.c @iritkatriel
# bytecode.
**/*import*.c @brettcannon @encukou @ericsnowcurrently @ncoghlan @warsaw
**/*import*.py @brettcannon @encukou @ericsnowcurrently @ncoghlan @warsaw
**/*importlib/resources/* @jaraco @warsaw @brettcannon
**/*importlib/resources/* @jaraco @warsaw @brettcannon @FFY00
**/importlib/metadata/* @jaraco @warsaw

# Dates and times
Expand Down Expand Up @@ -137,8 +137,6 @@ Lib/ast.py @isidentical

**/*typing* @gvanrossum @Fidget-Spinner @JelleZijlstra @AlexWaygood

**/*asyncore @giampaolo
**/*asynchat @giampaolo
**/*ftplib @giampaolo
**/*shutil @giampaolo

Expand All @@ -148,9 +146,14 @@ Lib/ast.py @isidentical

**/*tomllib* @encukou

**/*sysconfig* @FFY00

# macOS
/Mac/ @python/macos-team
**/*osx_support* @python/macos-team

# pathlib
**/*pathlib* @brettcannon

# zipfile.Path
**/*zipfile/*_path.py @jaraco
6 changes: 3 additions & 3 deletions .github/workflows/build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -176,7 +176,7 @@ jobs:
needs: check_source
if: needs.check_source.outputs.run_tests == 'true'
env:
OPENSSL_VER: 1.1.1q
OPENSSL_VER: 1.1.1s
PYTHONSTRICTEXTENSIONBUILD: 1
steps:
- uses: actions/checkout@v3
Expand Down Expand Up @@ -235,7 +235,7 @@ jobs:
strategy:
fail-fast: false
matrix:
openssl_ver: [1.1.1q, 3.0.5]
openssl_ver: [1.1.1s, 3.0.7]
env:
OPENSSL_VER: ${{ matrix.openssl_ver }}
MULTISSL_DIR: ${{ github.workspace }}/multissl
Expand Down Expand Up @@ -282,7 +282,7 @@ jobs:
needs: check_source
if: needs.check_source.outputs.run_tests == 'true'
env:
OPENSSL_VER: 1.1.1q
OPENSSL_VER: 1.1.1s
PYTHONSTRICTEXTENSIONBUILD: 1
ASAN_OPTIONS: detect_leaks=0:allocator_may_return_null=1:handle_segv=0
steps:
Expand Down
7 changes: 6 additions & 1 deletion .github/workflows/doc.yml
Original file line number Diff line number Diff line change
Expand Up @@ -50,9 +50,14 @@ jobs:
run: make -C Doc/ venv
- name: 'Check documentation'
run: make -C Doc/ check
- name: 'Upload NEWS'
uses: actions/upload-artifact@v3
with:
name: NEWS
path: Doc/build/NEWS
- name: 'Build HTML documentation'
run: make -C Doc/ SPHINXOPTS="-q" SPHINXERRORHANDLING="-W --keep-going" html
- name: 'Upload'
- name: 'Upload docs'
uses: actions/upload-artifact@v3
with:
name: doc-html
Expand Down
3 changes: 1 addition & 2 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -41,7 +41,6 @@ gmon.out
.DS_Store

*.exe
!Lib/distutils/command/*.exe

# Ignore core dumps... but not Tools/msi/core/ or the like.
core
Expand All @@ -58,7 +57,6 @@ Doc/.venv/
Doc/env/
Doc/.env/
Include/pydtrace_probes.h
Lib/distutils/command/*.pdb
Lib/lib2to3/*.pickle
Lib/site-packages/*
!Lib/site-packages/README.txt
Expand Down Expand Up @@ -116,6 +114,7 @@ PCbuild/win32/
Tools/unicode/data/
/autom4te.cache
/build/
/builddir/
/config.cache
/config.log
/config.status
Expand Down
28 changes: 24 additions & 4 deletions Doc/Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -21,10 +21,7 @@ PAPEROPT_letter = -D latex_elements.papersize=letterpaper
ALLSPHINXOPTS = -b $(BUILDER) -d build/doctrees $(PAPEROPT_$(PAPER)) -j auto \
$(SPHINXOPTS) $(SPHINXERRORHANDLING) . build/$(BUILDER) $(SOURCES)

.PHONY: help build html htmlhelp latex text texinfo epub changes linkcheck \
coverage doctest pydoc-topics htmlview clean clean-venv venv dist check serve \
autobuild-dev autobuild-dev-html autobuild-stable autobuild-stable-html

.PHONY: help
help:
@echo "Please use \`make <target>' where <target> is one of"
@echo " clean to remove build files"
Expand All @@ -44,6 +41,7 @@ help:
@echo " dist to create a \"dist\" directory with archived docs for download"
@echo " check to run a check for frequent markup errors"

.PHONY: build
build:
-mkdir -p build
# Look first for a Misc/NEWS file (building from a source release tarball
Expand All @@ -70,70 +68,85 @@ build:
$(SPHINXBUILD) $(ALLSPHINXOPTS)
@echo

.PHONY: html
html: BUILDER = html
html: build
@echo "Build finished. The HTML pages are in build/html."

.PHONY: htmlhelp
htmlhelp: BUILDER = htmlhelp
htmlhelp: build
@echo "Build finished; now you can run HTML Help Workshop with the" \
"build/htmlhelp/pydoc.hhp project file."

.PHONY: latex
latex: BUILDER = latex
latex: build
@echo "Build finished; the LaTeX files are in build/latex."
@echo "Run \`make all-pdf' or \`make all-ps' in that directory to" \
"run these through (pdf)latex."

.PHONY: text
text: BUILDER = text
text: build
@echo "Build finished; the text files are in build/text."

.PHONY: texinfo
texinfo: BUILDER = texinfo
texinfo: build
@echo "Build finished; the python.texi file is in build/texinfo."
@echo "Run \`make info' in that directory to run it through makeinfo."

.PHONY: epub
epub: BUILDER = epub
epub: build
@echo "Build finished; the epub files are in build/epub."

.PHONY: changes
changes: BUILDER = changes
changes: build
@echo "The overview file is in build/changes."

.PHONY: linkcheck
linkcheck: BUILDER = linkcheck
linkcheck:
@$(MAKE) build BUILDER=$(BUILDER) || { \
echo "Link check complete; look for any errors in the above output" \
"or in build/$(BUILDER)/output.txt"; \
false; }

.PHONY: coverage
coverage: BUILDER = coverage
coverage: build
@echo "Coverage finished; see c.txt and python.txt in build/coverage"

.PHONY: doctest
doctest: BUILDER = doctest
doctest:
@$(MAKE) build BUILDER=$(BUILDER) || { \
echo "Testing of doctests in the sources finished, look at the" \
"results in build/doctest/output.txt"; \
false; }

.PHONY: pydoc-topics
pydoc-topics: BUILDER = pydoc-topics
pydoc-topics: build
@echo "Building finished; now run this:" \
"cp build/pydoc-topics/topics.py ../Lib/pydoc_data/topics.py"

.PHONY: htmlview
htmlview: html
$(PYTHON) -c "import os, webbrowser; webbrowser.open('file://' + os.path.realpath('build/html/index.html'))"

.PHONY: clean
clean: clean-venv
-rm -rf build/*

.PHONY: clean-venv
clean-venv:
rm -rf $(VENVDIR)

.PHONY: venv
venv:
@if [ -d $(VENVDIR) ] ; then \
echo "venv already exists."; \
Expand All @@ -145,6 +158,7 @@ venv:
echo "The venv has been created in the $(VENVDIR) directory"; \
fi

.PHONY: dist
dist:
rm -rf dist
mkdir -p dist
Expand Down Expand Up @@ -199,12 +213,14 @@ dist:
rm -r dist/python-$(DISTVERSION)-docs-texinfo
rm dist/python-$(DISTVERSION)-docs-texinfo.tar

.PHONY: check
check:
# Check the docs and NEWS files with sphinx-lint.
# Ignore the tools and venv dirs and check that the default role is not used.
$(SPHINXLINT) -i tools -i $(VENVDIR) --enable default-role
$(SPHINXLINT) --enable default-role ../Misc/NEWS.d/next/

.PHONY: serve
serve:
@echo "The serve target was removed, use htmlview instead (see bpo-36329)"

Expand All @@ -216,22 +232,26 @@ serve:
# output files)

# for development releases: always build
.PHONY: autobuild-dev
autobuild-dev:
make dist SPHINXOPTS='$(SPHINXOPTS) -Ea -A daily=1'

# for quick rebuilds (HTML only)
.PHONY: autobuild-dev-html
autobuild-dev-html:
make html SPHINXOPTS='$(SPHINXOPTS) -Ea -A daily=1'

# for stable releases: only build if not in pre-release stage (alpha, beta)
# release candidate downloads are okay, since the stable tree can be in that stage
.PHONY: autobuild-stable
autobuild-stable:
@case $(DISTVERSION) in *[ab]*) \
echo "Not building; $(DISTVERSION) is not a release version."; \
exit 1;; \
esac
@make autobuild-dev

.PHONY: autobuild-stable-html
autobuild-stable-html:
@case $(DISTVERSION) in *[ab]*) \
echo "Not building; $(DISTVERSION) is not a release version."; \
Expand Down
Binary file added Doc/_static/og-image.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
2 changes: 1 addition & 1 deletion Doc/c-api/call.rst
Original file line number Diff line number Diff line change
Expand Up @@ -93,7 +93,7 @@ This is a pointer to a function with the following signature:
and they must be unique.
If there are no keyword arguments, then *kwnames* can instead be *NULL*.

.. c:macro:: PY_VECTORCALL_ARGUMENTS_OFFSET
.. data:: PY_VECTORCALL_ARGUMENTS_OFFSET

If this flag is set in a vectorcall *nargsf* argument, the callee is allowed
to temporarily change ``args[-1]``. In other words, *args* points to
Expand Down
48 changes: 48 additions & 0 deletions Doc/c-api/code.rst
Original file line number Diff line number Diff line change
Expand Up @@ -115,3 +115,51 @@ bound into a function.
the free variables. On error, ``NULL`` is returned and an exception is raised.

.. versionadded:: 3.11

.. c:function:: int PyCode_AddWatcher(PyCode_WatchCallback callback)

Register *callback* as a code object watcher for the current interpreter.
Return an ID which may be passed to :c:func:`PyCode_ClearWatcher`.
In case of error (e.g. no more watcher IDs available),
return ``-1`` and set an exception.

.. versionadded:: 3.12

.. c:function:: int PyCode_ClearWatcher(int watcher_id)

Clear watcher identified by *watcher_id* previously returned from
:c:func:`PyCode_AddWatcher` for the current interpreter.
Return ``0`` on success, or ``-1`` and set an exception on error
(e.g. if the given *watcher_id* was never registered.)

.. versionadded:: 3.12

.. c:type:: PyCodeEvent

Enumeration of possible code object watcher events:
- ``PY_CODE_EVENT_CREATE``
- ``PY_CODE_EVENT_DESTROY``

.. versionadded:: 3.12

.. c:type:: int (*PyCode_WatchCallback)(PyCodeEvent event, PyCodeObject* co)

Type of a code object watcher callback function.

If *event* is ``PY_CODE_EVENT_CREATE``, then the callback is invoked
after `co` has been fully initialized. Otherwise, the callback is invoked
before the destruction of *co* takes place, so the prior state of *co*
can be inspected.

Users of this API should not rely on internal runtime implementation
details. Such details may include, but are not limited to, the exact
order and timing of creation and destruction of code objects. While
changes in these details may result in differences observable by watchers
(including whether a callback is invoked or not), it does not change
the semantics of the Python code being executed.

If the callback returns with an exception set, it must return ``-1``; this
exception will be printed as an unraisable exception using
:c:func:`PyErr_WriteUnraisable`. Otherwise it should return ``0``.

.. versionadded:: 3.12
39 changes: 39 additions & 0 deletions Doc/c-api/frame.rst
Original file line number Diff line number Diff line change
Expand Up @@ -19,6 +19,24 @@ can be used to get a frame object.

See also :ref:`Reflection <reflection>`.

.. c:var:: PyTypeObject PyFrame_Type

The type of frame objects.
It is the same object as :py:class:`types.FrameType` in the Python layer.

.. versionchanged:: 3.11

Previously, this type was only available after including
``<frameobject.h>``.

.. c:function:: int PyFrame_Check(PyObject *obj)

Return non-zero if *obj* is a frame object.

.. versionchanged:: 3.11

Previously, this function was only available after including
``<frameobject.h>``.

.. c:function:: PyFrameObject* PyFrame_GetBack(PyFrameObject *frame)

Expand Down Expand Up @@ -79,6 +97,27 @@ See also :ref:`Reflection <reflection>`.
.. versionadded:: 3.11


.. c:function:: PyObject* PyFrame_GetVar(PyFrameObject *frame, PyObject *name)

Get the variable *name* of *frame*.

* Return a :term:`strong reference` to the variable value on success.
* Raise :exc:`NameError` and return ``NULL`` if the variable does not exist.
* Raise an exception and return ``NULL`` on error.

*name* type must be a :class:`str`.

.. versionadded:: 3.12


.. c:function:: PyObject* PyFrame_GetVarString(PyFrameObject *frame, const char *name)

Similar to :c:func:`PyFrame_GetVar`, but the variable name is a C string
encoded in UTF-8.

.. versionadded:: 3.12


.. c:function:: PyObject* PyFrame_GetLocals(PyFrameObject *frame)

Get the *frame*'s ``f_locals`` attribute (:class:`dict`).
Expand Down
Loading