summaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeFilesLines
...
* bpo-47152: Convert the re module into a package (GH-32177)Serhiy Storchaka2022-04-0216-2182/+2235
| | | The sre_* modules are now deprecated.
* bpo-40280: Enable most file-at() and nanosleep APIs again (GH-32238)Christian Heimes2022-04-022-17/+11
|
* bpo-40280: Detect if WASM platform supports threading (GH-32243)Christian Heimes2022-04-022-1/+31
| | | Automerge-Triggered-By: GH:tiran
* bpo-47196: Fix function pointer cast in test_imp (GH-32244)Hood Chatham2022-04-021-24/+24
| | | | | | | The function PyInit_imp_dummy is declared as void f(PyObject* spec) but called as void f(void). On wasm targets without the call trampolines this causes a fatal error. Automerge-Triggered-By: GH:tiran
* bpo-47131: Speedup AST comparisons in test_unparse by using node traversal ↵Jeremy Kloth2022-04-021-1/+37
| | | | (GH-32132)
* no-issue: Add assertion to PyModule_GetName for understanding (GH-32236)Dong-hee Na2022-04-021-1/+3
|
* bpo-40280: Emscripten fork_exec now fails early (GH-32224)Christian Heimes2022-04-014-7/+19
|
* bpo-47089: Avoid test_compileall failures on Windows (GH-32037)Jeremy Kloth2022-04-011-48/+36
|
* bpo-40280: Add debug Emscripten flavors (GH-32233)Christian Heimes2022-04-012-22/+32
|
* bpo-46023: makesetup: skip all duplicate modules (GH-32234)Christian Heimes2022-04-012-6/+14
|
* bpo-47168: Mark files generated by `make regen-limited-abi` as generated ↵Petr Viktorin2022-04-011-0/+3
| | | | (GH-32195)
* bpo-47172: Compiler enhancements (GH-32200)Irit Katriel2022-04-011-36/+41
| | | | | | | | * Make virtual opcodes negative. * Make is_jump detect only actual jumps. * Use is_block_push for the exception block setup opcodes.
* bpo-47186: Replace JUMP_IF_NOT_EXC_MATCH by CHECK_EXC_MATCH + jump (GH-32231)Irit Katriel2022-04-0111-111/+107
|
* bpo-46841: Use a `bytes` object for `_co_code_adaptive` (GH-32205)Brandt Bucher2022-04-011-2/+2
|
* bpo-46841: Avoid unnecessary allocations in code object comparisons (GH-32222)Brandt Bucher2022-04-012-13/+14
|
* bpo-47009: Streamline list.append for the common case (GH-31864)Dennis Sweeney2022-04-014-27/+41
|
* bpo-46850: Move _PyInterpreterState_SetEvalFrameFunc() to internal C API ↵Victor Stinner2022-04-016-13/+38
| | | | | | | | | | | (GH-32054) Move the private _PyFrameEvalFunction type, and private _PyInterpreterState_GetEvalFrameFunc() and _PyInterpreterState_SetEvalFrameFunc() functions to the internal C API. The _PyFrameEvalFunction callback function type now uses the _PyInterpreterFrame type which is part of the internal C API. Update the _PyFrameEvalFunction documentation.
* bpo-46850: Move _PyEval_EvalFrameDefault() to internal C API (GH-32052)Victor Stinner2022-04-014-2/+13
| | | | | Move the private undocumented _PyEval_EvalFrameDefault() function to the internal C API. The function now uses the _PyInterpreterFrame type which is part of the internal C API.
* bpo-47167: Allow overriding a future compliance check in asyncio.Task (GH-32197)Andrew Svetlov2022-04-016-15/+133
|
* bpo-45099: Document asyncio internal API (GH-32166)Andrew Svetlov2022-03-313-0/+95
|
* bpo-47151: Fallback to fork when vfork fails in subprocess. (GH-32186)Gregory P. Smith2022-03-312-0/+9
| | | bpo-47151: Fallback to fork when vfork fails in subprocess. An OS kernel can specifically decide to disallow vfork() in a process. No need for that to prevent us from launching subprocesses.
* bpo-47146: Stop Depending On regen-deepfreeze For regen-global-objects ↵Eric Snow2022-03-313-19/+9
| | | | | | | | | (gh-32218) This effectively reverts the Makefile change in gh-31637. I've added some notes so it is more clear what is going on. We also update the "Check if generated files are up to date" job to run "make regen-deepfreeze" to ensure "make regen-global-objects" catches deepfreeze.c. https://bugs.python.org/issue47146
* bpo-40421: Add missing getters for frame object attributes to C-API. (GH-32114)Mark Shannon2022-03-317-4/+136
|
* bpo-47182: Fix crash by named unicode characters after interpreter ↵Christian Heimes2022-03-313-0/+10
| | | | | reinitialization (GH-32212) Automerge-Triggered-By: GH:tiran
* Remove unnecessary registration of weakref.WeakSet to _collections_abc.Set ↵Géry Ogam2022-03-311-1/+0
| | | | (GH-32211)
* bpo-14911: Corrected generator.throw() documentation (GH-32207)Dave Goncalves2022-03-314-8/+28
| | | Co-authored-by: Andrew Svetlov <andrew.svetlov@gmail.com>
* bpo-47120: Replace the JUMP_ABSOLUTE opcode by the relative JUMP_BACKWARD ↵Irit Katriel2022-03-3115-113/+147
| | | | (GH-32115)
* bpo-45847: Port _tkinter to PY_STDLIB_MOD (GH-31698)Erlend Egeberg Aasland2022-03-3110-517/+402
| | | | | - Remove ``--with-tclk-*`` options from `configure` - Use pkg-config to detect `_tkinter` dependencies (Tcl/Tk, X11) - Manual override via environment variables `TCLTK_CFLAGS` and `TCLTK_LIBS`
* bpo-47164: Add _PyCFunctionObject_CAST() macr (GH-32190)Victor Stinner2022-03-311-6/+11
| | | | | | | | Add _PyCFunctionObject_CAST() and _PyCMethodObject_CAST() macros to make macros casting their argument easier to read, but also to check the type of their input in debug mode: assert(PyCFunction_Check(func) and assert(PyCMethod_Check(func). Reformat also PyCFunction_XXX() macros for readability.
* bpo-47164: Add _PyCFunction_CAST() macro (GH-32192)Victor Stinner2022-03-318-36/+57
| | | Use the macro in C files of the Python/ directory.
* bpo-47164: Add _PyASCIIObject_CAST() macro (GH-32191)Victor Stinner2022-03-318-78/+76
| | | | | | | | | | | | Add macros to cast objects to PyASCIIObject*, PyCompactUnicodeObject* and PyUnicodeObject*: _PyASCIIObject_CAST(), _PyCompactUnicodeObject_CAST() and _PyUnicodeObject_CAST(). Using these new macros make the code more readable and check their argument with: assert(PyUnicode_Check(op)). Remove redundant assert(PyUnicode_Check(op)) in macros using directly or indirectly these new CAST macros. Replacing existing casts with these macros.
* bpo-47146: Avoid Using make Recursively (gh-32206)Eric Snow2022-03-312-10/+24
| | | https://bugs.python.org/issue47146
* bpo-46566: Make test_launcher more robust to a variety of installs (GH-32204)Steve Dower2022-03-301-6/+32
|
* bpo-47171: Enable installing the py.exe launcher on Windows ARM64 (GH-32203)Steve Dower2022-03-304-22/+10
|
* bpo-47162: Add call trampoline to mitigate bad fpcasts on Emscripten (GH-32189)Christian Heimes2022-03-308-18/+99
|
* Add CODEOWNERS entry for pathlib (GH-32202)Brett Cannon2022-03-301-0/+3
|
* bpo-46775: OSError should call winerror_to_errno unconditionally on Windows ↵Dong-hee Na2022-03-302-8/+4
| | | | (GH-32179)
* Replace with_traceback() with exception chaining and reraising (GH-32074)Oleg Iarygin2022-03-306-12/+16
|
* bpo-39622: Interrupt the main asyncio task on Ctrl+C (GH-32105)Andrew Svetlov2022-03-304-2/+122
| | | Co-authored-by: Kumar Aditya <59607654+kumaraditya303@users.noreply.github.com>
* Merge deoptimization blocks in interpreter (GH-32155)Mark Shannon2022-03-303-36/+28
|
* bpo-34861: Make cumtime the default sorting key for cProfile (GH-31929)Daniël van Noord2022-03-303-12/+14
|
* bpo-47126: Update to canonical PEP URLs specified by PEP 676 (GH-32124)Hugo van Kemenade2022-03-3024-29/+28
|
* bpo-46864: Suppress even more ob_shash deprecation warnings (GH-32176)Christian Heimes2022-03-301-0/+5
|
* bpo-26120: do not exclude __future__ import in pydoc of the __future__ ↵Irit Katriel2022-03-292-1/+18
| | | | module itself (GH-32180)
* asyncio.Task: rename internal nested variable to don't hide another ↵Andrew Svetlov2022-03-291-13/+13
| | | | declaration from outer scope (GH-32181)
* bpo-33178: Add BigEndianUnion, LittleEndianUnion classes to ctypes (GH-25480)Dave Goncalves2022-03-295-38/+118
| | | | | | | | | | | | | * bpo-33178: Add BigEndianUnion, LittleEndianUnion classes to ctypes * GH-25480: remove trailing whitespace in ctypes doc * GH-25480: add news entry blurb * GH-25480: corrected formatting error in news blurb * GH-25480: simplified, corrected formatting in news blurb * GH-25480: remove trailing whitespace in news blurb * GH-25480: fixed class markup in news blurb * GH-25480: fixed unsupported type tests and naming per review comments * GH-25480: fixed whitepace errors * condensed base class selection for unsupported byte order tests * added versionadded tags for new EndianUnion classes
* Update glossary.rst (GH-32093)Géry Ogam2022-03-291-8/+7
|
* bpo-42340: Document issues around KeyboardInterrupt (GH-23255)benfogle2022-03-293-0/+82
| | | | | | Update documentation to note that in some circumstances, KeyboardInterrupt may cause code to enter an inconsistent state. Also document sample workaround to avoid KeyboardInterrupt, if needed.
* bpo-14265: Adds fully qualified test name to unittest output (GH-32138)Sam Ezeh2022-03-295-49/+63
| | | Co-authored-by: Andrew Svetlov <andrew.svetlov@gmail.com>
* bpo-35859: Fix a few long-standing bugs in re engine (GH-12427)Ma Lin2022-03-295-19/+152
| | | | | | | | In rare cases, capturing group could get wrong result. Regular expression engines in Perl and Java have similar bugs. The new behavior now matches the behavior of more modern RE engines: in the regex module and in PHP, Ruby and Node.js.