Commit message (Collapse) | Author | Age | Files | Lines | ||
---|---|---|---|---|---|---|
... | ||||||
* | gh-107450: Fix testMemoryErrorBigSource using the bigmemtest decorator ↵ | Lysandros Nikolaou | 2023-10-13 | 1 | -1/+1 | |
| | | | | (GH-110810) | |||||
* | gh-110525: Delete `test_c_api` method from `set` object (#110688) | Nikita Sobolev | 2023-10-13 | 4 | -158/+4 | |
| | ||||||
* | gh-107450: Fix parser column offset overflow test on Windows (#110768) | Lysandros Nikolaou | 2023-10-13 | 1 | -1/+3 | |
| | | | Co-authored-by: Nikita Sobolev <mail@sobolevn.me> | |||||
* | GH-110796: fix intermittent test failure in test_current_exceptions | Filipe Laíns | 2023-10-13 | 1 | -6/+3 | |
| | ||||||
* | GH-110786: suppress BrokenPipeError on the sysconfig CLI (#110791) | Filipe Laíns | 2023-10-13 | 2 | -1/+6 | |
| | ||||||
* | GH-103480: fix sysconfig package not being installed (#110792) | Filipe Laíns | 2023-10-13 | 1 | -0/+1 | |
| | ||||||
* | gh-109693: Update _gil_runtime_state.last_holder to use pyatomic.h (#110605) | Donghee Na | 2023-10-13 | 2 | -9/+9 | |
| | ||||||
* | GH-103480: make sysconfig a package (GH-110785) | Filipe Laíns | 2023-10-12 | 4 | -229/+250 | |
| | ||||||
* | gh-110782: Fix crash when TypeVar is constructed with keyword args (#110784) | Jelle Zijlstra | 2023-10-12 | 3 | -18/+28 | |
| | ||||||
* | Remove unnecessary escape in Doc/library/enum.rst (GH-110780) | InSync | 2023-10-12 | 1 | -1/+1 | |
| | ||||||
* | gh-109653: Improve the import time of `email.utils` (#109824) | Alex Waygood | 2023-10-12 | 2 | -5/+11 | |
| | ||||||
* | gh-110721: Use the traceback module for PyErr_Display() and fallback to the ↵ | Pablo Galindo Salgado | 2023-10-12 | 7 | -837/+146 | |
| | | | | C implementation (#110702) | |||||
* | gh-94597: Add asyncio.EventLoop (#110723) | Thomas Grainger | 2023-10-12 | 6 | -5/+30 | |
| | | | This is needed to pave the way for deprecating and eventually killing the event loop policy system (which is over-engineered and rarely used). | |||||
* | gh-110752: Reset `ceval.eval_breaker` to 0 in `interpreter_clear` (GH-110753) | Tian Gao | 2023-10-12 | 2 | -0/+5 | |
| | ||||||
* | gh-109409: Fix inheritance of frozen dataclass from non-frozen dataclass ↵ | Nikita Sobolev | 2023-10-12 | 3 | -4/+107 | |
| | | | | | | mixins (gh-109437) Fix inheritance of frozen dataclass from non-frozen dataclass mixins | |||||
* | gh-109094: remove redundant arg to _PyFrame_PushTrampolineUnchecked (GH-110759) | Irit Katriel | 2023-10-12 | 3 | -4/+4 | |
| | ||||||
* | GH-109214: Convert _SAVE_CURRENT_IP to _SET_IP in tier 2 trace creation. ↵ | Mark Shannon | 2023-10-12 | 8 | -59/+22 | |
| | | | | (GH-110755) | |||||
* | gh-107450: Raise OverflowError when parser column offset overflows (#110754) | Lysandros Nikolaou | 2023-10-12 | 2 | -0/+10 | |
| | ||||||
* | gh-110696: Fix incorrect syntax error message for incorrect argument ↵ | Pablo Galindo Salgado | 2023-10-12 | 4 | -1134/+1500 | |
| | | | | unpacking (#110706) | |||||
* | gh-71587: Establish global state in `_datetime` (#110475) | Erlend E. Aasland | 2023-10-12 | 2 | -145/+173 | |
| | | | | | | | | * Use explicit initialiser for m_base * Add module state stub; establish global state on stack * Put conversion factors in state struct * Move PyDateTime_TimeZone_UTC to state * Move PyDateTime_Epoch to state struct * Fix ref leaks in and clean up initialisation | |||||
* | gh-106193: Rename and fix duplicated tests in `test_monitoring` (GH-109139) | Hugo van Kemenade | 2023-10-12 | 1 | -7/+7 | |
| | ||||||
* | gh-104169: Fix test_peg_generator after tokenizer refactoring (#110727) | Lysandros Nikolaou | 2023-10-12 | 10 | -14/+24 | |
| | | | | * Fix test_peg_generator after tokenizer refactoring * Remove references to tokenizer.c in comments etc. | |||||
* | GH-110749: fix unistd.h import in file_tokenizer.c (#110750) | Filipe Laíns | 2023-10-12 | 1 | -4/+4 | |
| | ||||||
* | gh-110682: Ignore `__match_args__` from `__instancecheck__` in protocols ↵ | Nikita Sobolev | 2023-10-12 | 3 | -1/+39 | |
| | | | | | (#110683) Co-authored-by: Alex Waygood <Alex.Waygood@Gmail.com> | |||||
* | gh-85283: _stat extension now uses the limited C API (#110711) | Victor Stinner | 2023-10-11 | 3 | -0/+9 | |
| | | | | | gh-85283: _stat extension uses the limited C API The _stat C extension is now built with the limited C API. | |||||
* | gh-110673: test_pty raises on short write (#110677) | Victor Stinner | 2023-10-11 | 1 | -5/+14 | |
| | | | | | Add write_all() helper function to test_pty to raise an exception on short write: if os.writes() does not write all bytes. It should not happen for a PTY. | |||||
* | gh-110733: Micro-optimization in BaseEventLoop._run_once (#110735) | J. Nick Koston | 2023-10-11 | 2 | -2/+6 | |
| | ||||||
* | gh-110631: Fix reST indentation in `Doc/reference` (#110708) | Ezio Melotti | 2023-10-11 | 4 | -77/+79 | |
| | | | Fix wrong indentation in the Doc/reference dir. | |||||
* | gh-85283: If Py_LIMITED_API is defined, undefine Py_BUILD_CORE (#110725) | Victor Stinner | 2023-10-11 | 3 | -4/+17 | |
| | | | | | | | | | | | If the Py_LIMITED_API macro is defined, Py_BUILD_CORE, Py_BUILD_CORE_BUILTIN and Py_BUILD_CORE_MODULE macros are now undefined by Python.h. Only undefine these 3 macros after including "exports.h" which uses them to define PyAPI_FUNC(), PyAPI_DATA() and PyMODINIT_FUNC macros. Remove hacks (undefine manually the 3 Py_BUILD_CORE macros) in Modules/_testcapi/parts.h and Modules/_testclinic_limited.c. | |||||
* | gh-110631: Fix reST indentation (#110724) | Ezio Melotti | 2023-10-11 | 8 | -59/+57 | |
| | | | | | * Fix wrong indentation in the other dirs. * Fix more wrong indentation. | |||||
* | gh-110631: Fix reST indentation in `Doc/library` (#110685) | Ezio Melotti | 2023-10-11 | 34 | -926/+933 | |
| | | | Fix wrong indentation in the Doc/library dir. | |||||
* | gh-65052: Prevent pdb from crashing when trying to display objects (#110578) | Tian Gao | 2023-10-11 | 3 | -7/+62 | |
| | ||||||
* | gh-109408: Revert pre-commit whitespace checks pending portable solution ↵ | Hugo van Kemenade | 2023-10-11 | 2 | -34/+110 | |
| | | | | (#110726) | |||||
* | gh-110313: Revert "gh-90108: Disable LTO on _freeze_module and _teste… ↵ | Victor Stinner | 2023-10-11 | 1 | -2/+2 | |
| | | | | | | | (#110720) gh-110313: Revert "gh-90108: Disable LTO on _freeze_module and _testembed (#109581)" This reverts commit 3e3a7da590e1c3e5f03802e538f26c5204889c82. | |||||
* | gh-104169: Refactor tokenizer into lexer and wrappers (#110684) | Lysandros Nikolaou | 2023-10-11 | 29 | -2988/+3185 | |
| | | | | | | | | | | | * The lexer, which include the actual lexeme producing logic, goes into the `lexer` directory. * The wrappers, one wrapper per input mode (file, string, utf-8, and readline), go into the `tokenizer` directory and include logic for creating a lexer instance and managing the buffer for different modes. --------- Co-authored-by: Pablo Galindo <pablogsal@gmail.com> Co-authored-by: blurb-it[bot] <43283697+blurb-it[bot]@users.noreply.github.com> | |||||
* | gh-110289: C API: Add PyUnicode_EqualToUTF8() and ↵ | Serhiy Storchaka | 2023-10-11 | 11 | -0/+280 | |
| | | | | PyUnicode_EqualToUTF8AndSize() functions (GH-110297) | |||||
* | GH-107518: Remove the Argument Clinic How-To (#109900) | Adam Turner | 2023-10-11 | 7 | -2068/+18 | |
| | | | | | * Remove the content of the Argument Clinic HOWTO * Update cross-references to the Argument Clinic * Add a note directing readers to the devguide | |||||
* | gh-84489: Properly handle trailing spaces in Py_BuildValue() format strings ↵ | Zackery Spytz | 2023-10-11 | 3 | -35/+40 | |
| | | | | | | | | | (GH-21158) The docs state that the space, tab, colon, and comma characters are ignored in Py_BuildValue() format strings. Co-authored-by: Serhiy Storchaka <storchaka@gmail.com> | |||||
* | gh-76106: Remove the cleanup lock in test_socket (GH-110539) | Serhiy Storchaka | 2023-10-11 | 1 | -24/+2 | |
| | | | | | It does not already work (because it locks only addCleanup(), not doCleanups()), and it is no longer needed since the clean up procedure waits for all test threads to join. | |||||
* | gh-84489: C API: Add tests for Py_BuildValue() (GH-110596) | Serhiy Storchaka | 2023-10-11 | 2 | -0/+117 | |
| | ||||||
* | gh-110631: fix wrong indentation in the `Doc/whatsnew` dir (#110632) | Ezio Melotti | 2023-10-11 | 7 | -222/+222 | |
| | | | Fix wrong indentation in the Doc/whatsnew dir. | |||||
* | GH-110488: Fix two small issues in `pathlib.PurePath.with_name()` (#110651) | Barney Gale | 2023-10-11 | 3 | -6/+15 | |
| | | | | | | Ensure that `PurePath('foo/a').with_name('.')` raises `ValueError` Ensure that `PureWindowsPath('foo/a').with_name('a:b')` does not raise `ValueError`. | |||||
* | gh-110662: multiprocessing test_async_timeout() increase timeout (#110663) | Victor Stinner | 2023-10-11 | 1 | -1/+1 | |
| | | | | Increase timeout from 1 second to 30 seconds, if not longer. The important part is that apply_async() takes longer than TIMEOUT2. | |||||
* | gh-110666: Fix multiprocessing test_terminate() elapsed (#110667) | Victor Stinner | 2023-10-11 | 1 | -20/+15 | |
| | | | | | | multiprocessing test_terminate() and test_wait_socket_slow() no longer test the CI performance: no longer check maximum elapsed time. Add CLOCK_RES constant: tolerate a difference of 100 ms. | |||||
* | gh-110656: Fix logging test_post_fork_child_no_deadlock() if ASAN (#110657) | Victor Stinner | 2023-10-11 | 4 | -10/+15 | |
| | | | | | Skip test_post_fork_child_no_deadlock() if Python is built with ASAN. Add support.HAVE_ASAN_FORK_BUG. | |||||
* | gh-108277: test_os tolerates 1 ms diff for timerfd (#110661) | Victor Stinner | 2023-10-11 | 1 | -2/+2 | |
| | ||||||
* | gh-110647: Fix signal test_stress_modifying_handlers() (#110650) | Victor Stinner | 2023-10-10 | 2 | -2/+4 | |
| | | | | * cycle_handlers() now waits until at least one signal is received. * num_received_signals can be equal to num_sent_signals. | |||||
* | GH-110109: Simplify pathlib test setup (#110308) | Barney Gale | 2023-10-10 | 1 | -76/+42 | |
| | | | Use the class under test to create files, directories and symlinks. | |||||
* | gh-108826: Document `dis` module CLI and rename `_test` function to `main` ↵ | Radislav Chugunov | 2023-10-10 | 4 | -4/+30 | |
| | | | | | | | (#108827) Co-authored-by: Hugo van Kemenade <hugovk@users.noreply.github.com> Co-authored-by: blurb-it[bot] <43283697+blurb-it[bot]@users.noreply.github.com> | |||||
* | gh-108303: Move all inspect test files to `test_inspect/` (#109607) | Nikita Sobolev | 2023-10-10 | 11 | -7/+15 | |
| |