Commit message (Collapse) | Author | Age | Files | Lines | ||
---|---|---|---|---|---|---|
... | ||||||
* | gh-105435: Fix spurious NEWLINE token if file ends with comment without a ↵ | Pablo Galindo Salgado | 2023-06-07 | 1 | -0/+11 | |
| | | | | newline (#105442) | |||||
* | gh-105390: Correctly raise TokenError instead of SyntaxError for tokenize ↵ | Pablo Galindo Salgado | 2023-06-07 | 1 | -7/+2 | |
| | | | | errors (#105399) | |||||
* | gh-105259: Ensure we don't show newline characters for trailing NEWLINE ↵ | Pablo Galindo Salgado | 2023-06-06 | 1 | -4/+6 | |
| | | | | tokens (#105364) | |||||
* | gh-103906: Remove immortal refcounting in compile/marshal.c (gh-103922) | Dong-hee Na | 2023-06-05 | 2 | -7/+7 | |
| | ||||||
* | gh-105164: Detect annotations inside match blocks (#105177) | Jelle Zijlstra | 2023-06-05 | 1 | -0/+10 | |
| | ||||||
* | GH-105229: Replace some superinstructions with single instruction ↵ | Mark Shannon | 2023-06-05 | 7 | -610/+639 | |
| | | | | equivalent. (GH-105230) | |||||
* | GH-104584: Allow optimizers to opt out of optimizing. (GH-105244) | Mark Shannon | 2023-06-05 | 1 | -11/+18 | |
| | ||||||
* | gh-103277: remove unused macros (#105247) | Irit Katriel | 2023-06-03 | 1 | -19/+0 | |
| | ||||||
* | gh-87092: avoid gcc warning on uninitialized struct field in assemble… ↵ | Dong-hee Na | 2023-06-02 | 1 | -0/+1 | |
| | | | | | (gh-105243) gh-87092: avoid gcc warning on uninitialized struct field in assemble.c (part2) | |||||
* | gh-105214: Use named constants for MAKE_FUNCTION oparg (#105215) | Jelle Zijlstra | 2023-06-02 | 5 | -289/+288 | |
| | ||||||
* | GH-104584: Plugin optimizer API (GH-105100) | Mark Shannon | 2023-06-02 | 8 | -358/+676 | |
| | ||||||
* | gh-105184: document that marshal functions can fail and need to be checked ↵ | Irit Katriel | 2023-06-02 | 1 | -0/+4 | |
| | | | | with PyErr_Occurred (#105185) | |||||
* | gh-104799: Default missing lists in AST to the empty list (#104834) | Jelle Zijlstra | 2023-06-02 | 1 | -219/+365 | |
| | | | Co-authored-by: Alex Waygood <Alex.Waygood@Gmail.com> | |||||
* | gh-92536: Remove PyUnicode_READY() calls (#105210) | Victor Stinner | 2023-06-01 | 7 | -25/+1 | |
| | | | | Since Python 3.12, PyUnicode_READY() does nothing and always returns 0. | |||||
* | gh-92536: Argument Clinic no longer emits PyUnicode_READY() (#105208) | Victor Stinner | 2023-06-01 | 4 | -34/+4 | |
| | | | | | | Since Python 3.12, PyUnicode_READY() does nothing and always returns 0. Argument Clinic now also checks for .cpp files (PC/_wmimodule.cpp). | |||||
* | gh-104341: Call _PyEval_ReleaseLock() with NULL When Finalizing the Current ↵ | Eric Snow | 2023-06-01 | 3 | -8/+45 | |
| | | | | | | | Thread (gh-105109) This avoids the problematic race in drop_gil() by skipping the FORCE_SWITCHING code there for finalizing threads. (The idea for this approach came out of discussions with @markshannon.) | |||||
* | gh-105140: remove unused arg of _PyErr_ChainStackItem (#105141) | Irit Katriel | 2023-06-01 | 1 | -31/+7 | |
| | ||||||
* | gh-105182: Remove PyEval_AcquireLock() and PyEval_InitThreads() (#105183) | Victor Stinner | 2023-06-01 | 1 | -4/+9 | |
| | | | | | | | | | | | | Remove functions in the C API: * PyEval_AcquireLock() * PyEval_ReleaseLock() * PyEval_InitThreads() * PyEval_ThreadsInitialized() But keep these functions in the stable ABI. Mention "make regen-limited-abi" in "make regen-all". | |||||
* | remove unused #includes of pycore_pymem.h (#105166) | Irit Katriel | 2023-06-01 | 5 | -263/+259 | |
| | ||||||
* | gh-105145: Remove old functions to config Python init (#105154) | Victor Stinner | 2023-06-01 | 4 | -141/+20 | |
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Remove the following old functions to configure the Python initialization, deprecated in Python 3.11: * PySys_AddWarnOptionUnicode() * PySys_AddWarnOption() * PySys_AddXOption() * PySys_HasWarnOptions() * PySys_SetArgvEx() * PySys_SetArgv() * PySys_SetPath() * Py_SetPath() * Py_SetProgramName() * Py_SetPythonHome() * Py_SetStandardStreamEncoding() * _Py_SetProgramFullPath() Most of these functions are kept in the stable ABI, except: * Py_SetStandardStreamEncoding() * _Py_SetProgramFullPath() Update Doc/extending/embedding.rst and Doc/extending/extending.rst to use the new PyConfig API. _testembed.c: * check_stdio_details() now sets stdio_encoding and stdio_errors of PyConfig. * Add definitions of functions removed from the API but kept in the stable ABI. * test_init_from_config() and test_init_read_set() now use PyConfig_SetString() instead of PyConfig_SetBytesString(). Remove _Py_ClearStandardStreamEncoding() internal function. | |||||
* | gh-105156: Deprecate the old Py_UNICODE type in C API (#105157) | Victor Stinner | 2023-06-01 | 1 | -1/+1 | |
| | | | | | | | | Deprecate the old Py_UNICODE and PY_UNICODE_TYPE types in the C API: use wchar_t instead. Replace Py_UNICODE with wchar_t in multiple C files. Co-authored-by: Inada Naoki <songofacandy@gmail.com> | |||||
* | gh-105148: make _PyASTOptimizeState internal to ast_opt.c (#105149) | Irit Katriel | 2023-05-31 | 3 | -17/+21 | |
| | ||||||
* | gh-104909: Split BINARY_OP into micro-ops (#104910) | Guido van Rossum | 2023-05-31 | 3 | -624/+753 | |
| | | | Co-authored-by: Brandt Bucher <brandtbucher@gmail.com> | |||||
* | gh-104922: Make `PY_SSIZE_T_CLEAN` not mandatory again (#105051) | Inada Naoki | 2023-05-31 | 3 | -171/+60 | |
| | ||||||
* | gh-105042: Disable unmatched parens syntax error in python tokenize (#105061) | Lysandros Nikolaou | 2023-05-30 | 1 | -1/+1 | |
| | ||||||
* | gh-105069: Add a readline-like callable to the tokenizer to consume input ↵ | Pablo Galindo Salgado | 2023-05-30 | 2 | -22/+31 | |
| | | | | iteratively (#105070) | |||||
* | gh-105035: fix super() calls on unusual types (e.g. meta-types) (#105094) | Carl Meyer | 2023-05-30 | 2 | -221/+225 | |
| | ||||||
* | gh-80064: Fix is_valid_wide_char() return type (#105099) | Victor Stinner | 2023-05-30 | 1 | -1/+1 | |
| | | | | Return a classical int, rather than size_t. The size_t type was kept from copied/pasted code related to mbstowcs(). | |||||
* | gh-105017: Include CRLF lines in strings and column numbers (#105030) | Marta Gómez Macías | 2023-05-28 | 1 | -2/+7 | |
| | | | Co-authored-by: Pablo Galindo <pablogsal@gmail.com> | |||||
* | gh-104976: Ensure trailing dedent tokens are emitted as the previous ↵ | Pablo Galindo Salgado | 2023-05-26 | 1 | -3/+23 | |
| | | | | | tokenizer (#104980) Signed-off-by: Pablo Galindo <pablogsal@gmail.com> | |||||
* | gh-104972: Ensure that line attributes in tokens in the tokenize module are ↵ | Pablo Galindo Salgado | 2023-05-26 | 1 | -5/+4 | |
| | | | | correct (#104975) | |||||
* | gh-104773: PEP 594: Remove the imghdr module (#104777) | Victor Stinner | 2023-05-26 | 1 | -1/+0 | |
| | | | | | | * Remove the Lib/test/imghdrdata/ directory. * Copy 5 pictures (gif, png, ppm, pgm, xbm) from removed Lib/test/imghdrdata/ to a new Lib/test/tkinterdata/ directory. * Update Sphinx from 4.5 to 6.2 in Doc/requirements.txt. | |||||
* | gh-104799: Move location of type_params AST fields (#104828) | Jelle Zijlstra | 2023-05-26 | 1 | -163/+162 | |
| | | | Co-authored-by: Alex Waygood <Alex.Waygood@Gmail.com> | |||||
* | GH-89091: raise `RuntimeWarning` for unawaited async generator methods (#104611) | Kumar Aditya | 2023-05-26 | 1 | -0/+14 | |
| | ||||||
* | gh-104773: PEP 594: Remove the chunk module (#104868) | Victor Stinner | 2023-05-25 | 1 | -1/+0 | |
| | | | The module had no tests. | |||||
* | gh-104773: PEP 594: Remove the audioop module (#104937) | Victor Stinner | 2023-05-25 | 1 | -1/+0 | |
| | ||||||
* | gh-104773: PEP 594: Remove the aifc module (#104933) | Victor Stinner | 2023-05-25 | 1 | -1/+0 | |
| | | | | * Remove .aifc and .aiff test files of Lib/test/audiodata/ * Remove Lib/test/Sine-1000Hz-300ms.aif test file | |||||
* | gh-104773: PEP 594: Remove the uu module (#104932) | Victor Stinner | 2023-05-25 | 1 | -1/+0 | |
| | | | | Doc/license.rst: Keep the UUencode and UUdecode license since it's also used by the uu codec. | |||||
* | gh-104773: PEP 594: Remove the crypt module (#104908) | Victor Stinner | 2023-05-25 | 1 | -2/+0 | |
| | | | | Remove the crypt module and its private _crypt extension, deprecated in Python 3.11. | |||||
* | gh-104773: Remove the msilib package (GH-104911) | Zachary Ware | 2023-05-25 | 1 | -2/+0 | |
| | ||||||
* | gh-104820: Fixes os.stat on Windows to better handle file systems that do ↵ | Steve Dower | 2023-05-24 | 1 | -1/+2 | |
| | | | | not support FileIdInformation (GH-104892) | |||||
* | gh-104773: PEP 594: Remove the xdrlib module (#104900) | Victor Stinner | 2023-05-24 | 1 | -1/+0 | |
| | | | pickle documentation no longer mentions the XDR format. | |||||
* | gh-104773: PEP 594: Remove the nis module (#104897) | Victor Stinner | 2023-05-24 | 1 | -1/+0 | |
| | ||||||
* | gh-104773: PEP 594: Remove the nntplib module (#104894) | Victor Stinner | 2023-05-24 | 1 | -1/+0 | |
| | | | | | | | | * socket_helper.transient_internet() no longer imports nntplib to catch nntplib.NNTPTemporaryError. * ssltests.py no longer runs test_nntplib. * "make quicktest" no longer runs test_nntplib. * WASM: remove nntplib from OMIT_NETWORKING_FILES. * Remove mentions to nntplib in the email documentation. | |||||
* | gh-104773: PEP 594: Remove the spwd module (#104871) | Victor Stinner | 2023-05-24 | 1 | -1/+0 | |
| | | | Remove spwd from the configure script and Modules/Setup. | |||||
* | gh-104773: PEP 594: Remove the mailcap module (#104867) | Victor Stinner | 2023-05-24 | 1 | -1/+0 | |
| | | | Remove Lib/test/mailcap.txt test file. | |||||
* | gh-104773: PEP 594: Remove the sunau module (#104863) | Victor Stinner | 2023-05-24 | 1 | -1/+0 | |
| | | | | * Remove Lib/test/audiodata/pluck-*.au files. * Remove Lib/test/audiotest.au file. | |||||
* | gh-104773: PEP 594: Remove the ossaudiodev module (#104862) | Victor Stinner | 2023-05-24 | 1 | -1/+0 | |
| | | | | | * Remove ossaudiodev extension in configure.ac and regenerate the configure script. * Remove ossaudiodev in Modules/Setup and Modules/Setup.stdlib.in. | |||||
* | gh-104773: PEP 594: Remove the pipes module (#104848) | Victor Stinner | 2023-05-24 | 1 | -1/+0 | |
| | ||||||
* | gh-104825: Remove implicit newline in the line attribute in tokens emitted ↵ | Pablo Galindo Salgado | 2023-05-24 | 1 | -0/+4 | |
| | | | | in the tokenize module (#104846) |