summaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeFilesLines
...
| * bpo-41370: Evaluate strings as forward refs in PEP 585 generics (GH-30900)Niklas Rosenstein2022-03-073-2/+49
| | | | | | | | | | | | This removes discrepancy between list["int"] and List["int"]. Co-authored-by: Jelle Zijlstra <jelle.zijlstra@gmail.com> Co-authored-by: Alex Waygood <Alex.Waygood@Gmail.com>
| * bpo-46948: Fix CVE-2022-26488 by ensuring the Windows Installer correctly ↵Steve Dower2022-03-0712-4/+27
| | | | | | | | uses the install path during repair (GH-31726)
| * bpo-46933: Make pwd module optional (GH-31700)Christian Heimes2022-03-0711-560/+496
| | | | | | Co-authored-by: Erlend Egeberg Aasland <erlend.aasland@innova.no>
* | Post 3.11.0a6Pablo Galindo2022-03-071-1/+1
| |
* | Python 3.11.0a6v3.11.0a6Pablo Galindo2022-03-07122-272/+1244
|/
* bpo-46940: Don't override existing AttributeError suggestion information ↵Pablo Galindo Salgado2022-03-074-15/+48
| | | | | | | | | | | | (GH-31710) When an exception is created in a nested call to PyObject_GetAttr, any external calls will override the context information of the AttributeError that we have already placed in the most internal call. This will cause the suggestions we create to nor work properly as the attribute name and object that we will be using are the incorrect ones. To avoid this, we need to check first if these attributes are already set and bail out if that's the case.
* bpo-46937: convert remaining functions to AC in _weakref (GH-31705)Kumar Aditya2022-03-072-22/+73
|
* bpo-43292: Fix file leak in `ET.iterparse()` when not exhausted (GH-31696)Jacob Walls2022-03-074-7/+20
| | | Co-authored-by: Serhiy Storchaka <storchaka@gmail.com>
* Use assertEqual, not assertEquals, in test_unicode (GH-31718)Dennis Sweeney2022-03-071-4/+4
| | | Fixes a DeprecationWarning
* Clean up CODEOWNERS (#31715)Jelle Zijlstra2022-03-071-16/+8
| | | crypto-team apparently doesn't exist and skrah no longer has write access. Thanks @isidentical for noticing this.
* bpo-45582: Don't fail if ENV_PATH is None in getpath.py (GH-31699)Christian Heimes2022-03-061-1/+1
|
* Update grammar_grapher with the new forced (&&) directive (#31704)Luca Chiodini2022-03-061-0/+3
|
* bpo-14156: Make argparse.FileType work correctly for binary file modes when ↵MojoVampire2022-03-063-17/+110
| | | | | | | argument is '-' (GH-13165) Also made modes containing 'a' or 'x' act the same as a mode containing 'w' when argument is '-' (so 'a'/'x' return sys.stdout like 'w', and 'ab'/'xb' return sys.stdout.buffer like 'wb').
* bpo-46921: Vectorcall support for `super()` (GH-31687)Ken Jin2022-03-063-2/+62
| | | Co-Authored-By: Dong-hee Na <donghee.na@python.org>
* bpo-46864: Deprecate PyBytesObject.ob_shash. (GH-31598)Inada Naoki2022-03-064-1/+23
|
* Remove trailing spaces (GH-31695)Serhiy Storchaka2022-03-0513-23/+24
|
* bpo-46927: Include the type's name in the error message for subscripting ↵Serhiy Storchaka2022-03-054-3/+8
| | | | non-generic types (GH-31694)
* Lib/typing.py copy edits originating from GH-31061 (#31684)Matt Bogosian2022-03-051-3/+3
|
* bpo-38738: Fix formatting of True and False in the threading documentation ↵Géry Ogam2022-03-041-8/+8
| | | | | | (GH-31678) * Fix formatting of True and False in the threading documentation * Update threading.rst
* bpo-46841: Fix BINARY_OP's handling of inline caches (GH-31671)Brandt Bucher2022-03-043-3/+7
|
* bpo-25415: Remove confusing sentence from IOBase docstrings (PR-31631)slateny2022-03-044-13/+8
|
* bpo-46541: Remove usage of _Py_IDENTIFIER from lzma module (GH-31683)Dong-hee Na2022-03-041-10/+10
|
* bpo-46841: Fix error message hacks in `GET_AWAITABLE` (GH-31664)Brandt Bucher2022-03-048-32/+37
|
* bpo-46903: Handle str-subclasses in virtual instance dictionaries. (GH-31658)Mark Shannon2022-03-045-10/+46
|
* bpo-46744: Move Windows ARM64 installation directory to correct ProgramFiles ↵Steve Dower2022-03-043-38/+4
| | | | (GH-31677)
* bpo-46355: Update pythoncapi_compat project URL (GH-31670)Victor Stinner2022-03-031-2/+2
|
* bpo-46913: Skip test_ctypes.test_shorts() on UBSan (GH-31674)Victor Stinner2022-03-031-0/+3
| | | | | If Python is built with UBSan, test_ctypes now skips test_shorts(). This change allows to run test_ctypes to check for new UBSan regression, but the known test_shorts() undefined behavior must be fixed.
* bpo-46913: test_hashlib skips _sha3 tests on UBSan (GH-31673)Victor Stinner2022-03-031-8/+26
| | | | | | | If Python is built with UBSan, test_hashlib skips tests on the _sha3 extension which currently has undefined behaviors. This change allows to run test_hashlib to check for new UBSan regression, but the known _sha3 undefined behavior must be fixed.
* bpo-46841: Use inline caching for attribute accesses (GH-31640)Brandt Bucher2022-03-0310-270/+292
|
* bpo-46913: Fix test_faulthandler.test_read_null() on UBSan (GH31672)Victor Stinner2022-03-031-16/+18
| | | | Disable undefined behavior sanitizer (UBSan) on faulthandler._read_null().
* bpo-45459: Use type names in the internal C API (GH-31669)Victor Stinner2022-03-035-14/+11
| | | Replace "struct xxx" with "xxx" types in the internal C API.
* bpo-45459: Fix PyModuleDef_Slot type in the limited C API (GH-31668)Victor Stinner2022-03-032-4/+3
| | | Move the type definition to pytypedefs.h.
* bpo-46913: Fix test_faulthandler.test_sigfpe() on UBSAN (GH-31662)Victor Stinner2022-03-032-2/+23
| | | | Disable undefined behavior sanitizer (UBSAN) on faulthandler_sigfpe().
* bpo-46841: Improve the failure stats for COMPARE_OP (GH-31663)Brandt Bucher2022-03-032-0/+7
|
* bpo-46877: export unittest.doModuleCleanups in unittest package (#31613)Kumar Aditya2022-03-032-2/+3
|
* Move check for str-only keys in LOAD_GLOBAL specializations to ↵Mark Shannon2022-03-032-15/+14
| | | | specialization time. (GH-31659)
* bpo-6634: [doc] clarify that sys.exit() does not always exit the interpreter ↵vidhya2022-03-031-5/+3
| | | | (GH-31639)
* bpo-46874: Speed up sqlite3 user-defined aggregate 'step' method (GH-31604)Erlend Egeberg Aasland2022-03-034-6/+13
|
* bpo-46891: Fix creating a new instance of a module subclass with slots ↵Mark Shannon2022-03-033-1/+24
| | | | (GH-31643)
* Fix EncodingWarning in libregrtest (GH-31654)Inada Naoki2022-03-031-1/+1
|
* bpo-46831: Update __build_class__ comment (#31522)Shantanu2022-03-031-3/+2
| | | Co-authored-by: Jelle Zijlstra <jelle.zijlstra@gmail.com>
* dict: Fix refleak (GH-31650)Inada Naoki2022-03-031-4/+8
|
* bpo-46643: fix NEWS entry (GH-31651)Jelle Zijlstra2022-03-031-1/+3
|
* bpo-40116: dict: Add regression test for iteration order. (GH-31550)Inada Naoki2022-03-033-1/+20
|
* bpo-21910: Clarify docs for codecs writelines method (GH-31245)slateny2022-03-031-2/+3
| | | Co-authored-by: Jelle Zijlstra <jelle.zijlstra@gmail.com>
* bpo-46643: Fix stringized P.args/P.kwargs with get_type_hints (GH-31238)Gregory Beauregard2022-03-033-1/+15
|
* bpo-46860: Respect `--with-suffix` on case-insensitive file systems (GH-31593)Brett Cannon2022-03-023-2/+3
| | | Previously, case-insensitive file systems were forced to use `.exe` as the file suffix no matter what `--with-suffix` was set to.
* bpo-45492: Corrected documentation for co_names in inspect library doc ↵slateny2022-03-021-2/+3
| | | | (GH-31456)
* bpo-46848: Move _PyBytes_Find() to internal C API (GH-31642)Victor Stinner2022-03-024-19/+21
| | | | | | Move _PyBytes_Find() and _PyBytes_ReverseFind() functions to the internal C API. bytesobject.c now includes pycore_bytesobject.h.
* dict: Internal cleanup (GH-31641)Inada Naoki2022-03-021-66/+44
| | | | * Make empty_key from split table to combined table. * Use unicode_get_hash() when possible.