Commit message (Collapse) | Author | Age | Files | Lines | ||
---|---|---|---|---|---|---|
... | ||||||
* | 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) | |||||
* | gh-104773: PEP 594: Remove the sndhdr module (#104774) | Victor Stinner | 2023-05-24 | 1 | -1/+0 | |
| | | | Remove the Lib/test/sndhdrdata/ directory. | |||||
* | gh-104773: PEP 594: Remove cgi and cgitb modules (#104775) | Victor Stinner | 2023-05-24 | 1 | -2/+0 | |
| | | | | | * Replace "cgi" with "!cgi" in the Sphinx documentation to avoid warnings on broken references. * test_pyclbr no longer tests the cgi module. | |||||
* | gh-104780: Remove 2to3 program and lib2to3 module (#104781) | Victor Stinner | 2023-05-23 | 1 | -1/+0 | |
| | | | | | | | | | * Remove the Tools/scripts/2to3 script. * Remove the Lib/test/test_lib2to3/ directory. * Doc/tools/extensions/pyspecific.py: remove the "2to3fixer" object type. * Makefile and PC/layout/main.py no longer compile lib2to3 grammar files. * Update Makefile for 2to3 removal. | |||||
* | gh-104773: PEP 594: Remove the telnetlib module (#104778) | Victor Stinner | 2023-05-23 | 1 | -1/+0 | |
| | ||||||
* | gh-104741: Add line number attribute to indentation error exception (#104743) | Marta Gómez Macías | 2023-05-22 | 1 | -6/+9 | |
| | ||||||
* | gh-104656: Rename typeparams AST node to type_params (#104657) | Jelle Zijlstra | 2023-05-22 | 5 | -219/+221 | |
| | ||||||
* | gh-102856: Tokenize performance improvement (#104731) | Marta Gómez Macías | 2023-05-22 | 1 | -1/+16 | |
| | ||||||
* | gh-104686: Fix tracing for decorated classes (#104708) | Jelle Zijlstra | 2023-05-21 | 1 | -0/+4 | |
| | ||||||
* | gh-103295: expose API for writing perf map files (#103546) | gsallam | 2023-05-21 | 3 | -69/+96 | |
| | | | | | Co-authored-by: Aniket Panse <aniketpanse@fb.com> Co-authored-by: Gregory P. Smith <greg@krypto.org> Co-authored-by: Carl Meyer <carl@oddbird.net> | |||||
* | gh-102856: Python tokenizer implementation for PEP 701 (#104323) | Marta Gómez Macías | 2023-05-21 | 2 | -22/+140 | |
| | | | | | | | | | | | This commit replaces the Python implementation of the tokenize module with an implementation that reuses the real C tokenizer via a private extension module. The tokenize module now implements a compatibility layer that transforms tokens from the C tokenizer into Python tokenize tokens for backward compatibility. As the C tokenizer does not emit some tokens that the Python tokenizer provides (such as comments and non-semantic newlines), a new special mode has been added to the C tokenizer mode that currently is only used via the extension module that exposes it to the Python layer. This new mode forces the C tokenizer to emit these new extra tokens and add the appropriate metadata that is needed to match the old Python implementation. Co-authored-by: Pablo Galindo <pablogsal@gmail.com> | |||||
* | gh-104640: Disallow walrus in comprehension within type scopes (#104641) | Jelle Zijlstra | 2023-05-19 | 1 | -4/+31 | |
| | ||||||
* | GH-102818: Do not call `PyTraceBack_Here` in sys.settrace trampoline. ↵ | Mark Shannon | 2023-05-19 | 1 | -4/+0 | |
| | | | | (GH-104579) | |||||
* | gh-104619: never leak comprehension locals to outer locals() (#104637) | Carl Meyer | 2023-05-19 | 1 | -21/+19 | |
| | ||||||
* | gh-104602: ensure all cellvars are known up front (#104603) | Carl Meyer | 2023-05-19 | 2 | -20/+21 | |
| | | | Co-authored-by: Jelle Zijlstra <jelle.zijlstra@gmail.com> | |||||
* | gh-104615: don't make unsafe swaps in apply_static_swaps (#104620) | Carl Meyer | 2023-05-18 | 2 | -2/+24 | |
| | ||||||
* | GH-96803: Document and test new unstable internal frame API functions ↵ | Mark Shannon | 2023-05-18 | 1 | -2/+2 | |
| | | | | | | (GH-104211) Weaken contract of PyUnstable_InterpreterFrame_GetCode to return PyObject*. | |||||
* | GH-104580: Don't cache eval breaker in interpreter (GH-104581) | Mark Shannon | 2023-05-18 | 4 | -258/+256 | |
| | | | Move eval-breaker to the front of the interpreter state. | |||||
* | gh-104374: Remove access to class scopes for inlined comprehensions (#104528) | Jelle Zijlstra | 2023-05-18 | 2 | -7/+18 | |
| | | | Co-authored-by: Carl Meyer <carl@oddbird.net> | |||||
* | GH-101520: Move tracemalloc functionality into core, leaving interface in ↵ | Mark Shannon | 2023-05-17 | 2 | -3/+1564 | |
| | | | | Modules. (#104508) | |||||
* | gh-104572: Improve error messages for invalid constructs in PEP 695 contexts ↵ | Jelle Zijlstra | 2023-05-17 | 1 | -4/+4 | |
| | | | | (#104573) | |||||
* | GH-103906: Remove immortal refcounting in the interpreter (GH-103909) | Brandt Bucher | 2023-05-16 | 2 | -509/+473 | |
| | ||||||
* | gh-103865: add monitoring support to LOAD_SUPER_ATTR (#103866) | Carl Meyer | 2023-05-16 | 6 | -229/+309 | |
| | ||||||
* | gh-103763: Implement PEP 695 (#103764) | Jelle Zijlstra | 2023-05-16 | 11 | -626/+2291 | |
| | | | | | | | | | | | | | | This implements PEP 695, Type Parameter Syntax. It adds support for: - Generic functions (def func[T](): ...) - Generic classes (class X[T](): ...) - Type aliases (type X = ...) - New scoping when the new syntax is used within a class body - Compiler and interpreter changes to support the new syntax and scoping rules Co-authored-by: Marc Mueller <30130371+cdce8p@users.noreply.github.com> Co-authored-by: Eric Traut <eric@traut.com> Co-authored-by: Larry Hastings <larry@hastings.org> Co-authored-by: Alex Waygood <Alex.Waygood@Gmail.com> | |||||
* | gh-104482: Fix error handling bugs in ast.c (#104483) | Irit Katriel | 2023-05-15 | 2 | -19/+38 | |
| | ||||||
* | gh-104341: Adjust tstate_must_exit() to Respect Interpreter Finalization ↵ | Eric Snow | 2023-05-15 | 5 | -6/+32 | |
| | | | | | (gh-104437) With the move to a per-interpreter GIL, this check slipped through the cracks. | |||||
* | gh-101819: Isolate `_io` (#101948) | Erlend E. Aasland | 2023-05-15 | 1 | -10/+0 | |
| | | | | Co-authored-by: Kumar Aditya <59607654+kumaraditya303@users.noreply.github.com> Co-authored-by: Victor Stinner <vstinner@python.org> | |||||
* | gh-87092: avoid gcc warning on uninitialized struct field in assemble.c ↵ | Dong-hee Na | 2023-05-14 | 1 | -1/+2 | |
| | | | | (#104460) | |||||
* | gh-104404: fix crasher with nested comprehensions plus lambdas (#104442) | Carl Meyer | 2023-05-13 | 1 | -7/+14 | |
| | ||||||
* | GH-104405: Add missing PEP 523 checks (GH-104406) | Brandt Bucher | 2023-05-12 | 4 | -403/+434 | |
| | ||||||
* | GH-103082: Filter LINE events in VM, to simplify tool implementation. ↵ | Mark Shannon | 2023-05-12 | 7 | -145/+178 | |
| | | | | | | | | (GH-104387) When monitoring LINE events, instrument all instructions that can have a predecessor on a different line. Then check that the a new line has been hit in the instrumentation code. This brings the behavior closer to that of 3.11, simplifying implementation and porting of tools. | |||||
* | gh-104413: Fix refleak when super attribute throws AttributeError (#104414) | Jelle Zijlstra | 2023-05-12 | 2 | -114/+116 | |
| | ||||||
* | gh-104377: fix cell in comprehension that is free in outer scope (#104394) | Carl Meyer | 2023-05-11 | 1 | -3/+12 | |
| | ||||||
* | gh-87729: improve hit rate of LOAD_SUPER_ATTR specialization (#104270) | Carl Meyer | 2023-05-11 | 5 | -287/+324 | |
| | ||||||
* | gh-87849: fix SEND specialization family definition (GH-104268) | Carl Meyer | 2023-05-11 | 3 | -176/+177 | |
| | ||||||
* | gh-104357: fix inlined comprehensions that close over iteration var (#104368) | Carl Meyer | 2023-05-11 | 1 | -6/+13 | |
| | ||||||
* | GH-102181: Improve specialization stats for SEND (GH-102182) | penguin_wwy | 2023-05-10 | 1 | -41/+45 | |
| | ||||||
* | gh-104263: Rely on Py_NAN and introduce Py_INFINITY (GH-104202) | Sebastian Berg | 2023-05-10 | 2 | -74/+1 | |
| | | | | | | | | | | This PR removes `_Py_dg_stdnan` and `_Py_dg_infinity` in favour of using the standard `NAN` and `INFINITY` macros provided by C99. This change has the side-effect of fixing a bug on MIPS where the hard-coded value used by `_Py_dg_stdnan` gave a signalling NaN rather than a quiet NaN. --------- Co-authored-by: Mark Dickinson <dickinsm@gmail.com> | |||||
* | gh-97933: (PEP 709) inline list/dict/set comprehensions (#101441) | Carl Meyer | 2023-05-09 | 8 | -584/+915 | |
| | | | | Co-authored-by: Irit Katriel <1055913+iritkatriel@users.noreply.github.com> Co-authored-by: Erlend E. Aasland <erlend.aasland@protonmail.com> |