Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | bpo-46161: Fix bug in starunpack_helper in compile.c (GH-30235) | zq1997 | 2022-01-17 | 1 | -1/+4 |
| | |||||
* | bpo-46405: fix msvc compiler warnings (GH-30627) | Kumar Aditya | 2022-01-17 | 1 | -1/+1 |
| | |||||
* | bpo-45953: Statically initialize all the non-object PyInterpreterState ↵ | Eric Snow | 2022-01-14 | 2 | -11/+0 |
| | | | | | fields we can. (gh-30589) https://bugs.python.org/issue45953 | ||||
* | bpo-45953: Statically initialize all the PyThreadState fields we can. (gh-30590) | Eric Snow | 2022-01-14 | 2 | -11/+5 |
| | | | https://bugs.python.org/issue45953 | ||||
* | bpo-46362: Ensure ntpath.abspath() uses the Windows API correctly (GH-30571) | neonene | 2022-01-13 | 1 | -36/+1 |
| | | | This makes ntpath.abspath()/getpath_abspath() follow normpath(), since some WinAPIs such as PathCchSkipRoot() require backslashed paths. | ||||
* | Statically initialize _PyRuntimeState fields. (gh-30588) | Eric Snow | 2022-01-13 | 1 | -10/+0 |
| | | | https://bugs.python.org/issue45953 | ||||
* | bpo-46370: Move the static initializer for _PyRuntime to its own header ↵ | Eric Snow | 2022-01-13 | 2 | -0/+2 |
| | | | | | file. (gh-30587) https://bugs.python.org/issue46370 | ||||
* | bpo-46328: Add sys.exception() (GH-30514) | Irit Katriel | 2022-01-13 | 2 | -2/+48 |
| | |||||
* | bpo-46344: Fix trace bug in else of try and try-star blocks (GH-30544) | Irit Katriel | 2022-01-13 | 1 | -2/+0 |
| | |||||
* | bpo-46315: Add ifdef HAVE_ feature checks for WASI compatibility (GH-30507) | Christian Heimes | 2022-01-13 | 1 | -1/+4 |
| | |||||
* | bpo-45953: Statically allocate the main interpreter (and initial thread ↵ | Eric Snow | 2022-01-12 | 2 | -17/+34 |
| | | | | | | | | | state). (gh-29883) Previously, the main interpreter was allocated on the heap during runtime initialization. Here we instead embed it into _PyRuntimeState, which means it is statically allocated as part of the _PyRuntime global. The same goes for the initial thread state (of each interpreter, including the main one). Consequently there are fewer allocations during runtime/interpreter init, fewer possible failures, and better memory locality. FYI, this also helps efforts to consolidate globals, which in turns helps work on subinterpreter isolation. https://bugs.python.org/issue45953 | ||||
* | bpo-46347: Yet another fix in the erorr path of PyEval_EvalCodeEx (#30554) | Yury Selivanov | 2022-01-12 | 1 | -1/+0 |
| | |||||
* | bpo-46347: Fix PyEval_EvalCodeEx to correctly cleanup in error paths (#30551) | Yury Selivanov | 2022-01-11 | 1 | -13/+9 |
| | |||||
* | bpo-46347: Fix memory leak in PyEval_EvalCodeEx. (#30546) | Yury Selivanov | 2022-01-11 | 1 | -7/+0 |
| | | | First introduced in 0332e569c12d3dc97171546c6dc10e42c27de34b | ||||
* | bpo-45953: Statically allocate and initialize global bytes objects. (gh-30096) | Eric Snow | 2022-01-11 | 1 | -6/+0 |
| | | | | | The empty bytes object (b'') and the 256 one-character bytes objects were allocated at runtime init. Now we statically allocate and initialize them. https://bugs.python.org/issue45953 | ||||
* | bpo-46331: Do not set line number of instruction storing doc-string. (GH-30518) | Mark Shannon | 2022-01-11 | 1 | -0/+1 |
| | |||||
* | bpo-46303: Move fileutils.h private functions to internal C API (GH-30484) | Victor Stinner | 2022-01-11 | 1 | -0/+2 |
| | | | | | | | | | | Move almost all private functions of Include/cpython/fileutils.h to the internal C API Include/internal/pycore_fileutils.h. Only keep _Py_fopen_obj() in Include/cpython/fileutils.h, since it's used by _testcapi which must not use the internal C API. Move EncodeLocaleEx() and DecodeLocaleEx() functions from _testcapi to _testinternalcapi, since the C API moved to the internal C API. | ||||
* | bpo-46314: Remove extra RESUME when compiling a lamdba. (GH-30513) | Mark Shannon | 2022-01-10 | 1 | -144/+142 |
| | |||||
* | bpo-46217: Revert use of Windows constant that is newer than what we support ↵ | Steve Dower | 2022-01-08 | 1 | -1/+1 |
| | | | | (GH-30473) | ||||
* | bpo-46289: Make conversion of FormattedValue not optional on ASDL (GH-30467) | Batuhan Taskaya | 2022-01-07 | 1 | -8/+5 |
| | | | Automerge-Triggered-By: GH:isidentical | ||||
* | bpo-46286: use the new POP_JUMP_IF_NOT_NONE opcode to simplify except* ↵ | Irit Katriel | 2022-01-06 | 1 | -6/+2 |
| | | | | | (GH-30439) Automerge-Triggered-By: GH:iritkatriel | ||||
* | bpo-46208: Fix normalization of relative paths in ↵ | neonene | 2022-01-06 | 1 | -9/+16 |
| | | | | _Py_normpath()/os.path.normpath (GH-30362) | ||||
* | bpo-45923: Handle call events in bytecode (GH-30364) | Mark Shannon | 2022-01-06 | 3 | -72/+117 |
| | | | | * Add a RESUME instruction to handle "call" events. | ||||
* | bpo-46031: add POP_JUMP_IF_NOT_NONE and POP_JUMP_IF_NONE (GH-30019) | penguin_wwy | 2022-01-06 | 3 | -6/+57 |
| | |||||
* | bpo-45256: Don't track the exact depth of each `InterpreterFrame` (GH-30372) | Brandt Bucher | 2022-01-05 | 1 | -8/+5 |
| | |||||
* | bpo-46009: Remove GEN_START (GH-30367) | Brandt Bucher | 2022-01-04 | 3 | -29/+8 |
| | |||||
* | bpo-45609: More specialization stats for STORE_SUBSCR (GH-30193) | Dennis Sweeney | 2022-01-04 | 1 | -3/+68 |
| | |||||
* | bpo-46202: Remove opcode POP_EXCEPT_AND_RERAISE (GH-30302) | Irit Katriel | 2022-01-04 | 3 | -46/+36 |
| | | | | | | * bpo-46202: remove opcode POP_EXCEPT_AND_RERAISE * do not assume that an exception group is truthy | ||||
* | bpo-46219, 46221: simplify except* implementation following exc_info ↵ | Irit Katriel | 2022-01-02 | 2 | -141/+17 |
| | | | | changes. Move helpers to exceptions.c. Do not assume that exception groups are truthy. (GH-30289) | ||||
* | Update copyright year to 2022. (GH-30335) | Benjamin Peterson | 2022-01-02 | 1 | -1/+1 |
| | | | Automerge-Triggered-By: GH:benjaminp | ||||
* | bpo-46090: Allow PyThreadState.datastack_* members to be NULL (GH-30234) | Brandt Bucher | 2021-12-28 | 1 | -21/+17 |
| | |||||
* | bpo-46072: Add top level stats struct (GH-30169) | Mark Shannon | 2021-12-17 | 2 | -70/+59 |
| | |||||
* | bpo-45711: Remove type and traceback from exc_info (GH-30122) | Irit Katriel | 2021-12-17 | 4 | -269/+119 |
| | | | | | | | | * Do not PUSH/POP traceback or type to the stack as part of exc_info * Remove exc_traceback and exc_type from _PyErr_StackItem * Add to what's new, because this change breaks things like Cython | ||||
* | bpo-45635: Do not suppress errors in functions called from _PyErr_Display ↵ | Irit Katriel | 2021-12-16 | 1 | -113/+157 |
| | | | | | | (GH-30073) Co-authored-by: Erlend Egeberg Aasland <erlend.aasland@innova.no> | ||||
* | Better randomization of stats filenames. (GH-30145) | Mark Shannon | 2021-12-16 | 1 | -2/+14 |
| | |||||
* | bpo-45829: Check `__getitem__`'s version for overflow before specializing ↵ | Brandt Bucher | 2021-12-16 | 1 | -1/+1 |
| | | | | | | | (GH-30129) * Check __getitem__'s version for overflow. * Use SPEC_FAIL_OUT_OF_VERSIONS instead | ||||
* | bpo-46072: Add --with-pystats configure option to simplify gathering of VM ↵ | Mark Shannon | 2021-12-15 | 2 | -27/+24 |
| | | | | | | | | | stats (GH-30116) * Simplify specialization stats collection macros. * Add --enable-pystats option to configure. * Update specialization summary script to handle larger number of kinds | ||||
* | bpo-44525: Specialize for calls to type and other builtin classes with 1 ↵ | Mark Shannon | 2021-12-15 | 3 | -16/+74 |
| | | | | argument. (GH-29942) | ||||
* | bpo-46039: Split yield from in two (GH-30035) | Mark Shannon | 2021-12-15 | 3 | -30/+54 |
| | | | | | | * Split YIELD_FROM opcode into SEND and JUMP_ABSOLUTE. * Remove YIELD_FROM opcode. | ||||
* | bpo-44525: Split calls into PRECALL and CALL (GH-30011) | Mark Shannon | 2021-12-14 | 4 | -120/+280 |
| | | | | | | | | | | * Add 3 new opcodes for calls: PRECALL_METHOD, CALL_NO_KW, CALL_KW. * Update specialization to handle new CALL opcodes. * Specialize call to method descriptors. * Remove old CALL opcodes: CALL_FUNCTION, CALL_METHOD, CALL_METHOD_KW, CALL_FUNCTION_KW. | ||||
* | bpo-45292: [PEP-654] add except* (GH-29581) | Irit Katriel | 2021-12-14 | 7 | -12/+954 |
| | |||||
* | bpo-45919: Remove out of date comment (GH-30090) | Dong-hee Na | 2021-12-14 | 1 | -2/+4 |
| | |||||
* | bpo-45953: Statically initialize the small ints. (gh-30092) | Eric Snow | 2021-12-14 | 1 | -2/+0 |
| | | | | | | | The array of small PyLong objects has been statically declared. Here I also statically initialize them. Consequently they are no longer initialized dynamically during runtime init. I've also moved them under a new sub-struct in _PyRuntimeState, in preparation for static allocation and initialization of other global objects. https://bugs.python.org/issue45953 | ||||
* | bpo-45919: Use WinAPI GetFileType() in is_valid_fd() (GH-30082) | Dong-hee Na | 2021-12-13 | 1 | -12/+10 |
| | |||||
* | bpo-45855: Replaced deprecated `PyImport_ImportModuleNoBlock` with ↵ | Kumar Aditya | 2021-12-12 | 2 | -2/+2 |
| | | | | PyImport_ImportModule (GH-30046) | ||||
* | bpo-46042: Improve SyntaxError locations in the symbol table (GH-30059) | Pablo Galindo Salgado | 2021-12-11 | 1 | -60/+83 |
| | |||||
* | bpo-37971: fix the position of decorator application (GH-30027) | Carl Friedrich Bolz-Tereick | 2021-12-10 | 1 | -8/+25 |
| | | | | | | | The line numbers of actually calling the decorator functions of functions and classes was wrong (as opposed to loading them, were they have been correct previously too). Co-authored-by: Łukasz Langa <lukasz@langa.pl> | ||||
* | bpo-45635: refactor print_exception_recursive into smaller functions to ↵ | Irit Katriel | 2021-12-10 | 1 | -149/+187 |
| | | | | | standardize error handling (GH-30015) Co-authored-by: Erlend Egeberg Aasland <erlend.aasland@innova.no> | ||||
* | bpo-45654: No need to freeze types (GH-30028) | Christian Heimes | 2021-12-10 | 1 | -3/+0 |
| | |||||
* | bpo-45582: Fix test_embed failure during a PGO build on Windows (GH-30014) | neonene | 2021-12-10 | 1 | -0/+2 |
| | | | This defines VPATH differently in PGO instrumentation builds, to account for a different default output directory. It also adds sys._vpath on Windows to make the value available to sysconfig so that it can be used in tests. |