Commit message (Collapse) | Author | Age | Files | Lines | ||
---|---|---|---|---|---|---|
... | ||||||
* | gh-106238: Handle KeyboardInterrupt during logging._acquireLock() (GH-106239) | Ariel Eizenberg | 2023-07-06 | 2 | -1/+6 | |
| | | | Co-authored-by: Ariel Eizenberg <ariel.eizenberg@pagaya.com> | |||||
* | Doc: Add missing ref labels to exception groups/notes sections (#106465) | C.A.M. Gerlach | 2023-07-06 | 2 | -0/+4 | |
| | ||||||
* | gh-105256: What's New note for comprehension over locals() (#106378) | Carl Meyer | 2023-07-06 | 1 | -0/+6 | |
| | ||||||
* | gh-105340: include hidden fast-locals in locals() (#105715) | Carl Meyer | 2023-07-05 | 8 | -42/+158 | |
| | | | * gh-105340: include hidden fast-locals in locals() | |||||
* | gh-106292: restore checking __dict__ in cached_property.__get__ (#106380) | Carl Meyer | 2023-07-05 | 3 | -10/+36 | |
| | | | | | * gh-106292: restore checking __dict__ in cached_property.__get__ Co-authored-by: Dong-hee Na <donghee.na92@gmail.com> | |||||
* | gh-96844: Improve error message of list.remove (gh-106455) | Dong-hee Na | 2023-07-05 | 4 | -5/+6 | |
| | ||||||
* | shlex docs: remove outdated note (#106463) | Jelle Zijlstra | 2023-07-05 | 1 | -6/+0 | |
| | | | As the versionchanged notice says, this note is no longer true on 3.12+. | |||||
* | gh-102542 Remove unused bytes object and bytes slicing (#106433) | JosephSBoyle | 2023-07-05 | 1 | -7/+4 | |
| | | | | | Remove unused bytes object and bytes slicing Co-authored-by: Shantanu <12621235+hauntsaninja@users.noreply.github.com> | |||||
* | Clarify state of CancelledError in doc (#106453) | Kristján Valur Jónsson | 2023-07-05 | 1 | -1/+1 | |
| | | | This change makes it explicit that asyncio.CancelledError is not a subclass of Exception. | |||||
* | gh-64595: Fix regression in file write logic in Argument Clinic (#106449) | Erlend E. Aasland | 2023-07-05 | 2 | -27/+15 | |
| | | | | | | | Revert the two commits that introduced the regressions: - gh-104152 - gh-104507 | |||||
* | gh-104683: Rename Lib/test/clinic.test as Lib/test/clinic.test.c (#106443) | Erlend E. Aasland | 2023-07-05 | 2 | -2/+3 | |
| | ||||||
* | tp_flags docs: fix indentation (#106420) | Jelle Zijlstra | 2023-07-05 | 1 | -9/+9 | |
| | ||||||
* | gh-104050: Partially annotate Argument Clinic CLanguage class (#106437) | Erlend E. Aasland | 2023-07-04 | 1 | -6/+19 | |
| | | | Co-authored-by: Alex Waygood <Alex.Waygood@Gmail.com> | |||||
* | gh-106368: Add tests for formatting helpers in Argument Clinic (#106415) | Erlend E. Aasland | 2023-07-04 | 1 | -0/+164 | |
| | | | Co-authored-by: Alex Waygood <Alex.Waygood@Gmail.com> | |||||
* | gh-104050: Annotate Argument Clinic parameter permutation helpers (#106431) | Erlend E. Aasland | 2023-07-04 | 1 | -7/+24 | |
| | | | Co-authored-by: Alex Waygood <Alex.Waygood@Gmail.com> | |||||
* | gh-104050: Annotate toplevel functions in clinic.py (#106435) | Erlend E. Aasland | 2023-07-04 | 1 | -16/+47 | |
| | | | Co-authored-by: Alex Waygood <Alex.Waygood@Gmail.com> | |||||
* | gh-106320: Fix specialize.c compilation by including pycore_pylifecycle.h ↵ | Guido van Rossum | 2023-07-04 | 1 | -0/+1 | |
| | | | | | (#106434) Compilation of Python/specialize.c was broken on macOS for me by gh-106400. | |||||
* | Add some codeowners for `Tools/clinic/` (#106430) | Alex Waygood | 2023-07-04 | 1 | -0/+4 | |
| | | | Co-authored-by: Erlend E. Aasland <erlend.aasland@protonmail.com> | |||||
* | gh-106217: Truncate the issue body size of `new-bugs-announce-notifier` ↵ | Nikita Sobolev | 2023-07-04 | 1 | -1/+1 | |
| | | | | (#106423) | |||||
* | gh-61215: Rename `wait_until_any_call` to `wait_until_any_call_with` (#106414) | Mario Corchero | 2023-07-04 | 3 | -28/+28 | |
| | | | | | | mock: Rename `wait_until_any_call` to `wait_until_any_call_with` Rename the method to be more explicit that it expects the args and kwargs to wait for. | |||||
* | gh-106162: array: suppress warning in test_array (#106404) | Inada Naoki | 2023-07-04 | 1 | -0/+8 | |
| | | | array: suppress warning in test_array | |||||
* | gh-106320: Remove _PyInterpreterState_HasFeature() (#106425) | Victor Stinner | 2023-07-04 | 2 | -32/+32 | |
| | | | | | Remove the _PyInterpreterState_HasFeature() function from the C API: move it to the internal C API (pycore_interp.h). No longer export the function. | |||||
* | GH-106360: Support very basic superblock introspection (#106422) | Mark Shannon | 2023-07-04 | 8 | -14/+130 | |
| | | | * Add len() and indexing support to uop superblocks. | |||||
* | gh-106406: Fix _Py_IsInterpreterFinalizing() in _winapi.c (#106408) | Nikita Sobolev | 2023-07-04 | 1 | -0/+1 | |
| | ||||||
* | gh-106396: Special-case empty format spec to gen empty JoinedStr node (#106401) | Lysandros Nikolaou | 2023-07-04 | 3 | -0/+33 | |
| | ||||||
* | gh-106368: Add tests for permutation helpers in Argument Clinic (#106407) | Erlend E. Aasland | 2023-07-04 | 2 | -2/+108 | |
| | | | Added new test class PermutationTests() | |||||
* | GH-106008: Fix refleak when peepholing `None` comparisons (#106367) | Brandt Bucher | 2023-07-04 | 2 | -1/+3 | |
| | ||||||
* | gh-106320: Remove private pylifecycle.h functions (#106400) | Victor Stinner | 2023-07-04 | 19 | -76/+104 | |
| | | | | | | | Remove private pylifecycle.h functions: move them to the internal C API ( pycore_atexit.h, pycore_pylifecycle.h and pycore_signal.h). No longer export most of these functions. Move _testcapi.test_atexit() to _testinternalcapi. | |||||
* | gh-106320: Remove _PyUnicode_TransformDecimalAndSpaceToASCII() (#106398) | Victor Stinner | 2023-07-04 | 6 | -50/+56 | |
| | | | | | | | | Remove private _PyUnicode_TransformDecimalAndSpaceToASCII() and other private _PyUnicode C API functions: move them to the internal C API (pycore_unicodeobject.h). No longer most of these functions. Replace _testcapi.unicode_transformdecimalandspacetoascii() with _testinternal._PyUnicode_TransformDecimalAndSpaceToASCII(). | |||||
* | gh-106320: Remove _PyBytesWriter C API (#106399) | Victor Stinner | 2023-07-04 | 5 | -82/+86 | |
| | | | | Remove the _PyBytesWriter C API: move it to the internal C API (pycore_bytesobject.h). | |||||
* | gh-106320: Remove private _PyUnicode codecs C API functions (#106385) | Victor Stinner | 2023-07-04 | 3 | -106/+101 | |
| | | | | | Remove private _PyUnicode codecs C API functions: move them to the internal C API (pycore_unicodeobject.h). No longer export most of these functions. | |||||
* | gh-106368: Increase Argument Clinic test coverage (#106389) | Erlend E. Aasland | 2023-07-03 | 1 | -0/+24 | |
| | | | | | | Add: - test_disallowed_gropuing__no_matching_bracket - test_double_slash | |||||
* | gh-106320: Fix _PyImport_GetModuleAttr() declaration (#106386) | Victor Stinner | 2023-07-03 | 1 | -2/+2 | |
| | | | Replace PyAPI_DATA() with PyAPI_FUNC(). | |||||
* | gh-106368: Harden Argument Clinic parser tests (#106384) | Erlend E. Aasland | 2023-07-03 | 1 | -42/+68 | |
| | ||||||
* | gh-106320: Remove private _PyImport C API functions (#106383) | Victor Stinner | 2023-07-03 | 8 | -22/+46 | |
| | | | | | | * Remove private _PyImport C API functions: move them to the internal C API (pycore_import.h). * No longer export most of these private functions. * _testcapi avoids private _PyImport_GetModuleAttrString(). | |||||
* | gh-86085: Remove _PyCodec_Forget() declaration (#106377) | Victor Stinner | 2023-07-03 | 1 | -2/+0 | |
| | | | | The code was already removed by: commit c9f696cb96d1c362d5cad871f61da520572d9b08. | |||||
* | gh-106320: Remove more private _PyUnicode C API functions (#106382) | Victor Stinner | 2023-07-03 | 3 | -70/+70 | |
| | | | | | | Remove more private _PyUnicode C API functions: move them to the internal C API (pycore_unicodeobject.h). No longer export most pycore_unicodeobject.h functions. | |||||
* | gh-104050: Annotate more Argument Clinic DSLParser state methods (#106376) | Erlend E. Aasland | 2023-07-03 | 1 | -9/+19 | |
| | | | | | | | | Annotate the following methods: - state_parameter() - state_parameter_docstring_start() Co-authored-by: Alex Waygood <Alex.Waygood@Gmail.com> | |||||
* | gh-106368: Clean up Argument Clinic tests (#106373) | Erlend E. Aasland | 2023-07-03 | 1 | -356/+440 | |
| | ||||||
* | gh-104683: Modernise Argument Clinic parameter state machine (#106362) | Erlend E. Aasland | 2023-07-03 | 1 | -51/+78 | |
| | | | | | Use enums and pattern matching to make the code more readable. Co-authored-by: Alex Waygood <Alex.Waygood@Gmail.com> | |||||
* | Small speed-up for the convolve() recipe. (GH-106371) | Raymond Hettinger | 2023-07-03 | 1 | -2/+2 | |
| | ||||||
* | GH-106330: Fix matching of empty path in `pathlib.PurePath.match()` (GH-106331) | Barney Gale | 2023-07-03 | 3 | -2/+12 | |
| | | | | | We match paths using the `_lines` attribute, which is derived from the path's string representation. The bug arises because an empty path's string representation is `'.'` (not `''`), which is matched by the `'*'` wildcard. | |||||
* | GH-104584: Fix ENTER_EXECUTOR (GH-106141) | Mark Shannon | 2023-07-03 | 8 | -269/+272 | |
| | | | | | | * Check eval-breaker in ENTER_EXECUTOR. * Make sure that frame->prev_instr is set before entering executor. | |||||
* | gh-106368: Increase Argument Clinic test coverage (#106369) | Erlend E. Aasland | 2023-07-03 | 1 | -0/+57 | |
| | | | Add tests for 'self' and 'defining_class' converter requirements. | |||||
* | gh-106078: Move `context template` to decimal module global state (#106346) | Charlie Zhao | 2023-07-03 | 2 | -32/+30 | |
| | ||||||
* | gh-106290: Fix edge cases around uops (#106319) | Guido van Rossum | 2023-07-03 | 7 | -234/+274 | |
| | | | | | | | | | | - Tweak uops debugging output - Fix the bug from gh-106290 - Rename `SET_IP` to `SAVE_IP` (per https://github.com/faster-cpython/ideas/issues/558) - Add a `SAVE_IP` uop at the start of the trace (ditto) - Allow `unbound_local_error`; this gives us uops for `LOAD_FAST_CHECK`, `LOAD_CLOSURE`, and `DELETE_FAST` - Longer traces - Support `STORE_FAST_LOAD_FAST`, `STORE_FAST_STORE_FAST` - Add deps on pycore_uops.h to Makefile(.pre.in) | |||||
* | gh-91053: make func watcher tests resilient to other func watchers (#106286) | Carl Meyer | 2023-07-03 | 1 | -12/+11 | |
| | ||||||
* | gh-104050: Add more type hints to Argument Clinic DSLParser() (#106354) | Erlend E. Aasland | 2023-07-03 | 1 | -8/+11 | |
| | | | Co-authored-by: Alex Waygood <Alex.Waygood@Gmail.com> | |||||
* | gh-106359: Fix corner case bugs in Argument Clinic converter parser (#106361) | Erlend E. Aasland | 2023-07-03 | 3 | -7/+27 | |
| | | | | | DSLParser.parse_converter() could return unusable kwdicts in some rare cases Co-authored-by: Alex Waygood <Alex.Waygood@Gmail.com> | |||||
* | gh-104146: Remove unused attr 'parameter_indent' from clinic.DLParser (#106358) | Erlend E. Aasland | 2023-07-03 | 1 | -1/+0 | |
| |