Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | gh-78607: Replace __ltrace__ with __lltrace__ (GH-91619) | Dennis Sweeney | 2022-04-16 | 1 | -1/+0 |
| | |||||
* | gh-91595: fix the comparison of character and integer by using ord() (#91596) | Yu Liu | 2022-04-16 | 1 | -1/+1 |
| | | | | | | | * fix the comparison of character and integer by using ord() * 📜🤖 Added by blurb_it. Co-authored-by: blurb-it[bot] <43283697+blurb-it[bot]@users.noreply.github.com> | ||||
* | gh-91404: Use computed gotos and reduce indirection in re (#91495) | Brandt Bucher | 2022-04-15 | 1 | -2/+18 |
| | |||||
* | gh-91428: include specialized opcodes in _PyOpcode_OpName (GH-91467) | Dennis Sweeney | 2022-04-14 | 1 | -8/+21 |
| | |||||
* | gh-91156: Fix `encoding="locale"` in UTF-8 mode (GH-70056) | Inada Naoki | 2022-04-14 | 1 | -1/+0 |
| | |||||
* | bpo-47152: Automatically regenerate sre_constants.h (GH-91439) | Serhiy Storchaka | 2022-04-12 | 1 | -0/+62 |
| | | | | | | | * Move the code for generating Modules/_sre/sre_constants.h from Lib/re/_constants.py into a separate script Tools/scripts/generate_sre_constants.py. * Add target `regen-sre` in the makefile. * Make target `regen-all` depending on `regen-sre`. | ||||
* | gh-91428: Add _PyOpcode_OpName to opcode.h of debug builds (GH-91430) | Dennis Sweeney | 2022-04-11 | 1 | -0/+8 |
| | |||||
* | bpo-40280: WASM docs and smaller browser builds (GH-32412) | Christian Heimes | 2022-04-10 | 4 | -52/+226 |
| | | | Co-authored-by: Brett Cannon <brett@python.org> | ||||
* | Add feature macro PY_HAVE_THREAD_NATIVE_ID to the stable ABI definition ↵ | Petr Viktorin | 2022-04-08 | 1 | -2/+11 |
| | | | | (GH-32365) | ||||
* | bpo-47177: Replace `f_lasti` with `prev_instr` (GH-32208) | Brandt Bucher | 2022-04-07 | 1 | -1/+4 |
| | |||||
* | bpo-46576: Speed up test_peg_generator by using a static library for shared ↵ | Jeremy Kloth | 2022-04-06 | 2 | -42/+101 |
| | | | | | sources (GH-32338) Speed up test_peg_generator by using a static library for shared sources to avoid recompiling as much code. | ||||
* | bpo-47115: Document which parts of structs are in limited API/stable ABI ↵ | Petr Viktorin | 2022-04-06 | 1 | -2/+21 |
| | | | | | | (GH-32196) Co-authored-by: Erlend Egeberg Aasland <erlend.aasland@innova.no> | ||||
* | bpo-40280: Add limited Emscripten REPL (GH-32284) | Christian Heimes | 2022-04-05 | 4 | -15/+415 |
| | | | Co-authored-by: Katie Bell <katie@katharos.id.au> | ||||
* | bpo-40280: Add --enable-wasm-dynamic-linking (GH-32253) | Christian Heimes | 2022-04-04 | 2 | -16/+11 |
| | |||||
* | bpo-47152: Move sources of the _sre module into a subdirectory (GH-32290) | Serhiy Storchaka | 2022-04-04 | 1 | -3/+3 |
| | |||||
* | bpo-40280: Enable most file-at() and nanosleep APIs again (GH-32238) | Christian Heimes | 2022-04-02 | 1 | -16/+2 |
| | |||||
* | bpo-47146: Stop Depending On regen-deepfreeze For regen-global-objects ↵ | Eric Snow | 2022-03-31 | 1 | -1/+0 |
| | | | | | | | | | (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-47146: Avoid Using make Recursively (gh-32206) | Eric Snow | 2022-03-31 | 1 | -1/+6 |
| | | | https://bugs.python.org/issue47146 | ||||
* | bpo-47171: Enable installing the py.exe launcher on Windows ARM64 (GH-32203) | Steve Dower | 2022-03-30 | 3 | -22/+9 |
| | |||||
* | bpo-47126: Update to canonical PEP URLs specified by PEP 676 (GH-32124) | Hugo van Kemenade | 2022-03-30 | 1 | -1/+1 |
| | |||||
* | bpo-46566: Add new py.exe launcher implementation (GH-32062) | Steve Dower | 2022-03-28 | 2 | -9/+28 |
| | |||||
* | bpo-46429: tweak deepfreeze output (#32107) | Kumar Aditya | 2022-03-27 | 1 | -0/+6 |
| | |||||
* | bpo-46712: Do not Regen Deep-Frozen Modules before Generating Global Objects ↵ | Eric Snow | 2022-03-23 | 1 | -11/+30 |
| | | | | | | | | | (gh-32061) We have to run "make regen-deepfreeze" before running Tools/scripts/generate-global-objects.py; otherwise we will miss any changes to global objects in deep-frozen modules (which aren't committed in the repo). However, building $(PYTHON_FOR_FREEZE) fails if one of its source files had a global object (e.g. via _Py_ID(...)) added or removed, without generate-global-objects.py running first. So "make regen-global-objects" would sometimes fail. We solve this by running generate-global-objects.py before *and* after "make regen-deepfreeze". To speed things up and cut down on noise, we also avoid updating the global objects files if there are no changes to them. https://bugs.python.org/issue46712 | ||||
* | bpo-32033: Finalize WASI configure options (GH-32053) | Christian Heimes | 2022-03-22 | 1 | -2/+4 |
| | |||||
* | bpo-47084: Clear Unicode cached representations on finalization (GH-32032) | Jeremy Kloth | 2022-03-22 | 1 | -0/+1 |
| | |||||
* | bpo-47086: Remove .chm from Windows installer and add HTML docs (GH-32038) | Steve Dower | 2022-03-22 | 11 | -94/+56 |
| | |||||
* | bpo-46841: Quicken code in-place (GH-31888) | Brandt Bucher | 2022-03-21 | 2 | -28/+36 |
| | | | | | | | | | | | | | | | | | | | * Moves the bytecode to the end of the corresponding PyCodeObject, and quickens it in-place. * Removes the almost-always-unused co_varnames, co_freevars, and co_cellvars member caches * _PyOpcode_Deopt is a new mapping from all opcodes to their un-quickened forms. * _PyOpcode_InlineCacheEntries is renamed to _PyOpcode_Caches * _Py_IncrementCountAndMaybeQuicken is renamed to _PyCode_Warmup * _Py_Quicken is renamed to _PyCode_Quicken * _co_quickened is renamed to _co_code_adaptive (and is now a read-only memoryview). * Do not emit unused nonzero opargs anymore in the compiler. | ||||
* | summarize_stats.py: add pairs by opcode (GH-31957) | Dennis Sweeney | 2022-03-18 | 1 | -9/+44 |
| | |||||
* | bpo-40280: Skip more tests on Emscripten (GH-31947) | Christian Heimes | 2022-03-17 | 1 | -0/+3 |
| | | | | | | - lchmod, lchown are not fully implemented - skip umask tests - cannot fstat unlinked or renamed files yet - ignore musl libc issues that affect Emscripten | ||||
* | bpo-47032: Ensure Windows install builds fail correctly with a non-zero exit ↵ | Steve Dower | 2022-03-16 | 2 | -24/+26 |
| | | | | code when part of the build fails (GH-31921) | ||||
* | bpo-46948: Fix launcher installer build failure due to first part of fix ↵ | Steve Dower | 2022-03-16 | 1 | -0/+2 |
| | | | | (GH-31920) | ||||
* | bpo-47024: Update OpenSSL to 1.1.1n (GH-31895) | Christian Heimes | 2022-03-15 | 1 | -2/+2 |
| | | | Co-authored-by: Zachary Ware <zachary.ware@gmail.com> | ||||
* | Tools/gdb: Drop code to support Python 2. (GH-31717) | Inada Naoki | 2022-03-15 | 1 | -102/+41 |
| | |||||
* | CI: Fix patchcheck (GH-31708) | Hugo van Kemenade | 2022-03-14 | 1 | -0/+2 |
| | |||||
* | bpo-40280: Disable AF_UNIX, AF_PACKET, SO_REUSE* on Emscripten (#31829) | Christian Heimes | 2022-03-11 | 1 | -2/+4 |
| | | | Emscripten's socket emulation is limited. AF_UNIX, AF_PACKET, setsockopt(), and most SO_* constants are not supported. | ||||
* | bpo-40280: Skip more tests/features that don't apply to Emscripten (GH-31791) | Christian Heimes | 2022-03-10 | 1 | -5/+1 |
| | | | | | | | - fd inheritance can't be modified because Emscripten doesn't support subprocesses anyway. - setpriority always fails - geteuid no longer causes problems with latest emsdk - umask is a stub - geteuid / getuid always return 0, but process cannot chown to random uid. | ||||
* | bpo-46881: Statically allocate and initialize the latin1 characters. (GH-31616) | Kumar Aditya | 2022-03-09 | 1 | -0/+13 |
| | |||||
* | bpo-40280: Block more non-working syscalls in Emscripten (GH-31757) | Christian Heimes | 2022-03-08 | 1 | -1/+12 |
| | | | | | | | | | - getgroups always fails. - geteuid and getegid always return 0 (root), which confuse tarfile and tests. - hardlinks (link, linkat) always fails. - non-encodable file names are not supported by NODERAWFS layer. - mark more tests with dependency on subprocess and multiprocessing. Mocking does not work if the module fails to import. | ||||
* | bpo-46948: Fix CVE-2022-26488 by ensuring the Windows Installer correctly ↵ | Steve Dower | 2022-03-07 | 11 | -4/+25 |
| | | | | uses the install path during repair (GH-31726) | ||||
* | Update grammar_grapher with the new forced (&&) directive (#31704) | Luca Chiodini | 2022-03-06 | 1 | -0/+3 |
| | |||||
* | Remove trailing spaces (GH-31695) | Serhiy Storchaka | 2022-03-05 | 1 | -2/+2 |
| | |||||
* | bpo-46744: Move Windows ARM64 installation directory to correct ProgramFiles ↵ | Steve Dower | 2022-03-04 | 2 | -38/+1 |
| | | | | (GH-31677) | ||||
* | bpo-46845: Reduce dict size when all keys are Unicode (GH-31564) | Inada Naoki | 2022-03-01 | 1 | -7/+4 |
| | |||||
* | bpo-46712: Let generate_global_objects.py Run on Earlier Python Versions ↵ | Eric Snow | 2022-03-01 | 1 | -1/+1 |
| | | | | | (gh-31637) https://bugs.python.org/issue46712 | ||||
* | bpo-46753: Add the empty tuple to the _PyRuntimeState.global_objects. (gh-31345) | Eric Snow | 2022-02-28 | 2 | -0/+5 |
| | | | https://bugs.python.org/issue46753 | ||||
* | bpo-46841: Move the cache for `LOAD_GLOBAL` inline. (GH-31575) | Mark Shannon | 2022-02-28 | 1 | -8/+9 |
| | |||||
* | bpo-46567: Add Tcl/Tk build for Windows ARM64 (GH-31574) | Steve Dower | 2022-02-28 | 3 | -11/+3 |
| | |||||
* | Propagate errors (however unlikely) from _Py_Deepfreeze_Init() (GH-31596) | Kumar Aditya | 2022-02-26 | 1 | -3/+5 |
| | |||||
* | bpo-46712: Share global string identifiers in deepfreeze (GH-31261) | Kumar Aditya | 2022-02-25 | 2 | -6/+13 |
| | | | Where appropriate, deepfreeze.c now uses `&_Py_ID(blah)` references instead of locally defining constants. This saves some space. | ||||
* | bpo-46841: Use *inline* caching for `BINARY_OP` (GH-31543) | Brandt Bucher | 2022-02-25 | 1 | -1/+8 |
| |