main
Commits on Jan 10, 2022
-
bpo-46244: Remove __slots__ from typing.TypeVar, .ParamSpec (#30444)
* add missing __slots__ to typing._TypeVarLike * add news entry * remove slots from _TypeVarLike base classes * cleanup diff * fix broken link in blurb
-
-
Commits on Jan 9, 2022
-
bpo-46272: Fix two heading comments in python.gram (GH-30499)
One typo fix and one heading change, both in comments. No functional changes.
-
bpo-40280: Disable epoll_create in Emscripten config.site (GH-30494)
Co-authored-by: nick.pope@infogrid.io
Commits on Jan 8, 2022
-
bpo-46306: simplify
CodeTypeattribute access indoctest.py(GH-3……0481) Assume co_firstlineno always exists on types.CodeType objects. Co-authored-by: Kumar Aditya <59607654+kumaraditya303@users.noreply.github.com>
-
-
-
bpo-46235: Do all ref-counting at once during list/tuple multiplicati…
…on (GH-30346) When multiplying lists and tuples by `n`, increment each element's refcount, by `n`, just once. Saves `n-1` increments per element, and allows for a leaner & faster copying loop. Code by sweeneyde (Dennis Sweeney).
Commits on Jan 7, 2022
-
bpo-46297: Fix interpreter crash on startup with multiple PythonPaths…
… set in registry (GH-30466)
-
bpo-46296: [Enum] add a test for missing
valuerecovery (GH-30458)In `__set_name__` there is a check for the `_value_` attribute and an attempt to add it if missing; this adds a test to cover the case for simple enums with a custom `__new__` method.
-
bpo-46289: Make conversion of FormattedValue not optional on ASDL (GH…
…-30467) Automerge-Triggered-By: GH:isidentical
-
bpo-28546: [doc] Clarify setting pdb breakpoints (GH-30360)
Co-authored-by: Ian Kelling <ian@iankelling.org>
-
bpo-46216: remove spurious link to os.system() from os.time() documen…
…tation (GH-30326) Automerge-Triggered-By: GH:iritkatriel
-
bpo-46070: Fix asyncio initialisation guard (GH-30423)
If init flag is set, exit successfully immediately. If not, only set the flag after successful initialization.
-