summaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeFilesLines
* gh-110803: Reorganize docs for what PyType_Slot doesn't cover (GH-110813)Petr Viktorin2023-10-132-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/cpythonThomas Wouters2023-10-1313-20/+195
|\
| * gh-110805: Fix test_peg_generator after the change in the parser for REPL ↵Pablo Galindo Salgado2023-10-131-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 Salgado2023-10-1311-19/+191
| |
| * gh-106212: Raise when using c-analyzer with clang on darwin (#110757)Lysandros Nikolaou2023-10-131-0/+3
| |
* | Post 3.13.0a1Thomas Wouters2023-10-131-1/+1
| |
* | Python 3.13.0a1v3.13.0a1Thomas Wouters2023-10-13638-2806/+8653
|/
* Fix the pyspecific SOURCE_URI (#110811)T. Wouters2023-10-131-1/+1
|
* gh-107450: Fix testMemoryErrorBigSource using the bigmemtest decorator ↵Lysandros Nikolaou2023-10-131-1/+1
| | | | (GH-110810)
* gh-110525: Delete `test_c_api` method from `set` object (#110688)Nikita Sobolev2023-10-134-158/+4
|
* gh-107450: Fix parser column offset overflow test on Windows (#110768)Lysandros Nikolaou2023-10-131-1/+3
| | | Co-authored-by: Nikita Sobolev <mail@sobolevn.me>
* GH-110796: fix intermittent test failure in test_current_exceptionsFilipe Laíns2023-10-131-6/+3
|
* GH-110786: suppress BrokenPipeError on the sysconfig CLI (#110791)Filipe Laíns2023-10-132-1/+6
|
* GH-103480: fix sysconfig package not being installed (#110792)Filipe Laíns2023-10-131-0/+1
|
* gh-109693: Update _gil_runtime_state.last_holder to use pyatomic.h (#110605)Donghee Na2023-10-132-9/+9
|
* GH-103480: make sysconfig a package (GH-110785)Filipe Laíns2023-10-124-229/+250
|
* gh-110782: Fix crash when TypeVar is constructed with keyword args (#110784)Jelle Zijlstra2023-10-123-18/+28
|
* Remove unnecessary escape in Doc/library/enum.rst (GH-110780)InSync2023-10-121-1/+1
|
* gh-109653: Improve the import time of `email.utils` (#109824)Alex Waygood2023-10-122-5/+11
|
* gh-110721: Use the traceback module for PyErr_Display() and fallback to the ↵Pablo Galindo Salgado2023-10-127-837/+146
| | | | C implementation (#110702)
* gh-94597: Add asyncio.EventLoop (#110723)Thomas Grainger2023-10-126-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 Gao2023-10-122-0/+5
|
* gh-109409: Fix inheritance of frozen dataclass from non-frozen dataclass ↵Nikita Sobolev2023-10-123-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 Katriel2023-10-123-4/+4
|
* GH-109214: Convert _SAVE_CURRENT_IP to _SET_IP in tier 2 trace creation. ↵Mark Shannon2023-10-128-59/+22
| | | | (GH-110755)
* gh-107450: Raise OverflowError when parser column offset overflows (#110754)Lysandros Nikolaou2023-10-122-0/+10
|
* gh-110696: Fix incorrect syntax error message for incorrect argument ↵Pablo Galindo Salgado2023-10-124-1134/+1500
| | | | unpacking (#110706)
* gh-71587: Establish global state in `_datetime` (#110475)Erlend E. Aasland2023-10-122-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 Kemenade2023-10-121-7/+7
|
* gh-104169: Fix test_peg_generator after tokenizer refactoring (#110727)Lysandros Nikolaou2023-10-1210-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íns2023-10-121-4/+4
|
* gh-110682: Ignore `__match_args__` from `__instancecheck__` in protocols ↵Nikita Sobolev2023-10-123-1/+39
| | | | | (#110683) Co-authored-by: Alex Waygood <Alex.Waygood@Gmail.com>
* gh-85283: _stat extension now uses the limited C API (#110711)Victor Stinner2023-10-113-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 Stinner2023-10-111-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 Koston2023-10-112-2/+6
|
* gh-110631: Fix reST indentation in `Doc/reference` (#110708)Ezio Melotti2023-10-114-77/+79
| | | Fix wrong indentation in the Doc/reference dir.
* gh-85283: If Py_LIMITED_API is defined, undefine Py_BUILD_CORE (#110725)Victor Stinner2023-10-113-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 Melotti2023-10-118-59/+57
| | | | | * Fix wrong indentation in the other dirs. * Fix more wrong indentation.
* gh-110631: Fix reST indentation in `Doc/library` (#110685)Ezio Melotti2023-10-1134-926/+933
| | | Fix wrong indentation in the Doc/library dir.
* gh-65052: Prevent pdb from crashing when trying to display objects (#110578)Tian Gao2023-10-113-7/+62
|
* gh-109408: Revert pre-commit whitespace checks pending portable solution ↵Hugo van Kemenade2023-10-112-34/+110
| | | | (#110726)
* gh-110313: Revert "gh-90108: Disable LTO on _freeze_module and _teste… ↵Victor Stinner2023-10-111-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 Nikolaou2023-10-1129-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 Storchaka2023-10-1111-0/+280
| | | | PyUnicode_EqualToUTF8AndSize() functions (GH-110297)
* GH-107518: Remove the Argument Clinic How-To (#109900)Adam Turner2023-10-117-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 Spytz2023-10-113-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 Storchaka2023-10-111-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 Storchaka2023-10-112-0/+117
|
* gh-110631: fix wrong indentation in the `Doc/whatsnew` dir (#110632)Ezio Melotti2023-10-117-222/+222
| | | Fix wrong indentation in the Doc/whatsnew dir.
* GH-110488: Fix two small issues in `pathlib.PurePath.with_name()` (#110651)Barney Gale2023-10-113-6/+15
| | | | | | Ensure that `PurePath('foo/a').with_name('.')` raises `ValueError` Ensure that `PureWindowsPath('foo/a').with_name('a:b')` does not raise `ValueError`.