Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | gh-101100: Fix Sphinx warnings in `decimal` module (#102125) | Hugo van Kemenade | 2023-02-25 | 1 | -84/+84 |
| | | | | Co-authored-by: C.A.M. Gerlach <CAM.Gerlach@Gerlach.CAM> | ||||
* | GH-102126: fix deadlock at shutdown when clearing thread states (#102222) | Kumar Aditya | 2023-02-25 | 2 | -3/+11 |
| | |||||
* | gh-95675: fix uid and gid at test_add_dir_getmember (gh-102207) | SKO | 2023-02-25 | 2 | -6/+8 |
| | | | Co-authored-by: Seonkyo Ok <seonkyo.ok@linecorp.com> | ||||
* | gh-101765: Fix SystemError / segmentation fault in iter `__reduce__` when ↵ | Ionite | 2023-02-24 | 9 | -23/+148 |
| | | | | internal access of `builtins.__dict__` exhausts the iterator (#101769) | ||||
* | gh-102209: Disable the timeout in test_implied_dirs_performance. (#102225) | Jason R. Coombs | 2023-02-24 | 1 | -1/+2 |
| | | | Disable the timeout in test_implied_dirs_performance. Workaround for #102209 until I can work out a more robust test for linearity. | ||||
* | gh-102192: Replace PyErr_Fetch/Restore etc by more efficient alternatives ↵ | Irit Katriel | 2023-02-24 | 18 | -169/+136 |
| | | | | (in Modules/) (#102196) | ||||
* | gh-101476: Use _PyType_GetModuleState where applicable (#102188) | Erlend E. Aasland | 2023-02-24 | 9 | -15/+19 |
| | |||||
* | gh-102105 Fix wording in filterfalse/quantify/filter (GH-102189) | Stefan Pochmann | 2023-02-24 | 2 | -4/+4 |
| | |||||
* | Remove references to old Windows source files from internal documentation ↵ | Max Bachmann | 2023-02-24 | 1 | -5/+0 |
| | | | | (GH-102216) | ||||
* | gh-102141: replace use of getpid on Windows with GetCurrentProcessId (GH-102142) | Max Bachmann | 2023-02-24 | 4 | -7/+17 |
| | |||||
* | gh-81652: Add MAP_ALIGNED_SUPER FreeBSD and MAP_CONCEAL OpenBSD constants ↵ | Yeojin Kim | 2023-02-24 | 4 | -3/+20 |
| | | | | (gh-102191) | ||||
* | gh-102158: Add tests for `softkwlist` (#102159) | Eclips4 | 2023-02-24 | 1 | -0/+18 |
| | | | | | --------- Co-authored-by: Terry Jan Reedy <tjreedy@udel.edu> | ||||
* | Fix deadlock on shutdown if test_current_{exception,frames} fails (#102019) | Jacob Bower | 2023-02-23 | 2 | -73/+77 |
| | | | | | | | | | | | | | | | | * Don't deadlock on shutdown if test_current_{exception,frames} fails These tests spawn a thread that waits on a threading.Event. If the test fails any of its assertions, the Event won't be signaled and the thread will wait indefinitely, causing a deadlock when threading._shutdown() tries to join all outstanding threads. Co-authored-by: Brett Simmers <bsimmers@meta.com> * Add a news entry * Fix whitespace --------- Co-authored-by: Brett Simmers <bsimmers@meta.com> Co-authored-by: Oleg Iarygin <oleg@arhadthedev.net> | ||||
* | gh-101476: Add _PyType_GetModuleState (GH-101477) | Erlend E. Aasland | 2023-02-23 | 2 | -1/+18 |
| | | | For fast module state access from heap type methods. | ||||
* | gh-99108: Followup fix for Modules/Setup (GH-102183) | Jonathan Protzenko | 2023-02-23 | 1 | -2/+2 |
| | | | Automerge-Triggered-By: GH:erlend-aasland | ||||
* | gh-93649: Split exception tests from _testcapimodule.c (GH-102173) | Erlend E. Aasland | 2023-02-23 | 8 | -416/+434 |
| | | | Automerge-Triggered-By: GH:erlend-aasland | ||||
* | gh-101981: Consolidate macOS configure steps in CI (GH-102131) | Erlend E. Aasland | 2023-02-23 | 1 | -5/+3 |
| | | | Automerge-Triggered-By: GH:erlend-aasland | ||||
* | gh-102151: Correctly fetch CONFIG_ARGS in Tools/freeze/test/freeze.py (#102152) | Erlend E. Aasland | 2023-02-23 | 1 | -1/+1 |
| | |||||
* | bpo-23224: Fix segfaults and multiple leaks in the lzma and bz2 modules ↵ | Zackery Spytz | 2023-02-23 | 7 | -175/+288 |
| | | | | | | | | | | | | | (GH-7822) lzma.LZMADecompressor and bz2.BZ2Decompressor objects caused segfaults when their `__init__()` methods were not called. lzma.LZMADecompressor, lzma.LZMACompressor, bz2.BZ2Compressor, and bz2.BZ2Decompressor objects would leak locks and internal buffers when their `__init__()` methods were called multiple times. https://bugs.python.org/issue23224 | ||||
* | Fix typo in `Py_GetPythonHome` signature (#102168) | Tanner Firl | 2023-02-23 | 1 | -1/+1 |
| | |||||
* | gh-101578: Fixup NEWS and add What's New entry for new exception APIs (#102157) | Erlend E. Aasland | 2023-02-23 | 2 | -11/+26 |
| | |||||
* | GH-100719: Remove redundant `gi_code` field from generator object. (GH-100749) | Mark Shannon | 2023-02-23 | 9 | -61/+116 |
| | |||||
* | Revert "bpo-46978: Correct docstrings for in-place builtin operators #31802) ↵ | Irit Katriel | 2023-02-23 | 2 | -2/+1 |
| | | | | | | | (#102146) Revert "bpo-46978: Correct docstrings for in-place builtin operators (#31802)" This reverts commit 128379b8cdb88a6d3d7fed24df082c9a654b3fb8. | ||||
* | gh-87634: remove locking from functools.cached_property (GH-101890) | Carl Meyer | 2023-02-23 | 5 | -54/+35 |
| | | | Remove the undocumented locking capabilities of functools.cached_property. | ||||
* | Fix syntax error in struct doc example (#102160) | Terry Jan Reedy | 2023-02-22 | 1 | -1/+1 |
| | | | | Missing closing ) reported on Discuss by Chukwudi Nwachukwu. | ||||
* | gh-99108: Import MD5 and SHA1 from HACL* (#102089) | Jonathan Protzenko | 2023-02-22 | 24 | -699/+2498 |
| | | | Replaces our fallback non-OpenSSL MD5 and SHA1 implementations with those from HACL* as we've already done with SHA2. | ||||
* | GH-101777: `queue.rst`: use 2 spaces after a period to be consistent. (#102143) | Owain Davies | 2023-02-22 | 1 | -8/+8 |
| | |||||
* | Few coverage nitpicks for the cmath module (#102067) | Sergey B Kirpichev | 2023-02-22 | 3 | -2/+13 |
| | | | | | | | | | | | - partial tests for cosh/sinh overflows (L535 and L771). I doubt both ||-ed conditions could be tested. - removed inaccessible case in sqrt (L832): ax=ay=0 is handled above (L823) because fabs() is exact. Also added test (checked with mpmath and gmpy2) for second condition on that line. - some trivial tests for isclose (cover all conditions on L1217-1218) - add comment for uncovered L1018 Co-authored-by: Mark Dickinson <dickinsm@gmail.com> | ||||
* | GH-100982: Restrict `FOR_ITER_RANGE` to a single instruction to allow ↵ | Mark Shannon | 2023-02-22 | 4 | -30/+22 |
| | | | | instrumentation. (GH-101985) | ||||
* | gh-102135: Update turtle docs to rename wikipedia demo to rosette (#102137) | somebody | 2023-02-22 | 1 | -3/+3 |
| | |||||
* | gh-99942: python.pc on android/cygwin should link to libpython per ↵ | Eli Schwartz | 2023-02-22 | 2 | -1/+3 |
| | | | | | | | | | configure.ac (GH-100356) In commit 254b309c801f82509597e3d7d4be56885ef94c11 a previous change to avoid linking to libpython was partially reverted for Android (and later Cygwin as well), to add back the link flags. This was applied to distutils and to python-config.sh, but not to python.pc. Add it back to python.pc as well. Automerge-Triggered-By: GH:gpshead | ||||
* | gh-95672 fix typo SkitTest to SkipTest (gh-102119) | Hyunkyun Moon | 2023-02-21 | 3 | -2/+3 |
| | | | Co-authored-by: HyunKyun Moon <hyunkyun.moon@linecorp.com> | ||||
* | gh-101936: Update the default value of fp from io.StringIO to io.BytesIO ↵ | Vo Hoang Long | 2023-02-21 | 4 | -1/+5 |
| | | | | | (gh-102100) Co-authored-by: Long Vo <long.vo@linecorp.com> | ||||
* | gh-102008: simplify test_except_star by using sys.exception() instead of ↵ | Irit Katriel | 2023-02-21 | 1 | -25/+19 |
| | | | | sys.exc_info() (#102009) | ||||
* | gh-101903: Remove obsolete undefs for previously removed macros ↵ | Owain Davies | 2023-02-21 | 1 | -4/+0 |
| | | | | Py_EnterRecursiveCall and Py_LeaveRecursiveCall (#101923) | ||||
* | gh-100556: Improve clarity of `or` docs (#100589) | ram vikram singh | 2023-02-21 | 1 | -2/+2 |
| | | | Co-authored-by: Hugo van Kemenade <hugovk@users.noreply.github.com> | ||||
* | gh-101777: Make `PriorityQueue` docs slightly clearer (#102026) | Owain Davies | 2023-02-21 | 1 | -2/+2 |
| | | | | Adjust wording slightly, and use min(entries) instead of sorted(list(entries))[0] as an example. | ||||
* | gh-101965: Fix usage of Py_EnterRecursiveCall return value in ↵ | Owain Davies | 2023-02-21 | 1 | -2/+2 |
| | | | | | | | _bisectmodule.c (GH-101966) Closes #101965 Automerge-Triggered-By: GH:erlend-aasland | ||||
* | gh-101578: Amend exception docs (#102057) | Erlend E. Aasland | 2023-02-21 | 2 | -22/+25 |
| | | | Co-authored-by: C.A.M. Gerlach <CAM.Gerlach@Gerlach.CAM> | ||||
* | gh-101961 fileinput.hookcompressed should not set the encoding value for the ↵ | Gihwan Kim | 2023-02-21 | 4 | -12/+32 |
| | | | | binary mode (gh-102068) | ||||
* | gh-102056: Fix a few bugs in error handling of exception printing code (#102078) | Irit Katriel | 2023-02-20 | 3 | -7/+48 |
| | |||||
* | gh-102011: use sys.exception() instead of sys.exc_info() in docs where ↵ | Irit Katriel | 2023-02-20 | 6 | -32/+29 |
| | | | | possible (#102012) | ||||
* | gh-101566: Sync with zipp 3.14. (GH-102018) | Jason R. Coombs | 2023-02-20 | 6 | -56/+215 |
| | |||||
* | GH-99818: improve the documentation for zipfile.Path and Traversable (GH-101589) | Filipe Laíns | 2023-02-20 | 2 | -3/+7 |
| | | | Automerge-Triggered-By: GH:FFY00 | ||||
* | gh-88233: zipfile: handle extras after a zip64 extra (GH-96161) | Tim Hatch | 2023-02-20 | 3 | -0/+66 |
| | | | | | | | | | Previously, any data _after_ the zip64 extra would be removed. With many new tests. Fixes #88233 Automerge-Triggered-By: GH:jaraco | ||||
* | gh-101981: Apply HOMEBREW related environment variables (gh-102074) | Dong-hee Na | 2023-02-20 | 1 | -0/+3 |
| | |||||
* | gh-101907: Stop using `_Py_OPCODE` and `_Py_OPARG` macros (GH-101912) | Steve Dower | 2023-02-20 | 13 | -184/+200 |
| | | | | | | * gh-101907: Removes use of non-standard C++ extension from Include/cpython/code.h * Make cases_generator correct on Windows | ||||
* | gh-101819: Adapt _io types to heap types, batch 1 (GH-101949) | Erlend E. Aasland | 2023-02-20 | 10 | -478/+463 |
| | | | | | Adapt StringIO, TextIOWrapper, FileIO, Buffered*, and BytesIO types. Automerge-Triggered-By: GH:erlend-aasland | ||||
* | gh-101981: Build macOS as recommended by the devguide (GH-102070) | Erlend E. Aasland | 2023-02-20 | 1 | -3/+10 |
| | | | Automerge-Triggered-By: GH:erlend-aasland | ||||
* | gh-97786: Fix compiler warnings in pytime.c (#101826) | Mark Dickinson | 2023-02-20 | 2 | -6/+31 |
| | | | Fixes compiler warnings in pytime.c. |