Commit message (Collapse) | Author | Age | Files | Lines | ||
---|---|---|---|---|---|---|
... | ||||||
* | GH-104584: Miscellaneous fixes for -Xuops (GH-106908) | Brandt Bucher | 2023-07-20 | 10 | -18/+67 | |
| | ||||||
* | Fix typo in 3.11.4 changelog: urllib.request.Requst -> Request (#106830) | Zach Brantmeier | 2023-07-20 | 1 | -1/+1 | |
| | ||||||
* | gh-106078: Prepare to isolate decimal module (#106880) | Charlie Zhao | 2023-07-20 | 2 | -23/+55 | |
| | | | | | | * move signal_map to global_state * move cond_map to global_state | |||||
* | gh-102799: use sys.exception() instead of sys.exc_info() in contextlib (#103311) | Irit Katriel | 2023-07-20 | 3 | -24/+34 | |
| | | | Co-authored-by: Kumar Aditya <kumaraditya@python.org> | |||||
* | gh-106751: Optimize _PolllikeSelector for many iteration case (gh-106884) | Pieter Eendebak | 2023-07-20 | 2 | -17/+10 | |
| | ||||||
* | gh-106882: Note that `asyncio.Server` is only publicly exposed on 3.11+ ↵ | Jack Nelson | 2023-07-19 | 1 | -0/+3 | |
| | | | | | (#106901) And later versions of 3.10, 3.9 | |||||
* | GH-100502: Add `pathlib.PurePath.pathmod` attribute (GH-106533) | Barney Gale | 2023-07-19 | 4 | -58/+68 | |
| | | | | This instance attribute stores the implementation of `os.path` used for low-level path operations: either `posixpath` or `ntpath`. | |||||
* | Export _PyEval_SetProfile() as a function, not data (#106887) | Victor Stinner | 2023-07-19 | 1 | -1/+1 | |
| | ||||||
* | gh-104090: Fix unittest collectedDurations resources leak (#106795) | Yonatan Bitton | 2023-07-19 | 2 | -1/+3 | |
| | ||||||
* | gh-106751: Optimize SelectSelector.select() for many iteration case (gh-106879) | Dong-hee Na | 2023-07-19 | 2 | -10/+10 | |
| | ||||||
* | gh-106751: Optimize KqueueSelector.select() for many iteration case (gh-106864) | Dong-hee Na | 2023-07-19 | 2 | -8/+8 | |
| | ||||||
* | gh-106727: Make `inspect.getsource` smarter for class for same name ↵ | Tian Gao | 2023-07-18 | 4 | -12/+71 | |
| | | | | definitions (#106815) | |||||
* | Docs: Argument Clinic: Group guides about default values (#106872) | Erlend E. Aasland | 2023-07-18 | 1 | -20/+20 | |
| | | | | | | | | | | | | | | | | Previous ToC layout (excerpt): - How to use symbolic default values ... - How to assign default values to parameter - How to use the ``NULL`` default value - How to use expressions as default values New layout: - How to assign default values to parameter - The ``NULL`` default value - Symbolic default values - Expressions as default values | |||||
* | gh-86493: Use PyModule_Add() instead of PyModule_AddObjectRef() (GH-106860) | Serhiy Storchaka | 2023-07-18 | 14 | -116/+26 | |
| | ||||||
* | gh-105481: Generate the opcode lists in dis from data extracted from ↵ | Irit Katriel | 2023-07-18 | 16 | -159/+403 | |
| | | | | bytecodes.c (#106758) | |||||
* | gh-106535: Document soft deprecations in What's New In Python 3.13 (#106859) | Victor Stinner | 2023-07-18 | 1 | -0/+12 | |
| | ||||||
* | gh-106751: selectors: optimize EpollSelector.select() (#106754) | J. Nick Koston | 2023-07-18 | 2 | -8/+10 | |
| | | | Co-authored-by: Pieter Eendebak <pieter.eendebak@gmail.com> | |||||
* | Docs: Normalise Argument Clinic advanced topics headings (#106842) | Erlend E. Aasland | 2023-07-18 | 1 | -49/+46 | |
| | | | Co-authored-by: Ezio Melotti <ezio.melotti@gmail.com> | |||||
* | gh-86493: Fix possible leaks in some modules initialization (GH-106768) | Serhiy Storchaka | 2023-07-18 | 8 | -45/+37 | |
| | | | | Fix _ssl, _stat, _testinternalcapi, _threadmodule, cmath, math, posix, time. | |||||
* | bpo-42327: C API: Add PyModule_Add() function (GH-23443) | Serhiy Storchaka | 2023-07-18 | 9 | -56/+61 | |
| | | | | | It is a fixed implementation of PyModule_AddObject() which consistently steals reference both on success and on failure. | |||||
* | gh-86493: Fix possible leaks in modules initialization: _curses_panel, ↵ | Serhiy Storchaka | 2023-07-18 | 4 | -55/+37 | |
| | | | | _decimal, posix, xxsubtype (GH-106767) | |||||
* | gh-106719: Fix __annotations__ getter and setter in the type and module ↵ | Serhiy Storchaka | 2023-07-18 | 3 | -47/+35 | |
| | | | | | types (GH-106720) No longer suppress arbitrary errors. Simplify the code. | |||||
* | gh-106843: fix memleak in _PyCompile_CleanDoc (#106846) | Inada Naoki | 2023-07-18 | 1 | -1/+4 | |
| | ||||||
* | Small fixes to code generator (#106845) | Guido van Rossum | 2023-07-18 | 3 | -15/+13 | |
| | | | | These repair nits I found in PR gh-106798 (issue gh-106797) and in PR gh-106716 (issue gh-106706). | |||||
* | gh-104683: Argument Clinic: Modernise parse_special_symbol() (#106837) | Erlend E. Aasland | 2023-07-17 | 1 | -56/+80 | |
| | | | Co-authored-by: Alex Waygood <Alex.Waygood@Gmail.com> | |||||
* | Add Erlend as CODEOWNER for Argument Clinic docs (#106840) | Erlend E. Aasland | 2023-07-17 | 1 | -0/+1 | |
| | ||||||
* | gh-106368: Increase Argument Clinic test coverage for cpp.Monitor (#106833) | Erlend E. Aasland | 2023-07-17 | 2 | -1/+180 | |
| | ||||||
* | gh-106831: Fix NULL check of d2i_SSL_SESSION() result in _ssl.c (#106832) | Nikita Sobolev | 2023-07-17 | 2 | -3/+6 | |
| | ||||||
* | gh-106603: Make uop struct a triple (opcode, oparg, operand) (#106794) | Guido van Rossum | 2023-07-17 | 9 | -109/+190 | |
| | ||||||
* | gh-61215: threadingmock: Improve test suite to avoid race conditions (#106822) | Mario Corchero | 2023-07-17 | 1 | -137/+58 | |
| | | | | | | | | threadingmock: Improve test suite to avoid race conditions Simplify tests and split them into multiple tests to prevent assertions from triggering race conditions. Additionally, we rely on calling the mocks without delay to validate the functionality of matching calls. | |||||
* | gh-106581: Add 10 new opcodes by allowing `assert(kwnames == NULL)` (#106707) | Guido van Rossum | 2023-07-17 | 7 | -34/+385 | |
| | | | | | | | | | | | | | By turning `assert(kwnames == NULL)` into a macro that is not in the "forbidden" list, many instructions that formerly were skipped because they contained such an assert (but no other mention of `kwnames`) are now supported in Tier 2. This covers 10 instructions in total (all specializations of `CALL` that invoke some C code): - `CALL_NO_KW_TYPE_1` - `CALL_NO_KW_STR_1` - `CALL_NO_KW_TUPLE_1` - `CALL_NO_KW_BUILTIN_O` - `CALL_NO_KW_BUILTIN_FAST` - `CALL_NO_KW_LEN` - `CALL_NO_KW_ISINSTANCE` - `CALL_NO_KW_METHOD_DESCRIPTOR_O` - `CALL_NO_KW_METHOD_DESCRIPTOR_NOARGS` - `CALL_NO_KW_METHOD_DESCRIPTOR_FAST` | |||||
* | gh-106529: Generate uops for POP_JUMP_IF_[NOT_]NONE (#106796) | Guido van Rossum | 2023-07-17 | 2 | -0/+47 | |
| | | | | | | | | These aren't automatically translated because (ironically) they are macros deferring to POP_JUMP_IF_{TRUE,FALSE}, which are not viable uops (being manually translated). The hack is that we emit IS_NONE and then set opcode and jump to the POP_JUMP_IF_{TRUE,FALSE} translation code. | |||||
* | gh-106687: _ssl: use uint64_t for SSL options (#106700) | Victor Stinner | 2023-07-17 | 2 | -26/+78 | |
| | | | | | | | | SSL_CTX_get_options() uses uint64_t for options: https://www.openssl.org/docs/man3.1/man3/SSL_CTX_get_options.html Fix this compiler warning on Windows with MSC: conversion from 'uint64_t' to 'long', possible loss of data | |||||
* | gh-104050: Improve Argument Clinic type annotation coverage (#106810) | Erlend E. Aasland | 2023-07-17 | 1 | -18/+31 | |
| | | | | | | | | | | | Add various missing annotations in the following classes: - BlockPrinter - CConverter - CLanguage - FormatCounterFormatter - Language - _TextAccumulator Co-authored-by: Alex Waygood <Alex.Waygood@Gmail.com> | |||||
* | gh-106789: avoid importing pprint from sysconfig (#106790) | Irit Katriel | 2023-07-17 | 3 | -21/+14 | |
| | ||||||
* | gh-106780: Add __match_args__ to tutorial example (#106784) | Terry Jan Reedy | 2023-07-17 | 1 | -1/+7 | |
| | | | | | Add Point definition with this attribute before example that needs it. | |||||
* | Add more recipe tests. Make the factor recipe a bit faster and clearer. ↵ | Raymond Hettinger | 2023-07-17 | 1 | -3/+8 | |
| | | | | (GH-106817) | |||||
* | gh-106797: Remove warning logs from Python/generated_cases.c.h (gh-106798) | Dong-hee Na | 2023-07-17 | 3 | -20/+24 | |
| | ||||||
* | gh-104050: Argument Clinic: Annotate Clinic.parse() (#106760) | Erlend E. Aasland | 2023-07-17 | 1 | -4/+13 | |
| | | | Co-authored-by: Alex Waygood <Alex.Waygood@Gmail.com> | |||||
* | gh-105540: Convert `pytest` tests of `cases_generator` to regular tests ↵ | Nikita Sobolev | 2023-07-16 | 2 | -163/+218 | |
| | | | | (#106713) | |||||
* | Fix the french used in the email documentation (GH-106279) | Jean-Baptiste Poupon | 2023-07-16 | 2 | -7/+7 | |
| | | | | | | * Fix the french used in the email documentation The french used in one of the example was either machine translated a while ago or written by someone who does not speak french. Fixed it by using grammatically correct french. | |||||
* | gh-105726: Add `__slots__` to `AbstractContextManager` and ↵ | Grigoriev Semyon | 2023-07-16 | 4 | -0/+29 | |
| | | | | | `AbstractAsyncContextManager` (#106771) Co-authored-by: Kumar Aditya <kumaraditya@python.org> | |||||
* | gh-106706: Streamline family syntax in cases generator DSL (#106716) | Kevin Diem | 2023-07-16 | 5 | -42/+31 | |
| | | | | From `family(opname, STRUCTSIZE) = OPNAME + SPEC1 + ... + SPECn;` to `family(OPNAME, STRUCTSIZE) = SPEC1 + ... + SPECn;` | |||||
* | Doc: fix section levels of devmode doc (#106801) | Inada Naoki | 2023-07-16 | 1 | -3/+3 | |
| | ||||||
* | Doc: devmode: add -Xdev option to example (#106253) | Simone Rubino | 2023-07-16 | 1 | -1/+1 | |
| | ||||||
* | Docs search: Replace jQuery with vanilla JavaScript (#106743) | Hugo van Kemenade | 2023-07-16 | 1 | -30/+44 | |
| | | | | * Replace jQuery with vanilla JavaScript * Switch 'var' to 'const' or 'let' | |||||
* | Docs: Normalize Argument Clinic How-To section capitalization (#106788) | Erlend E. Aasland | 2023-07-15 | 1 | -11/+18 | |
| | ||||||
* | faq/library: remove outdated section (#105996) | Mathieu Dupuy | 2023-07-15 | 1 | -35/+0 | |
| | ||||||
* | Add more examples to the recipe docs (GH-106782) | Raymond Hettinger | 2023-07-15 | 1 | -0/+2 | |
| | | | Demonstrate that factor() works for large composites and large primes. | |||||
* | gh-106752: Sync with zipp 3.16.2 (#106757) | Jason R. Coombs | 2023-07-15 | 6 | -27/+204 | |
| | | | | | * gh-106752: Sync with zipp 3.16.2 * Add blurb |