Commit message (Collapse) | Author | Age | Files | Lines | ||
---|---|---|---|---|---|---|
... | ||||||
* | gh-116764: Fix regressions in urllib.parse.parse_qsl() (GH-116801) | Serhiy Storchaka | 2024-03-16 | 3 | -1/+33 | |
| | | | | | | | | * Restore support of None and other false values. * Raise TypeError for non-zero integers and non-empty sequences. The regressions were introduced in gh-74668 (bdba8ef42b15e651dc23374a08143cc2b4c4657d). | |||||
* | gh-90535: Fix support of interval>1 in logging.TimedRotatingFileHandler ↵ | Serhiy Storchaka | 2024-03-16 | 3 | -35/+173 | |
| | | | | | | | (GH-116220) Fix support of interval values > 1 in logging.TimedRotatingFileHandler for when='MIDNIGHT' and when='Wx'. | |||||
* | gh-112536: Add TSAN builds on Github Actions (#116872) | Donghee Na | 2024-03-16 | 6 | -0/+93 | |
| | ||||||
* | gh-116858: Add `@cpython_only` to several tests in `test_cmd_line` (#116859) | Nikita Sobolev | 2024-03-16 | 1 | -0/+10 | |
| | ||||||
* | Minor kde() docstring nit: make presentation order match the function ↵ | Raymond Hettinger | 2024-03-15 | 1 | -1/+1 | |
| | | | | signature (#116876) | |||||
* | GH-115802: Reduce the size of _INIT_CALL_PY_EXACT_ARGS. (GH-116856) | Mark Shannon | 2024-03-15 | 3 | -72/+54 | |
| | ||||||
* | gh-116868: Avoid locking in PyType_IsSubtype (#116829) | Dino Viehland | 2024-03-15 | 1 | -32/+48 | |
| | | | Make PyType_IsSubType not acquire lock | |||||
* | gh-112536: Add --tsan test for reasonable TSAN execution times. (gh-116601) | Donghee Na | 2024-03-15 | 5 | -0/+39 | |
| | ||||||
* | gh-116782: Mention `__type_params__` in `inspect.getmembers` docs (#116783) | Nikita Sobolev | 2024-03-15 | 1 | -0/+10 | |
| | | | Co-authored-by: Jelle Zijlstra <jelle.zijlstra@gmail.com> | |||||
* | gh-116621: Specialize list.extend for dict keys/values (gh-116816) | Donghee Na | 2024-03-15 | 1 | -0/+37 | |
| | ||||||
* | gh-116735: Use `MISSING` for `CALL` event if argument is absent (GH-116737) | Tian Gao | 2024-03-15 | 4 | -3/+7 | |
| | ||||||
* | gh-63283: IDNA prefix should be case insensitive (GH-17726) | Zackery Spytz | 2024-03-15 | 3 | -3/+12 | |
| | | | | | | | | Any capitalization of "xn--" should be acceptable for the ACE prefix (see https://tools.ietf.org/html/rfc3490#section-5). Co-authored-by: Pepijn de Vos <pepijndevos@gmail.com> Co-authored-by: Erlend E. Aasland <erlend@python.org> Co-authored-by: Petr Viktorin <encukou@gmail.com> | |||||
* | gh-111926: Simplify proxy creation logic (#116844) | mpage | 2024-03-15 | 1 | -16/+3 | |
| | | | | | Since 3.12, allocating a GC-able object cannot trigger GC. This allows us to simplify the logic for creating the canonical callback-less proxy object. | |||||
* | gh-111926: Simplify weakref creation logic (#116843) | mpage | 2024-03-15 | 1 | -15/+5 | |
| | | | | | Since 3.12, allocating a GC object cannot immediately trigger GC. This allows us to simplify the logic for creating the canonical callback-less weakref. | |||||
* | GH-116422: Modify a few uops so that they can be supported by tier 2 with ↵ | Mark Shannon | 2024-03-15 | 4 | -55/+52 | |
| | | | | hot/cold splitting (GH-116832) | |||||
* | gh-90095: Ignore empty lines and comments in `.pdbrc` (#116834) | Tian Gao | 2024-03-15 | 4 | -2/+26 | |
| | ||||||
* | gh-85283: Build pwd extension with the limited C API (#116841) | Victor Stinner | 2024-03-15 | 5 | -12/+16 | |
| | | | | Argument Clinic now uses the PEP 737 "%T" format to format type name for the limited C API. | |||||
* | gh-116842: Improve test comment and fix a doctest (gh-116846) | Raymond Hettinger | 2024-03-15 | 1 | -2/+2 | |
| | ||||||
* | GH-113838: Add "Comparison to os.path" section to pathlib docs (#115926) | Barney Gale | 2024-03-15 | 1 | -19/+44 | |
| | ||||||
* | gh-116195: Implements a fast path for nt.getppid (GH-116205) | vxiiduu | 2024-03-14 | 2 | -2/+85 | |
| | | | | | Use the NtQueryInformationProcess system call to efficiently retrieve the parent process ID in a single step, rather than using the process snapshots API which retrieves large amounts of unnecessary information and is more prone to failure (since it makes heap allocations). Includes a fallback to the original win32_getppid implementation in case the unstable API appears to return strange results. | |||||
* | gh-111696, PEP 737: Add %T and %N to PyUnicode_FromFormat() (#116839) | Victor Stinner | 2024-03-14 | 7 | -2/+135 | |
| | ||||||
* | gh-116811: Ensure MetadataPathFinder.invalidate_caches is reachable when ↵ | Jason R. Coombs | 2024-03-14 | 3 | -0/+6 | |
| | | | | | | | | | delegated through PathFinder. (#116812) * Make MetadataPathFinder a proper classmethod. * In PathFinder.invalidate_caches, also invoke MetadataPathFinder.invalidate_caches. * Add blurb | |||||
* | gh-106531: Refresh zipfile._path with zipp 3.18. (#116835) | Jason R. Coombs | 2024-03-14 | 5 | -54/+159 | |
| | | | | | * gh-106531: Refresh zipfile._path with zipp 3.18. * Add blurb | |||||
* | Minor improvements to the itertools documentation (gh-116833) | Raymond Hettinger | 2024-03-14 | 1 | -84/+94 | |
| | ||||||
* | gh-111696, PEP 737: Add PyType_GetModuleName() function (#116824) | Victor Stinner | 2024-03-14 | 15 | -27/+48 | |
| | | | Co-authored-by: Eric Snow <ericsnowcurrently@gmail.com> | |||||
* | gh-113317, AC: Add libclinic.converter module (#116821) | Victor Stinner | 2024-03-14 | 4 | -601/+621 | |
| | | | | | * Move CConverter class to a new libclinic.converter module. * Move CRenderData and Include classes to a new libclinic.crenderdata module. | |||||
* | gh-112795: Move the test for ZipFile into the core tests for zipfile. (#116823) | Jason R. Coombs | 2024-03-14 | 2 | -12/+11 | |
| | | | Move the test for ZipFile into the core tests for zipfile. | |||||
* | GH-116422: Factor out eval breaker checks at end of calls into its own ↵ | Mark Shannon | 2024-03-14 | 7 | -371/+474 | |
| | | | | micro-op. (GH-116817) | |||||
* | gh-111696, PEP 737: Add PyType_GetFullyQualifiedName() function (#116815) | Victor Stinner | 2024-03-14 | 11 | -91/+158 | |
| | | | Rewrite tests on type names in Python, they were written in C. | |||||
* | gh-113317, AC: Add libclinic.block_parser module (#116819) | Victor Stinner | 2024-03-14 | 3 | -336/+361 | |
| | | | | | | * Move Block and BlockParser classes to a new libclinic.block_parser module. * Move Language and PythonLanguage classes to a new libclinic.language module. | |||||
* | gh-116731: libregrtest: Clear inspect & importlib.metadata caches in ↵ | Petr Viktorin | 2024-03-14 | 1 | -0/+9 | |
| | | | | | clear_caches (GH-116805) Co-authored-by: Jason R. Coombs <jaraco@jaraco.com> | |||||
* | gh-88494: Use QueryPerformanceCounter() for time.monotonic() (#116781) | Victor Stinner | 2024-03-14 | 4 | -138/+110 | |
| | | | | | On Windows, time.monotonic() now uses the QueryPerformanceCounter() clock to have a resolution better than 1 us, instead of the gGetTickCount64() clock which has a resolution of 15.6 ms. | |||||
* | CI: Only test free-threading with faster macOS M1 (#116814) | Hugo van Kemenade | 2024-03-14 | 2 | -4/+8 | |
| | | | Only test free-threading with faster macOS M1 | |||||
* | gh-113317, AC: Add libclinic.function (#116807) | Victor Stinner | 2024-03-14 | 4 | -241/+270 | |
| | | | | | | Move Module, Class, Function and Parameter classes to a new libclinic.function module. Move VersionTuple and Sentinels to libclinic.utils. | |||||
* | gh-116646, AC: Always use PyObject_AsFileDescriptor() in fildes (#116806) | Victor Stinner | 2024-03-14 | 4 | -48/+74 | |
| | | | | | | | The fildes converter of Argument Clinic now always call PyObject_AsFileDescriptor(), not only for the limited C API. The _PyLong_FileDescriptor_Converter() converter stays as a fallback when PyObject_AsFileDescriptor() cannot be used. | |||||
* | gh-116646, AC: Add CConverter.use_converter() method (#116793) | Victor Stinner | 2024-03-14 | 2 | -8/+36 | |
| | | | Only add includes when the converter is effectively used. | |||||
* | gh-85283: Build fcntl extension with the limited C API (#116791) | Victor Stinner | 2024-03-14 | 4 | -26/+48 | |
| | ||||||
* | gh-116780: Fix `test_inspect` in `-OO` mode (#116788) | Nikita Sobolev | 2024-03-14 | 1 | -0/+5 | |
| | ||||||
* | gh-90300: Fix undocumented envvars in the Python CLI help (GH-116765) | Serhiy Storchaka | 2024-03-14 | 1 | -0/+3 | |
| | ||||||
* | gh-113308: Remove some internal parts of `uuid` module (#115934) | Nikita Sobolev | 2024-03-14 | 3 | -22/+14 | |
| | | | Co-authored-by: Hugo van Kemenade <1324225+hugovk@users.noreply.github.com> | |||||
* | gh-116785: Fix direct invocation of `test_inspect` (#116787) | Nikita Sobolev | 2024-03-14 | 1 | -5/+5 | |
| | ||||||
* | gh-116646: Add limited C API support to AC fildes converter (#116769) | Victor Stinner | 2024-03-14 | 4 | -13/+98 | |
| | | | Add tests on the "fildes" converter to _testclinic_limited. | |||||
* | gh-113317, AC: Move warn() and fail() to libclinic.errors (#116770) | Victor Stinner | 2024-03-14 | 3 | -47/+51 | |
| | ||||||
* | GH-114736: Use WASI SDK 21 (GH-116771) | Brett Cannon | 2024-03-14 | 3 | -4/+5 | |
| | ||||||
* | GH-115983: skip building shared modules for testing under WASI (GH-116528) | Brett Cannon | 2024-03-13 | 3 | -0/+15 | |
| | ||||||
* | Docs: PyUnstable_Long_IsCompact() docs now mention PyLong_AsNativeBytes() ↵ | Sergey B Kirpichev | 2024-03-13 | 1 | -1/+1 | |
| | | | | (#116634) | |||||
* | Docs: fix spelling of the word 'transferring' (#116641) | guangwu | 2024-03-13 | 1 | -3/+3 | |
| | ||||||
* | gh-116760: Fix pystats for trace attempts (GH-116761) | Michael Droettboom | 2024-03-13 | 3 | -2/+1 | |
| | | | | | | | | There are now at least two bytecodes that may attempt to optimize, JUMP_BACK, and more recently, COLD_EXIT. Only the JUMP_BACK was counting the attempt in the stats. This moves that counter to uop_optimize itself so it should always happen no matter where it is called from. | |||||
* | gh-90300: Document equivalent -X options for envvars in the Python CLI help ↵ | Serhiy Storchaka | 2024-03-13 | 1 | -29/+31 | |
| | | | | (GH-116756) | |||||
* | GH-115979: update test_importlib to work under WASI SDK 21 (GH-116754) | Brett Cannon | 2024-03-13 | 8 | -28/+45 | |
| |