Commit message (Collapse) | Author | Age | |
---|---|---|---|
* | gh-105035: fix super() calls on unusual types (e.g. meta-types) (#105094) | Carl Meyer | 2023-05-30 |
| | |||
* | gh-80064: Fix is_valid_wide_char() return type (#105099) | Victor Stinner | 2023-05-30 |
| | | | | 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 |
| | | | 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 |
| | | | | | 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 |
| | | | | correct (#104975) | ||
* | gh-104773: PEP 594: Remove the imghdr module (#104777) | Victor Stinner | 2023-05-26 |
| | | | | | | * 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 |
| | | | Co-authored-by: Alex Waygood <Alex.Waygood@Gmail.com> | ||
* | GH-89091: raise `RuntimeWarning` for unawaited async generator methods (#104611) | Kumar Aditya | 2023-05-26 |
| | |||
* | gh-104773: PEP 594: Remove the chunk module (#104868) | Victor Stinner | 2023-05-25 |
| | | | The module had no tests. | ||
* | gh-104773: PEP 594: Remove the audioop module (#104937) | Victor Stinner | 2023-05-25 |
| | |||
* | gh-104773: PEP 594: Remove the aifc module (#104933) | Victor Stinner | 2023-05-25 |
| | | | | * 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 |
| | | | | 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 |
| | | | | 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-24 |
| | |||
* | gh-104820: Fixes os.stat on Windows to better handle file systems that do ↵ | Steve Dower | 2023-05-25 |
| | | | | not support FileIdInformation (GH-104892) | ||
* | gh-104773: PEP 594: Remove the xdrlib module (#104900) | Victor Stinner | 2023-05-25 |
| | | | pickle documentation no longer mentions the XDR format. | ||
* | gh-104773: PEP 594: Remove the nis module (#104897) | Victor Stinner | 2023-05-25 |
| | |||
* | gh-104773: PEP 594: Remove the nntplib module (#104894) | Victor Stinner | 2023-05-24 |
| | | | | | | | | * 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 |
| | | | Remove spwd from the configure script and Modules/Setup. | ||
* | gh-104773: PEP 594: Remove the mailcap module (#104867) | Victor Stinner | 2023-05-24 |
| | | | Remove Lib/test/mailcap.txt test file. | ||
* | gh-104773: PEP 594: Remove the sunau module (#104863) | Victor Stinner | 2023-05-24 |
| | | | | * 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 |
| | | | | | * 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 |
| | |||
* | gh-104825: Remove implicit newline in the line attribute in tokens emitted ↵ | Pablo Galindo Salgado | 2023-05-24 |
| | | | | in the tokenize module (#104846) | ||
* | gh-104773: PEP 594: Remove the sndhdr module (#104774) | Victor Stinner | 2023-05-24 |
| | | | Remove the Lib/test/sndhdrdata/ directory. | ||
* | gh-104773: PEP 594: Remove cgi and cgitb modules (#104775) | Victor Stinner | 2023-05-24 |
| | | | | | * 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 |
| | | | | | | | | | * 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 |
| | |||
* | gh-104741: Add line number attribute to indentation error exception (#104743) | Marta Gómez Macías | 2023-05-22 |
| | |||
* | gh-104656: Rename typeparams AST node to type_params (#104657) | Jelle Zijlstra | 2023-05-21 |
| | |||
* | gh-102856: Tokenize performance improvement (#104731) | Marta Gómez Macías | 2023-05-22 |
| | |||
* | gh-104686: Fix tracing for decorated classes (#104708) | Jelle Zijlstra | 2023-05-21 |
| | |||
* | gh-103295: expose API for writing perf map files (#103546) | gsallam | 2023-05-21 |
| | | | | | 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 |
| | | | | | | | | | | | 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 |
| | |||
* | GH-102818: Do not call `PyTraceBack_Here` in sys.settrace trampoline. ↵ | Mark Shannon | 2023-05-19 |
| | | | | (GH-104579) | ||
* | gh-104619: never leak comprehension locals to outer locals() (#104637) | Carl Meyer | 2023-05-18 |
| | |||
* | gh-104602: ensure all cellvars are known up front (#104603) | Carl Meyer | 2023-05-19 |
| | | | 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 |
| | |||
* | GH-96803: Document and test new unstable internal frame API functions ↵ | Mark Shannon | 2023-05-18 |
| | | | | | | (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 |
| | | | 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 |
| | | | Co-authored-by: Carl Meyer <carl@oddbird.net> | ||
* | GH-101520: Move tracemalloc functionality into core, leaving interface in ↵ | Mark Shannon | 2023-05-17 |
| | | | | Modules. (#104508) | ||
* | gh-104572: Improve error messages for invalid constructs in PEP 695 contexts ↵ | Jelle Zijlstra | 2023-05-17 |
| | | | | (#104573) | ||
* | GH-103906: Remove immortal refcounting in the interpreter (GH-103909) | Brandt Bucher | 2023-05-16 |
| | |||
* | gh-103865: add monitoring support to LOAD_SUPER_ATTR (#103866) | Carl Meyer | 2023-05-16 |
| | |||
* | gh-103763: Implement PEP 695 (#103764) | Jelle Zijlstra | 2023-05-15 |
| | | | | | | | | | | | | | | 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 |
| | |||
* | gh-104341: Adjust tstate_must_exit() to Respect Interpreter Finalization ↵ | Eric Snow | 2023-05-15 |
| | | | | | (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 |
| | | | | Co-authored-by: Kumar Aditya <59607654+kumaraditya303@users.noreply.github.com> Co-authored-by: Victor Stinner <vstinner@python.org> |