summaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeFilesLines
* gh-124487: Require at least Windows 10 SDK and update install check (GH-124672)Steve Dower2024-09-304-9/+11
|
* gh-124642: Dictionaries aren't marking objects as weakref'd (#124643)Dino Viehland2024-09-302-3/+4
| | | Dictionaries aren't marking objects as weakref'd
* Doc: Run HTML and non-HTML daily builds separately (#124493)Adam Turner2024-09-301-3/+3
|
* gh-124722: Fix leak in `test_detach_materialized_dict_no_memory` (GH-124769)sobolevn2024-09-301-14/+30
|
* gh-124400: Use the normal command path for breakpoint commands (#124401)Tian Gao2024-09-294-40/+77
| | | Co-authored-by: Irit Katriel <1055913+iritkatriel@users.noreply.github.com>
* gh-124720: Update "Using Python on a Mac" document (#124721)Ned Deily2024-09-2911-110/+363
| | | | | Update "Using Python on a Mac" section of the "Python Setup and Usage" document and include information on installing free-threading support.
* gh-111495: Add tests for `PyCodec_*` C API (#123343)Bénédikt Tran2024-09-299-5/+547
|
* gh-123961: Add a global state to _curses (#124729)Bénédikt Tran2024-09-293-177/+274
|
* gh-123290: Fix decref in _curses update_lines_cols() (#124767)Bénédikt Tran2024-09-291-1/+1
|
* functools: Give up on lazy-importing types (#124736)Jelle Zijlstra2024-09-291-8/+5
| | | | | | | | | PR #121089 added an eager import for types.MethodType, but still left the existing hacks for lazily importing from types. We could also create MethodType internally in functools.py (e.g., by using `type(Placeholder.__repr__)`, but it feels not worth it at this point, so instead I unlazified all the usages of types in the module.
* Docs: improve generic `typing.NamedTuple` example (#124739)CBerJun2024-09-291-1/+3
|
* gh-58573: Fix conflicts between abbreviated long options in the parent ↵Serhiy Storchaka2024-09-293-34/+52
| | | | | | parser and subparsers in argparse (GH-124631) Check for ambiguous options if the option is consumed, not when it is parsed.
* gh-116850: Fix argparse for namespaces with not directly writable dict ↵Serhiy Storchaka2024-09-293-1/+16
| | | | | | (GH-124667) It now always uses setattr() instead of setting the dict item to modify the namespace. This allows to use a class as a namespace.
* gh-61181: Fix support of choices with string value in argparse (GH-124578)Serhiy Storchaka2024-09-294-11/+17
| | | Substrings of the specified string no longer considered valid values.
* gh-53834: Fix support of arguments with choices in argparse (GH-124495)Serhiy Storchaka2024-09-293-13/+13
| | | | | | Positional arguments with nargs equal to '?' or '*' no longer check default against choices. Optional arguments with nargs equal to '?' no longer check const against choices.
* gh-124345: Support abbreviated single-dash long options with = in argparse ↵Serhiy Storchaka2024-09-293-3/+16
| | | | (GH-124428)
* gh-80259: Fix conflict between type and default=SUPPRESS in argparse (GH-124519)Serhiy Storchaka2024-09-293-8/+16
| | | | | type() no longer called for SUPPRESS. This only affects positional arguments with nargs='?'.
* gh-104860: Fix allow_abbrev=False for single-dash long options (GH-124340)Serhiy Storchaka2024-09-293-1/+20
|
* gh-123497: New limit for Python integers on 64-bit platforms (GH-123724)Serhiy Storchaka2024-09-298-175/+108
| | | | | | | | | | | Instead of be limited just by the size of addressable memory (2**63 bytes), Python integers are now also limited by the number of bits, so the number of bit now always fit in a 64-bit integer. Both limits are much larger than what might be available in practice, so it doesn't affect users. _PyLong_NumBits() and _PyLong_Frexp() are now always successful.
* GH-124639: add back loop param to staggered_race (#124700)Kumar Aditya2024-09-292-2/+27
|
* gh-124665: Add `_PyCodec_UnregisterError` and `_codecs._unregister_error` ↵Bénédikt Tran2024-09-296-2/+136
| | | | (#124677)
* gh-124442: make `__static_attributes__` deterministic by sorting (#124492)Kira2024-09-283-1/+30
| | | | | Signed-off-by: kp2pml30 <kp2pml30@gmail.com> Co-authored-by: Jelle Zijlstra <jelle.zijlstra@gmail.com> Co-authored-by: Adam Turner <9087854+AA-Turner@users.noreply.github.com>
* gh-123339: Fix cases of inconsistency of __module__ and __firstlineno__ in ↵Serhiy Storchaka2024-09-2811-12/+110
| | | | | | | | | | | | | classes (GH-123613) * Setting the __module__ attribute for a class now removes the __firstlineno__ item from the type's dict. * The _collections_abc and _pydecimal modules now completely replace the collections.abc and decimal modules after importing them. This allows to get the source of classes and functions defined in these modules. * inspect.findsource() now checks whether the first line number for a class is out of bound.
* gh-124688: _decimal: Get module state from ctx for performance (#124691)neonene2024-09-281-48/+73
| | | Get a module state from ctx objects for performance.
* docs: improve venv docs (#124540)Jelle Zijlstra2024-09-281-28/+25
| | | | | | | | | - Move "versionchanged" notes that apply to the whole class to the end of the class docs - Remove or move notes next to the method list that apply to individual methods. - Mark up parameters using the appropriate syntax - Do not capitalize "boolean" - Shorten some text
* Doc: Fix default ``latex_elements['papersize']`` (#124525)Jean-François B.2024-09-281-2/+2
| | | | | | https://www.sphinx-doc.org/en/master/latex.html#the-latex-elements-configuration-setting It should be 'letterpaper' or 'a4paper' not 'letter' or 'a4' (not to be confused with PAPER env variable).
* Sorting techniques edits (#124701)Raymond Hettinger2024-09-281-3/+70
|
* gh-107954: Fix configuration type for the perf profiler (#124636)Pablo Galindo Salgado2024-09-275-15/+28
|
* gh-124385: Document and soft-deprecate PyLong_AS_LONG (GH-124386)Petr Viktorin2024-09-271-1/+10
|
* gh-123299: Copy-edit the 3.14 What's New (#124670)Jelle Zijlstra2024-09-272-45/+56
| | | | Co-authored-by: Hugo van Kemenade <1324225+hugovk@users.noreply.github.com>
* gh-111178: fix some USAN failures - mismatched function pointers (GH-123004)Bénédikt Tran2024-09-273-7/+9
|
* GH-124547: Clear instance dictionary if memory error occurs during object ↵Mark Shannon2024-09-273-2/+27
| | | | dealloc (GH-124627)
* gh-90190: Add doc for using `singledispatch` with precise collection type ↵Matt Delengowski2024-09-271-0/+19
| | | | | | hints (#116544)
* gh-81263: Add assignment expressions to `help` (#124641)Emily Morehouse2024-09-273-0/+31
| | | | | * Add assignment expression (:=) to `help` * Update index for Assignment Expressions to include pair of `assignment; expression`
* gh-124457: Remove coverity from CPython repo (GH-124460)Mariatta2024-09-274-202/+2
| | | Remove coverity from CPython repo.
* gh-124520: What's New entry for ctypes metaclass __new__/__init__ change ↵Petr Viktorin2024-09-271-0/+18
| | | | (GH-124546)
* doc: PyUnicode_AsUTF8String() fails if string contains surrogates (#124605)Victor Stinner2024-09-271-3/+10
|
* Drop code ownership for decimal (gh-124695)Raymond Hettinger2024-09-271-1/+0
|
* Fix typo in InternalDocs/string_interning.md (GH-124699)Petr Viktorin2024-09-271-1/+1
|
* gh-124609: Fix _Py_ThreadId for Windows builds using MinGW (#124663)Tony Roberts2024-09-274-0/+12
|
* Itertool docs: Minor clarifications, wording tweaks, spacing, and active ↵Raymond Hettinger2024-09-271-13/+21
| | | | | voice. (gh-124690) Minor clarifications, wording tweaks, spacing, and active voice.
* gh-124682: Disable test that is prone to intermittent failure on iOS. (#124683)Russell Keith-Magee2024-09-271-4/+5
| | | Disable test that is prone to intermittent failure on iOS.
* gh-121277: Raise nice error on `next` as second argument to ↵Petr Viktorin2024-09-271-0/+3
| | | | deprecated-removed (GH-124623)
* Fixup indentation for docs on `ModuleSpec` attributes (#124681)Alex Waygood2024-09-271-43/+36
| | | | Co-authored-by: Jelle Zijlstra <jelle.zijlstra@gmail.com>
* Improve accuracy of kde() invcdf estimates (gh-124637)Raymond Hettinger2024-09-271-1/+7
|
* GH-118093: Fix off-by-one errors in tier-up thresholds (GH-124447)Brandt Bucher2024-09-271-2/+2
|
* gh-113878: Add `doc` parameter to `dataclasses.field` (gh-114051)sobolevn2024-09-275-21/+81
| | | If using `slots=True`, the `doc` parameter ends up in the `__slots__` dict. The `doc` parameter is also in the corresponding `Field` object.
* gh-123017: Add Android to the list of platforms where `strftime` doesn't ↵Malcolm Smith2024-09-273-3/+9
| | | | | support negative years (#124467) Add Android to the list of platforms where `strftime` doesn't support negative years
* gh-119180: No longer set `__annotations__` in `__main__` (#124634)Jelle Zijlstra2024-09-274-9/+4
|
* GH-95079: document error behaviour for some unicode C APIs (#95080)Max Bachmann2024-09-271-0/+9
|