Commit message (Collapse) | Author | Age | Files | Lines | ||
---|---|---|---|---|---|---|
... | ||||||
* | bpo-47152: Convert the re module into a package (GH-32177) | Serhiy Storchaka | 2022-04-02 | 16 | -2182/+2235 | |
| | | | The sre_* modules are now deprecated. | |||||
* | bpo-40280: Enable most file-at() and nanosleep APIs again (GH-32238) | Christian Heimes | 2022-04-02 | 2 | -17/+11 | |
| | ||||||
* | bpo-40280: Detect if WASM platform supports threading (GH-32243) | Christian Heimes | 2022-04-02 | 2 | -1/+31 | |
| | | | Automerge-Triggered-By: GH:tiran | |||||
* | bpo-47196: Fix function pointer cast in test_imp (GH-32244) | Hood Chatham | 2022-04-02 | 1 | -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 Kloth | 2022-04-02 | 1 | -1/+37 | |
| | | | | (GH-32132) | |||||
* | no-issue: Add assertion to PyModule_GetName for understanding (GH-32236) | Dong-hee Na | 2022-04-02 | 1 | -1/+3 | |
| | ||||||
* | bpo-40280: Emscripten fork_exec now fails early (GH-32224) | Christian Heimes | 2022-04-01 | 4 | -7/+19 | |
| | ||||||
* | bpo-47089: Avoid test_compileall failures on Windows (GH-32037) | Jeremy Kloth | 2022-04-01 | 1 | -48/+36 | |
| | ||||||
* | bpo-40280: Add debug Emscripten flavors (GH-32233) | Christian Heimes | 2022-04-01 | 2 | -22/+32 | |
| | ||||||
* | bpo-46023: makesetup: skip all duplicate modules (GH-32234) | Christian Heimes | 2022-04-01 | 2 | -6/+14 | |
| | ||||||
* | bpo-47168: Mark files generated by `make regen-limited-abi` as generated ↵ | Petr Viktorin | 2022-04-01 | 1 | -0/+3 | |
| | | | | (GH-32195) | |||||
* | bpo-47172: Compiler enhancements (GH-32200) | Irit Katriel | 2022-04-01 | 1 | -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 Katriel | 2022-04-01 | 11 | -111/+107 | |
| | ||||||
* | bpo-46841: Use a `bytes` object for `_co_code_adaptive` (GH-32205) | Brandt Bucher | 2022-04-01 | 1 | -2/+2 | |
| | ||||||
* | bpo-46841: Avoid unnecessary allocations in code object comparisons (GH-32222) | Brandt Bucher | 2022-04-01 | 2 | -13/+14 | |
| | ||||||
* | bpo-47009: Streamline list.append for the common case (GH-31864) | Dennis Sweeney | 2022-04-01 | 4 | -27/+41 | |
| | ||||||
* | bpo-46850: Move _PyInterpreterState_SetEvalFrameFunc() to internal C API ↵ | Victor Stinner | 2022-04-01 | 6 | -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 Stinner | 2022-04-01 | 4 | -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 Svetlov | 2022-04-01 | 6 | -15/+133 | |
| | ||||||
* | bpo-45099: Document asyncio internal API (GH-32166) | Andrew Svetlov | 2022-03-31 | 3 | -0/+95 | |
| | ||||||
* | bpo-47151: Fallback to fork when vfork fails in subprocess. (GH-32186) | Gregory P. Smith | 2022-03-31 | 2 | -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 Snow | 2022-03-31 | 3 | -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 Shannon | 2022-03-31 | 7 | -4/+136 | |
| | ||||||
* | bpo-47182: Fix crash by named unicode characters after interpreter ↵ | Christian Heimes | 2022-03-31 | 3 | -0/+10 | |
| | | | | | reinitialization (GH-32212) Automerge-Triggered-By: GH:tiran | |||||
* | Remove unnecessary registration of weakref.WeakSet to _collections_abc.Set ↵ | Géry Ogam | 2022-03-31 | 1 | -1/+0 | |
| | | | | (GH-32211) | |||||
* | bpo-14911: Corrected generator.throw() documentation (GH-32207) | Dave Goncalves | 2022-03-31 | 4 | -8/+28 | |
| | | | Co-authored-by: Andrew Svetlov <andrew.svetlov@gmail.com> | |||||
* | bpo-47120: Replace the JUMP_ABSOLUTE opcode by the relative JUMP_BACKWARD ↵ | Irit Katriel | 2022-03-31 | 15 | -113/+147 | |
| | | | | (GH-32115) | |||||
* | bpo-45847: Port _tkinter to PY_STDLIB_MOD (GH-31698) | Erlend Egeberg Aasland | 2022-03-31 | 10 | -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 Stinner | 2022-03-31 | 1 | -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 Stinner | 2022-03-31 | 8 | -36/+57 | |
| | | | Use the macro in C files of the Python/ directory. | |||||
* | bpo-47164: Add _PyASCIIObject_CAST() macro (GH-32191) | Victor Stinner | 2022-03-31 | 8 | -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 Snow | 2022-03-31 | 2 | -10/+24 | |
| | | | https://bugs.python.org/issue47146 | |||||
* | bpo-46566: Make test_launcher more robust to a variety of installs (GH-32204) | Steve Dower | 2022-03-30 | 1 | -6/+32 | |
| | ||||||
* | bpo-47171: Enable installing the py.exe launcher on Windows ARM64 (GH-32203) | Steve Dower | 2022-03-30 | 4 | -22/+10 | |
| | ||||||
* | bpo-47162: Add call trampoline to mitigate bad fpcasts on Emscripten (GH-32189) | Christian Heimes | 2022-03-30 | 8 | -18/+99 | |
| | ||||||
* | Add CODEOWNERS entry for pathlib (GH-32202) | Brett Cannon | 2022-03-30 | 1 | -0/+3 | |
| | ||||||
* | bpo-46775: OSError should call winerror_to_errno unconditionally on Windows ↵ | Dong-hee Na | 2022-03-30 | 2 | -8/+4 | |
| | | | | (GH-32179) | |||||
* | Replace with_traceback() with exception chaining and reraising (GH-32074) | Oleg Iarygin | 2022-03-30 | 6 | -12/+16 | |
| | ||||||
* | bpo-39622: Interrupt the main asyncio task on Ctrl+C (GH-32105) | Andrew Svetlov | 2022-03-30 | 4 | -2/+122 | |
| | | | Co-authored-by: Kumar Aditya <59607654+kumaraditya303@users.noreply.github.com> | |||||
* | Merge deoptimization blocks in interpreter (GH-32155) | Mark Shannon | 2022-03-30 | 3 | -36/+28 | |
| | ||||||
* | bpo-34861: Make cumtime the default sorting key for cProfile (GH-31929) | Daniël van Noord | 2022-03-30 | 3 | -12/+14 | |
| | ||||||
* | bpo-47126: Update to canonical PEP URLs specified by PEP 676 (GH-32124) | Hugo van Kemenade | 2022-03-30 | 24 | -29/+28 | |
| | ||||||
* | bpo-46864: Suppress even more ob_shash deprecation warnings (GH-32176) | Christian Heimes | 2022-03-30 | 1 | -0/+5 | |
| | ||||||
* | bpo-26120: do not exclude __future__ import in pydoc of the __future__ ↵ | Irit Katriel | 2022-03-29 | 2 | -1/+18 | |
| | | | | module itself (GH-32180) | |||||
* | asyncio.Task: rename internal nested variable to don't hide another ↵ | Andrew Svetlov | 2022-03-29 | 1 | -13/+13 | |
| | | | | declaration from outer scope (GH-32181) | |||||
* | bpo-33178: Add BigEndianUnion, LittleEndianUnion classes to ctypes (GH-25480) | Dave Goncalves | 2022-03-29 | 5 | -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 Ogam | 2022-03-29 | 1 | -8/+7 | |
| | ||||||
* | bpo-42340: Document issues around KeyboardInterrupt (GH-23255) | benfogle | 2022-03-29 | 3 | -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 Ezeh | 2022-03-29 | 5 | -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 Lin | 2022-03-29 | 5 | -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. |