summaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeFilesLines
...
* bpo-39950: Fix deprecation warning in test for `pathlib.Path.link_to()` ↵Barney Gale2021-05-162-2/+3
| | | | (GH-26155)
* Improve speed and accuracy for correlation() (GH-26135)Raymond Hettinger2021-05-151-12/+14
|
* bpo-44143: Fix crash in the parser when raising tokenizer errors with an ↵Pablo Galindo2021-05-153-0/+4
| | | | exception set (GH-26144)
* bpo-32133: Improve numbers docs (GH-26124)Miguel Brito2021-05-151-1/+1
|
* bpo-44139: Use a more descriptive syntax error comprehension case in the ↵Pablo Galindo2021-05-151-2/+2
| | | | What's New for 3.10 (GH-26145)
* bpo-26110: Add ``CALL_METHOD_KW`` opcode to speedup method calls with ↵Ken Jin2021-05-1510-180/+247
| | | | | | | | | keywords (GH-26014) * Add CALL_METHOD_KW * Make CALL_METHOD branchless too since it shares the same code * Place parentheses in STACK_SHRINK
* bpo-44081: improve ast.unparse() for lambdas with no parameters (GH-26000)Batuhan Taskaya2021-05-153-5/+21
|
* bpo-44072: fix Complex, Integral docs for `**` (GH-25986)Rory Yorke2021-05-143-6/+13
| | | | In numbers module docstrings and docs.
* bpo-37788: Fix reference leak when Thread is never joined (GH-26103)Antoine Pitrou2021-05-143-1/+26
| | | When a Thread is not joined after it has stopped, its lock may remain in the _shutdown_locks set until interpreter shutdown. If many threads are created this way, the _shutdown_locks set could therefore grow endlessly. To avoid such a situation, purge expired locks each time a new one is added or removed.
* bpo-43729: Clarify comment in tutorial example (GH-25191)Erlend Egeberg Aasland2021-05-141-1/+1
|
* bpo-44095: Add suffix, stem and suffixes to zipfile.Path (GH-26129)Miguel Brito2021-05-144-0/+93
|
* Subprocess Protocols Documentation (GH-20950)kudavid2021-05-141-1/+1
| | | Should be "Subprocess Protocol instances" not "Datagram Protocol instances"
* [doc] Fix typos in cgi.rst (#24766)Géry Ogam2021-05-141-4/+4
|
* sqlite3 test suite now works with SQLITE_DQS=0 (GH-26032)Erlend Egeberg Aasland2021-05-141-1/+1
|
* Doc: Fix ambiguous pronoun (GH-26037)Daniel Shahaf2021-05-141-1/+1
|
* Updated code example for asyncio.gather (GH-20604)josephernest2021-05-141-8/+11
| | | | | The previous example did not fully showcase the interest of using gather. Here the example showcases "the result is an aggregate list of returned values".
* bpo-38250: add version added for FlagBoundary (GH-25820)Shantanu2021-05-141-0/+5
| | | | | | | * bpo-38250: add version added for FlagBoundary * Also add versionadded for utilities Co-authored-by: hauntsaninja <>
* Update doc as relative import can be used with star import (GH-25667)Saiyang Gou2021-05-141-1/+1
|
* bpo-43977: Update pattern matching language reference docs (GH-25917)Ken Jin2021-05-142-8/+36
| | | | | * Update patma language reference with new changes to sequence and mapping * update 3.10 whatsnew too
* Reword paragraph on specific value for Py_LIMITED_API (GH-26101)Petr Viktorin2021-05-141-12/+12
|
* bpo-43908: Add What's New entry for Py_TPFLAGS_IMMUTABLETYPE flag (GH-25816)Erlend Egeberg Aasland2021-05-131-0/+10
|
* bpo-28146: Fix a confusing error message in str.format() (GH-24213)Irit Katriel2021-05-133-4/+14
| | | Automerge-Triggered-By: GH:pitrou
* bpo-44094: Remove deprecated PyErr_ APIs. (GH-26011)Inada Naoki2021-05-133-54/+4
| | | These APIs are deprecated since Python 3.3. They are not documented too.
* bpo-44114: Remove redundant cast. (GH-26098)Inada Naoki2021-05-131-2/+2
|
* bpo-44125: Fix "make patchcheck" on non-English locale (GH-26102)Antoine Pitrou2021-05-131-1/+4
| | | | | The patch from [bpo-44074]() does not account for a possibly non-English locale and blindly greps for "HEAD branch" in a possibly localized text. Automerge-Triggered-By: GH:pitrou
* Fix typo in configure (GH-26078)Ikko Ashimine2021-05-131-1/+1
|
* bpo-39906: Document new follow_symlinks argument to pathlib.Path.stat() and ↵Barney Gale2021-05-131-0/+5
| | | | chmod() in 3.10 whatsnew. (GH-26089)
* bpo-43757: Document os.path.realpath(strict=True) in 3.10 whatsnew. (GH-26090)Barney Gale2021-05-131-0/+8
|
* bpo-44114: Fix dictkeys_reversed and dictvalues_reversed function signatures ↵Joe Marshall2021-05-132-4/+5
| | | | | | | | (GH-26062) These are passed and called as PyCFunction, however they are defined here without the (ignored) args parameter. This works fine in some C compilers, but fails in webassembly or anything else that has strict function pointer call type checking.
* bpo-44098: Drop ParamSpec from most ``__parameters__`` in typing generics ↵Ken Jin2021-05-133-14/+59
| | | | | | | | | (GH-26013) Added two new attributes to ``_GenericAlias``: * ``_typevar_types``, a single type or tuple of types indicating what types are treated as a ``TypeVar``. Used for ``isinstance`` checks. * ``_paramspec_tvars ``, a boolean flag which guards special behavior for dealing with ``ParamSpec``. Setting it to ``True`` means this class deals with ``ParamSpec``. Automerge-Triggered-By: GH:gvanrossum
* bpo-44113: Update fromzenmain not to use Py_SetProgramName (GH-26085)Dong-hee Na2021-05-131-2/+8
|
* bpo-44113: Fix compiler warning in PySys_AddWarnOption() (GH-26084)Victor Stinner2021-05-131-0/+3
| | | Ignore Py_DEPRECATED() warning on purpose.
* bpo-44030: Fix formatting error in exceptions docs (GH-25929)Miguel Brito2021-05-131-1/+1
|
* bpo-44113: Update __xxtestfuzz not to use Py_SetProgramName (GH-26083)Dong-hee Na2021-05-121-8/+20
|
* bpo-44113: Deprecate old functions to config Python init (GH-26060)Victor Stinner2021-05-129-10/+98
| | | | | | | | | | | | | | | | | Deprecate the following functions to configure the Python initialization: * PySys_AddWarnOption() * PySys_AddWarnOptionUnicode() * PySys_AddXOption() * PySys_HasWarnOptions() * Py_SetPath() * Py_SetProgramName() * Py_SetPythonHome() * Py_SetStandardStreamEncoding() * _Py_SetProgramFullPath() Use the new PyConfig API of the Python Initialization Configuration instead (PEP 587).
* bpo-40645: Fix ref leaks in _hashopenssl (GH-26079)Erlend Egeberg Aasland2021-05-121-5/+9
|
* bpo-44116: Add GC support to _csv heap types (GH-26074)Erlend Egeberg Aasland2021-05-121-30/+32
|
* bpo-44117: Add C API section to What's New in Python 3.11 (GH-26071)Victor Stinner2021-05-121-3/+23
| | | Add also references to PyFrame_BlockPop() removal.
* bpo-40645: Fix reference leak in the _hashopenssl extension (GH-26072)Petr Viktorin2021-05-121-0/+1
| | | | | The `PyModule_AddObjectRef` function doesn't steal a reference, so an extra `Py_DECREF` is needed. Automerge-Triggered-By: GH:tiran
* bpo-38908: Fix issue when non runtime_protocol failed to raise TypeError ↵Yurii Karabas2021-05-123-2/+23
| | | | (#26067)
* Use get_binascii_state instead of PyModule_GetState (GH-26069)Dong-hee Na2021-05-121-13/+13
|
* bpo-44089: Allow subclassing of ``csv.Error`` (GH-26008)Ken Jin2021-05-123-1/+6
| | | | | * fix subclass error * Update 2021-05-09-22-52-34.bpo-44089.IoANsN.rst
* bpo-25479: add unit test for __subclasshook__ in test_abc.py (GH-24034)Karl Dubost2021-05-121-0/+18
| | | Co-authored-by: Szymon Trapp
* Remove PyTryblock struct (GH-26059)Mark Shannon2021-05-122-32/+17
|
* bpo-40222: Mention zero-cost exceptions in whats-new for 3.11 (GH-26021)Mark Shannon2021-05-121-0/+3
|
* bpo-43933: Force RETURN_VALUE bytecodes to have line numbers (GH-26054)Mark Shannon2021-05-124-2939/+2990
|
* bpo-40640: doc -- add missing ... in example of Continue (#26055)Irit Katriel2021-05-121-0/+1
| | | Co-authored-by: Chas Belov <59780179+ChasBelov@users.noreply.github.com>
* bpo-44002: Switch to lru_cache in urllib.parse. (GH-25798)Gregory P. Smith2021-05-123-31/+50
| | | | | | | | | | | | Switch to lru_cache in urllib.parse. urllib.parse now uses functool.lru_cache for its internal URL splitting and quoting caches instead of rolling its own like its the 90s. The undocumented internal Quoted class API is now deprecated as it had no reason to be public and no existing OSS users were found. The clear_cache() API remains undocumented but gets an explicit test as it is used in a few projects' (twisted, gevent) tests as well as our own regrtest.
* bpo-44061: Fix pkgutil.iter_modules regression when passed a pathlib.Path ↵Miguel Brito2021-05-113-0/+49
| | | | object (GH-25964)
* bpo-28528: Fix pdb.checkline() attribute error when 'curframe' is None. (#25438)Erlend Egeberg Aasland2021-05-113-1/+42
| | | | Co-authored-by: Thomas Kluyver <takowl@gmail.com>