summaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeFilesLines
* Doc: Fix broken link to emscripten networking website (#99531)Alexander Ryabov2022-11-181-1/+1
| | | There was an extra `>` in the url.
* gh-99553: fix bug where an ExceptionGroup subclass can wrap a BaseException ↵Irit Katriel2022-11-184-5/+37
| | | | (GH-99572)
* gh-99442: Fix handling in py.exe launcher when argv[0] does not include a ↵Steve Dower2022-11-183-51/+44
| | | | file extension (GH-99542)
* GH-98831: Refactor and fix cases generator (#99526)Guido van Rossum2022-11-186-308/+405
| | | | Also complete cache effects for BINARY_SUBSCR family.
* GH-99298: Clean up attribute specializations (GH-99398)Brandt Bucher2022-11-175-57/+39
|
* GH-98686: Get rid of BINARY_OP_GENERIC and COMPARE_OP_GENERIC (GH-99399)Brandt Bucher2022-11-178-206/+161
|
* Add a macro for "inlining" new frames (GH-99490)Brandt Bucher2022-11-173-86/+28
|
* Misc copyedits in docs on built-in types (GH-24466)Adorilson Bezerra2022-11-171-10/+14
| | | | | | | | | | | | # DOC: Improvements in library/stdtypes This PR does the following: 1. Replaces :meth: by :func: around repr function 2. Adds links to Unicode Standard site 3. Makes explicit "when" you can call the `iskeyword` function. The previous text could cause confusion to readers, especially those with English as a second language. The reader could understand that the `isidentifier` method calls the `iskeyword` function. Now, it is explicit that the dev can do it. 4. Replaces a URL with an inline link. Automerge-Triggered-By: GH:AlexWaygood
* gh-93649: Split float/long tests from _testcapimodule.c (GH-99549)Erlend E. Aasland2022-11-179-625/+677
| | | Automerge-Triggered-By: GH:erlend-aasland
* gh-99377: Revert audit events for thread state creation and free, because ↵Steve Dower2022-11-173-39/+1
| | | | the GIL is not properly held at these times (GH-99543)
* gh-99443: `descr_set_trampoline_call` return type should be `int` not ↵Hood Chatham2022-11-161-1/+1
| | | | `PyObject*` (#99444)
* Remove old comment (GH-99489)Brandt Bucher2022-11-161-9/+0
|
* gh-99370: Prefer LIBDIR from sysconfig when locating libpython for test ↵Steve Dower2022-11-161-1/+3
| | | | (GH-99523)
* gh-93649: Split watcher API tests from _testcapimodule.c (#99532)Erlend E. Aasland2022-11-168-616/+651
|
* gh-81057: Move the global Dict-Related Versions to _PyRuntimeState (gh-99497)Eric Snow2022-11-1616-48/+89
| | | | | We also move the global func version. https://github.com/python/cpython/issues/81057
* gh-99300: Replace Py_INCREF() with Py_NewRef() (#99530)Victor Stinner2022-11-1618-74/+40
| | | | Replace Py_INCREF() and Py_XINCREF() using a cast with Py_NewRef() and Py_XNewRef().
* gh-99377: Add audit events for thread creation and clear (GH-99378)Steve Dower2022-11-167-7/+117
|
* gh-81057: Move contextvars-related Globals to _PyRuntimeState (gh-99400)Eric Snow2022-11-169-90/+82
| | | | | This is part of the effort to consolidate global variables, to make them easier to manage (and make it easier to later move some of them to PyInterpreterState). https://github.com/python/cpython/issues/81057
* gh-81057: Move More Globals in Core Code to _PyRuntimeState (gh-99516)Eric Snow2022-11-1624-129/+240
| | | https://github.com/python/cpython/issues/81057
* gh-99518: Fix escape symbol in `test_enum` (#99519)Nikita Sobolev2022-11-161-1/+1
|
* gh-93649: Split memory and docstring tests from _testcapimodule.c (#99517)Erlend E. Aasland2022-11-167-671/+767
|
* gh-96269: static and shared ext need different deps (#96316)Christian Heimes2022-11-162-5/+10
|
* gh-99300: Replace Py_INCREF() with Py_NewRef() (#99513)Victor Stinner2022-11-1612-44/+22
| | | | Replace Py_INCREF() and Py_XINCREF() using a cast with Py_NewRef() and Py_XNewRef().
* gh-98940: Fix Mac/Extras.install.py File filter bug (#98943)zhangbo2022-11-162-4/+4
| | | | | Slightly simplify the script and fix a case issue in the name of ``.DS_Store`` files. Co-authored-by: Nikita Sobolev <mail@sobolevn.me>
* GH-98831: Implement basic cache effects (#99313)Guido van Rossum2022-11-164-128/+202
|
* Update Windows readme.txt to clarify Visual Studio required versions (GH-99522)Ben Kuhn2022-11-161-1/+1
| | | | | This is just a minor update to add a clarification to the requirements in the Windows build readme. Automerge-Triggered-By: GH:zooba
* gh-99460 Emscripten trampolines on optimized METH_O and METH_NOARGS code ↵Hood Chatham2022-11-152-6/+6
| | | | paths (#99461)
* gh-92647: [Enum] use final status to determine lookup or create (GH-99500)Ethan Furman2022-11-153-7/+28
| | | | | | | * use final status to determine lookup or create * 📜🤖 Added by blurb_it. Co-authored-by: blurb-it[bot] <43283697+blurb-it[bot]@users.noreply.github.com>
* gh-81057: Move Globals in Core Code to _PyRuntimeState (gh-99496)Eric Snow2022-11-1517-168/+236
| | | | | This is the first of several changes to consolidate non-object globals in core code. https://github.com/python/cpython/issues/81057
* Merge the 3.12.0a2 release into main.Thomas Wouters2022-11-15108-3287/+3338
|\
| * gh-99300: Use Py_NewRef() in Python/Python-ast.c (#99499)Victor Stinner2022-11-152-144/+78
| | | | | | | | | | | | Replace Py_INCREF() and Py_XINCREF() with Py_NewRef() and Py_XNewRef() in Python/Python-ast.c. Update Parser/asdl_c.py to regenerate code.
| * gh-93649: Split pytime and datetime tests from _testcapimodule.c (#99494)Erlend E. Aasland2022-11-157-678/+744
| |
| * gh-99370: fix test_zippath_from_non_installed_posix (GH-99483)Kai Zhang2022-11-151-51/+60
| | | | | | | | | | | | When build with shared enabled, we need to set `LD_LIBRARY_PATH` for the non-installed python environment in test_zippath_from_non_installed_posix so that the python binary and find and link the libpython.so.
| * GH-99205: remove `_static` field from `PyThreadState` and ↵Kumar Aditya2022-11-154-18/+6
| | | | | | | | `PyInterpreterState` (GH-99385)
| * gh-81057: Move the Remaining Import State Globals to _PyRuntimeState (gh-99488)Eric Snow2022-11-144-12/+30
| | | | | | https://github.com/python/cpython/issues/81057
| * gh-87604: Avoid publishing list of active per-interpreter audit hooks via ↵Steve Dower2022-11-144-0/+20
| | | | | | | | the gc module (GH-99373)
| * gh-93649: Split getargs tests from _testcapimodule.c (#99346)Erlend E. Aasland2022-11-146-832/+929
| |
| * gh-81057: Move Global Variables Holding Objects to _PyRuntimeState. (gh-99487)Eric Snow2022-11-1410-55/+66
| | | | | | | | | | This moves nearly all remaining object-holding globals in core code (other than static types). https://github.com/python/cpython/issues/81057
| * GH-98219: reduce sleep time in `asyncio` subprocess test (#99464)Kumar Aditya2022-11-141-1/+1
| |
| * GH-99388: add `loop_factory` parameter to `asyncio.run` (#99462)Kumar Aditya2022-11-145-6/+29
| |
| * gh-99300: Use Py_NewRef() in PC/ directory (#99479)Victor Stinner2022-11-142-6/+3
| | | | | | | | Replace Py_INCREF() and Py_XINCREF() with Py_NewRef() and Py_XNewRef() in test C files of the PC/ directory.
| * gh-99300: Use Py_NewRef() in Doc/ directory (#99480)Victor Stinner2022-11-143-33/+15
| | | | | | | | | | | | | | Replace Py_INCREF() and Py_XINCREF() with Py_NewRef() and Py_XNewRef() in test C files of the Doc/ directory. Replace PyModule_AddObject() with PyModule_AddObjectRef() to simplify reference counting.
| * gh-99300: Use Py_NewRef() in Modules/ directory (#99473)Victor Stinner2022-11-147-97/+54
| | | | | | | | Replace Py_INCREF() and Py_XINCREF() with Py_NewRef() and Py_XNewRef() in test C files of the Modules/ directory.
| * gh-99300: Use Py_NewRef() in Modules/ directory (#99469)Victor Stinner2022-11-1410-130/+66
| | | | | | | | Replace Py_INCREF() and Py_XINCREF() with Py_NewRef() and Py_XNewRef() in test C files of the Modules/ directory.
| * gh-99370: Calculate zip path from prefix when in a venv (GH-99371)Kai Zhang2022-11-144-2/+99
| | | | | | | | | | | | | | | | Before python3.11, when in a venv the zip path is calculated from prefix on POSIX platforms. In python3.11 the behavior is accidentally changed to calculating from default prefix. This change will break venv created from a non-installed python with a stdlib zip file. This commit restores the behavior back to before python3.11.
| * gh-87092: expose the compiler's codegen to python for unit tests (GH-99111)Irit Katriel2022-11-1411-97/+321
| |
| * gh-78453: Move Unicode C API tests from test_unicode to ↵Serhiy Storchaka2022-11-142-502/+515
| | | | | | | | test_capi.test_unicode (GH-99431)
| * gh-99426: Use PyUnicode_FromFormat() and PyErr_Format() instead of sprintf ↵Serhiy Storchaka2022-11-143-25/+9
| | | | | | | | (GH-99427)
| * gh-99300: Use Py_NewRef() in Modules/ directory (#99468)Victor Stinner2022-11-1410-173/+92
| | | | | | | | Replace Py_INCREF() and Py_XINCREF() with Py_NewRef() and Py_XNewRef() in test C files of the Modules/ directory.
| * gh-99289: Add COMPILEALL_OPTS to Makefile (#99291)Victor Stinner2022-11-144-21/+23
| | | | | | | | | | | | | | | | Add COMPILEALL_OPTS variable in Makefile to override compileall options (default: -j0) in "make install". Also merge the compileall commands into a single command building PYC files for the all optimization levels (0, 1, 2) at once. Co-authored-by: Gregory P. Smith <greg@krypto.org>