summaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeFilesLines
...
* gh-111789: Use PyDict_GetItemRef() in Python/codecs.c (gh-112082)Serhiy Storchaka2023-11-271-5/+4
|
* gh-111789: Use PyDict_GetItemRef() in Python/bltinmodule.c (gh-112081)Serhiy Storchaka2023-11-271-6/+3
|
* gh-111789: Use PyDict_GetItemRef() in Modules/pyexpat.c (gh-112079)Serhiy Storchaka2023-11-271-12/+5
|
* gh-111789: Use PyDict_GetItemRef() in Modules/_threadmodule.c (gh-112077)Serhiy Storchaka2023-11-271-6/+4
|
* gh-111789: Use PyDict_GetItemRef() in Modules/_struct.c (gh-112076)Serhiy Storchaka2023-11-271-5/+4
|
* gh-111789: Use PyDict_GetItemRef() in Modules/_csv.c (gh-112073)Serhiy Storchaka2023-11-271-8/+2
|
* gh-112438: Fix support of format units with the "e" prefix in nested tuples ↵Serhiy Storchaka2023-11-274-6/+40
| | | | in PyArg_Parse (gh-112439)
* gh-84443: SSLSocket.recv_into() now support buffer protocol with itemsize != ↵Zackery Spytz2023-11-273-4/+32
| | | | | | | 1 (GH-20310) It is also no longer use __len__(). Co-authored-by: Serhiy Storchaka <storchaka@gmail.com>
* gh-111874: Call `__set_name__` on objects that define the method inside a ↵Alex Waygood2023-11-273-3/+99
| | | | | `typing.NamedTuple` class dictionary as part of the creation of that class (#111876) Co-authored-by: Jelle Zijlstra <jelle.zijlstra@gmail.com>
* GH-101100: Fix reference warnings for ``socket`` methods (#110114)Adam Turner2023-11-273-17/+17
| | | | Co-authored-by: Serhiy Storchaka <storchaka@gmail.com>
* Move What's New In Python 3.12 entries to the right section (#112447)Victor Stinner2023-11-271-7/+8
| | | Jython and ctypes removals are unrelated to C API Removals.
* gh-111147: Fix `test_set_of_sets_reprs` in `test_pprint` (GH-111148)Nikita Sobolev2023-11-271-197/+95
| | | | Make it stable and not depending on implementation details.
* Docs: fix typo in doc for sqlite3.Cursor.execute (#112442)Tom Levy2023-11-271-1/+1
|
* gh-112414: Fix `AttributeError` when calling `repr()` on a namespace package ↵Alex Waygood2023-11-274-3/+16
| | | | imported with a custom loader (#112425)
* gh-63284: Add support for TLS-PSK (pre-shared key) to the ssl module (#103181)Grant Ramsay2023-11-2710-1/+561
| | | | | | | | Add support for TLS-PSK (pre-shared key) to the ssl module. --------- Co-authored-by: Oleg Iarygin <oleg@arhadthedev.net> Co-authored-by: Gregory P. Smith <greg@krypto.org>
* gh-99606: Make code generated for an empty f-string identical to that of a ↵Irit Katriel2023-11-263-2/+18
| | | | normal empty string (#112407)
* gh-112405: Optimise `pathlib.Path.relative_to` (#112406)Alex Waygood2023-11-262-1/+3
|
* gh-112358: Fix Python 3.12 regression with subclassing struct.Struct. (#112424)Mark Dickinson2023-11-264-48/+52
| | | | | | Revert commit c8c0afc7137ab9f22bf59d591084948ca967c97c (PR #94532), which moved `struct.Struct` initialisation from `Struct.__init__` to `Struct.__new__`. This caused issues with code in the wild that subclasses `struct.Struct`.
* gh-101100: Fix Sphinx reference warnings (GH-112416)Hugo van Kemenade2023-11-258-17/+23
| | | | | | | | | | | | | | | | | | | | | | | * Fix Sphinx warning in library/xml.rst Direct use of the pyexpat module is deprecated, but this is how to check the version for security purposes * Fix Sphinx warning in library/importlib.resources.rst * Use italics for parameters * Link to the exception * Fix Sphinx warning in library/gzip.rst * Document message and header defect base classes to fix Sphinx warning in library/email.headerregistry.rst * Restore feed_eof() doc to fix Sphinx warning in library/asyncio-stream.rst * Fix Sphinx warning in extending/newtypes.rst * Fix Sphinx warning in c-api/set.rst On stdtypes.rst, set and frozenset are documented together and the frozenset has the working refs
* gh-112331: Fix reference manual description of attribute lookup mechanics ↵Raymond Hettinger2023-11-251-6/+12
| | | | (gh-112375)
* Descriptor HowTo: Sync the error-messages with the C code. Add tests. ↵Raymond Hettinger2023-11-251-3/+40
| | | | (gh-112403)
* gh-101100 : Fix Sphinx warnings in `library/doctest.rst` (#112399)Hugo van Kemenade2023-11-253-21/+29
| | | | | | | | | | | | | | | | | | | * Fix Sphinx warnings in library/doctest.rst * Don't link to self, and wrap a line Co-authored-by: Alex Waygood <Alex.Waygood@Gmail.com> * Link to load_tests protocol * Link to option flags * Wrap line Co-authored-by: Alex Waygood <Alex.Waygood@Gmail.com> --------- Co-authored-by: Alex Waygood <Alex.Waygood@Gmail.com>
* GH-77621: Delay some imports from pathlib (#112244)Barney Gale2023-11-252-5/+11
| | | | | Import `contextlib`, `glob` and `re` only as required. Co-authored-by: Alex Waygood <Alex.Waygood@Gmail.com>
* gh-94722: fix DocTest.__eq__ for case of no line number on one side (#112385)Irit Katriel2023-11-253-2/+23
|
* GH-112361: Speed up pathlib by removing some temporary objects. (#112362)Barney Gale2023-11-253-22/+14
| | | | | Construct only one new list object (using `list.copy()`) when creating a new path object with a modified tail. This slightly speeds up `with_name()` and `with_suffix()`
* gh-101100: Define `_tkinter` module to fix references (#112382)Hugo van Kemenade2023-11-251-0/+3
| | | Define _tkinter module to fix references
* gh-101100: Define `test.regrtest` module to fix references (#112381)Hugo van Kemenade2023-11-251-0/+3
| | | Define test.regrtest module to fix references
* gh-112355: fix calculation of jump target of ENTER_EXECUTOR in dis (#112377)Irit Katriel2023-11-241-1/+6
|
* gh-59254: mention in open() doc that line buffering is for writing (#112318)Irit Katriel2023-11-241-1/+1
|
* gh-112213: Add missing declaration of target_critical_section (gh-112374)Donghee Na2023-11-241-2/+4
| | | Co-authored-by: Alex Waygood <Alex.Waygood@Gmail.com>
* gh-112345: `typing.Protocol`: Let failed subclasscheck show non-method ↵Randolf Scholz2023-11-243-1/+25
| | | | | members (#112344) Co-authored-by: Alex Waygood <Alex.Waygood@Gmail.com>
* Remove bogus annotations from the descriptor howto guide (#112349)Raymond Hettinger2023-11-231-3/+3
|
* Add extra tests for `random.binomialvariate` (gh-112325)Tian Gao2023-11-232-0/+5
|
* gh-112137: change dis output to show no-lineno as -- instead of None (#112335)Irit Katriel2023-11-233-16/+18
|
* gh-76785: Return an "excinfo" Object From Interpreter.run() (gh-111573)Eric Snow2023-11-239-243/+418
|
* gh-111809: Fix `test_deep_repr` from `test_userdict` on WASI (GH-112229)Nikita Sobolev2023-11-221-1/+6
|
* gh-112137: change dis output to display labels instead of offsets (#112138)Irit Katriel2023-11-225-815/+838
|
* gh-76785: Add _PyType_GetModuleName() to the Internal C-API (gh-112323)Eric Snow2023-11-225-0/+43
| | | The new function corresponds to the existing (public) PyType_GetName() and PyType_GetQualName().
* gh-76785: Clean up the Failure-Related _xxsubinterpreters Tests (gh-112322)Eric Snow2023-11-221-37/+157
|
* Merge branch 'main' of https://github.com/python/cpythonThomas Wouters2023-11-225-4250/+4394
|\
| * GH-111485: Sort cases in the case generator output (GH-112315)Mark Shannon2023-11-223-4210/+4214
| |
| * gh-111965: Use critical sections to make io.BufferedIOBase and its related ↵Mayuresh Kedari2023-11-222-40/+180
| | | | | | | | classes thread safe (gh-112298)
* | Post 3.13.0a2Thomas Wouters2023-11-221-1/+1
| |
* | Python 3.13.0a2v3.13.0a2Thomas Wouters2023-11-22156-403/+1651
|/
* Do not build the macOS installer with mimalloc enabled (#112312)Ned Deily2023-11-221-0/+2
| | | | | Do not build the macOS installer with mimalloc enabled pending resolution of weak linking crashes during interpreter startup on macOS 10.9, 10.10, and 10.11 when built on macOS 11 and later.
* gh-59703: restore include of mach-o/dyld.h (gh-112309)Ned Deily2023-11-221-0/+1
| | | | On older versions of macOS, _NSGetExecutablePath appears to only be available via macho-o/dyld so macho-o/dyld.h is still needed.
* Fix docstring and var name of itertools recipe (#112113)Sebastian Rittau2023-11-221-3/+3
| | | | `prepend()` works with arbitrary iterables, not only iterators. In fact, the example given uses a `list`, which is iterable, but not an iterator.
* gh-111863: Rename term Py_NOGIL to Py_GIL_DISABLED in sysconfig (gh-112307)Donghee Na2023-11-222-5/+5
|
* GH-111963: Clarify sys.monitoring.free_tool_id's limitations (GH-112291)Tian Gao2023-11-211-0/+7
|
* gh-110745: add a newline argument to pathlib.Path.read_text (#110880)Junya Okabe2023-11-214-3/+22
| | | | Co-authored-by: blurb-it[bot] <43283697+blurb-it[bot]@users.noreply.github.com> Co-authored-by: Barney Gale <barney.gale@gmail.com>