Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | gh-110803: Reorganize docs for what PyType_Slot doesn't cover (GH-110813) | Petr Viktorin | 2023-10-13 | 2 | -15/+32 |
| | | | | | | | | | | | * gh-110803: Reorganize docs for what PyType_Slot doesn't cover - Cover the offset fields first - Mention the old alternative for MANAGED flags, which is needed to support older Pythons - De-emphasize the internal flags: use an inline list. - Add a note to PyMemberDef saying what to do with it * Remove an older draft... | ||||
* | Merge branch 'main' of https://github.com/python/cpython | Thomas Wouters | 2023-10-13 | 13 | -20/+195 |
|\ | |||||
| * | gh-110805: Fix test_peg_generator after the change in the parser for REPL ↵ | Pablo Galindo Salgado | 2023-10-13 | 1 | -1/+1 |
| | | | | | | | | | | tracebacks (#110814) Fix test_peg_generator after the change in the parser for REPL tracebacks | ||||
| * | gh-110805: Allow the repl to show source code and complete tracebacks (#110775) | Pablo Galindo Salgado | 2023-10-13 | 11 | -19/+191 |
| | | |||||
| * | gh-106212: Raise when using c-analyzer with clang on darwin (#110757) | Lysandros Nikolaou | 2023-10-13 | 1 | -0/+3 |
| | | |||||
* | | Post 3.13.0a1 | Thomas Wouters | 2023-10-13 | 1 | -1/+1 |
| | | |||||
* | | Python 3.13.0a1v3.13.0a1 | Thomas Wouters | 2023-10-13 | 638 | -2806/+8653 |
|/ | |||||
* | Fix the pyspecific SOURCE_URI (#110811) | T. Wouters | 2023-10-13 | 1 | -1/+1 |
| | |||||
* | 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`. |