summaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeFilesLines
...
* bpo-45582: Ensure PYTHONHOME still overrides detected build prefixes (GH-29948)Steve Dower2021-12-072-0/+32
|
* bpo-23819: asyncio: Replace AssertionError with TypeError where it makes ↵Kumar Aditya2021-12-065-9/+15
| | | | sense (GH-29894)
* removal of duplicated text paragraph (#29666)Taras Sereda2021-12-061-6/+0
|
* bpo-45847: Fix uuid detection on macOS (GH-29946)Christian Heimes2021-12-062-3/+44
|
* bpo-45582: framework build: modPath must not be const (GH-29944)Christian Heimes2021-12-061-1/+1
| | | Co-authored-by: Ronald Oussoren <ronaldoussoren@mac.com>
* bpo-45582: Fix getpath_isxfile() and test_embed on Windows (GH-29930)neonene2021-12-062-3/+11
|
* bpo-45950: Fix macOS framework builds of _bootstrap_python (GH-29936)Christian Heimes2021-12-064-11/+21
|
* bpo-44035: Check autoconf files thoroughly (GH-29935)Christian Heimes2021-12-063-7/+20
| | | | | | | | | Check that users don't push changes with outdated or patched autoconf. The presence of runstatedir option and aclocal 1.16.3 are good markers. Use my container image to regenerate autoconf files. "Check for changes" will fail later when any file is regenerated. Use ccache in check_generated_files to speed up testing.
* bpo-45963: Make space for the InterpreterFrame of a generator in that ↵Mark Shannon2021-12-067-144/+127
| | | | | | | generator. (GH-29891) * Make generator, coroutine and async gen structs all the same size. * Store interpreter frame in generator (and coroutine). Reduces the number of allocations neeeded for a generator from two to one.
* bpo-45732: Update python.org macOS installer to use Tcl/Tk 8.6.12. (GH-29931)Ned Deily2021-12-063-14/+5
|
* bpo-45840: Improve cross-references in the data model documentation (GH-29633)Alex Waygood2021-12-052-54/+77
|
* bpo-45664: Fix resolve_bases() and new_class() for GenericAlias instance as ↵Serhiy Storchaka2021-12-053-1/+19
| | | | a base (GH-29298)
* bpo-45663: Fix is_dataclass() for dataclasses which are subclasses of ↵Serhiy Storchaka2021-12-053-1/+15
| | | | types.GenericAlias (GH-29294)
* bpo-45662: Fix the repr of InitVar with a type alias to the built-in class ↵Serhiy Storchaka2021-12-053-1/+7
| | | | | (GH-29291) For example, InitVar[list[int]].
* bpo-37295: Optimize math.comb() and math.perm() (GH-29090)Serhiy Storchaka2021-12-053-93/+198
| | | | | | | | For very large numbers use divide-and-conquer algorithm for getting benefit of Karatsuba multiplication of large numbers. Do calculations completely in C unsigned long long instead of Python integers if possible.
* bpo-45582: Fix signature of _Py_Get_Getpath_CodeObject (GH-29921)Christian Heimes2021-12-051-1/+1
|
* Delete orphaned comment (#29917)Guido van Rossum2021-12-051-5/+0
| | | (The function this described was deleted by PR #23743, the comment was accidentally retained.)
* bpo-27946: Fix possible crash in ElementTree.Element (GH-29915)Serhiy Storchaka2021-12-053-13/+25
| | | | | Getting an attribute via attrib.get() simultaneously with replacing the attrib dict can lead to access to deallocated dict.
* bpo-13236: Flush the output stream more often in unittest (GH-29864)Serhiy Storchaka2021-12-044-5/+54
| | | It can prevent some losses when output to buffered stream.
* Fixed documentation typo in compileall.py (GH-29912)Vishal Pandey2021-12-041-1/+1
|
* bpo-45847: Update whatsnew and add place holder entries for missing ↵Christian Heimes2021-12-043-7/+23
| | | | extensions (GH-29914)
* bpo-45847: Port _ctypes partly to PY_STDLIB_MOD (GH-29747)Christian Heimes2021-12-045-36/+482
| | | Co-authored-by: Erlend Egeberg Aasland <erlend.aasland@innova.no>
* bpo-45695: Test out-of-tree builds on GHA (GH-29904)Christian Heimes2021-12-042-3/+19
|
* bpo-20751: Replace method example with attribute example, matching the ↵Raymond Hettinger2021-12-041-4/+32
| | | | descriptor howto (GH-29909)
* bpo-45582 Fix prototype of _Py_Get_Getpath_CodeObject. (GH-29907)Benjamin Peterson2021-12-031-1/+1
| | | Automerge-Triggered-By: GH:tiran
* bpo-45582: Add a NOT operator to the condition in getpath_isxfile (GH-29906)neonene2021-12-031-3/+9
|
* bpo-45607: Make it possible to enrich exception displays via setting their ↵Irit Katriel2021-12-0310-5/+183
| | | | __note__ field (GH-29880)
* bpo-45816: Support building with VS 2022 (v143 toolset) on Windows (GH-29577)Crowthebird2021-12-035-4/+5
|
* bpo-45711: [asyncio] Normalize exceptions immediately after Fetch, before ↵Irit Katriel2021-12-032-7/+13
| | | | they are stored as StackItem, which should be normalized (GH-29890)
* bpo-45950: Introduce Bootstrap Python again (#29859)Christian Heimes2021-12-039-71/+185
| | | | | | | | | The build system now uses a :program:`_bootstrap_python` interpreter for freezing and deepfreezing again. To speed up build process the build tools :program:`_bootstrap_python` and :program:`_freeze_module` are no longer build with LTO. Cross building depends on a build Python interpreter, which must have same version and bytecode as target host Python.
* bpo-45582: Fix out-of-tree build issues with new getpath (GH-29902)Christian Heimes2021-12-034-11/+9
|
* bpo-45885: Specialize COMPARE_OP (GH-29734)Dennis Sweeney2021-12-039-60/+289
| | | | | | | * Add COMPARE_OP_ADAPTIVE adaptive instruction. * Add COMPARE_OP_FLOAT_JUMP, COMPARE_OP_INT_JUMP and COMPARE_OP_STR_JUMP specialized instructions. * Introduce and use _PyUnicode_Equal
* bpo-45582: Port getpath[p].c to Python (GH-29041)Steve Dower2021-12-0340-3668/+3516
| | | | | The getpath.py file is frozen at build time and executed as code over a namespace. It is never imported, nor is it meant to be importable or reusable. However, it should be easier to read, modify, and patch than the previous code. This commit attempts to preserve every previously tested quirk, but these may be changed in the future to better align platforms.
* bpo-45916: Use HTTPS link for The Perils of Floating Point (GH-29896)Zachary Ware2021-12-021-1/+1
|
* bpo-40280: Update what's new (GH-29893)Christian Heimes2021-12-021-0/+5
|
* bpo-45535: Improve output of Enum ``dir()`` (GH-29316)Alex Waygood2021-12-025-53/+386
| | | | | | Modify the ``EnumType.__dir__()`` and ``Enum.__dir__()`` to ensure that user-defined methods and methods inherited from mixin classes always show up in the output of `help()`. This change also makes it easier for IDEs to provide auto-completion.
* bpo-40280: Optimize ints and and startup on wasm (GH-29887)Christian Heimes2021-12-022-5/+13
|
* bpo-45954: Rename PyConfig.no_debug_ranges to code_debug_ranges (GH-29886)Victor Stinner2021-12-028-18/+22
| | | | | | | Rename PyConfig.no_debug_ranges to PyConfig.code_debug_ranges and invert the value. Document -X no_debug_ranges and PYTHONNODEBUGRANGES env var in PyConfig.code_debug_ranges documentation.
* bpo-40280: Emscripten has no support for subprocesses (GH-29872)Christian Heimes2021-12-022-2/+10
| | | | | | | Fixes ``platform`` and ``help()`` on emscripten. Signed-off-by: Christian Heimes <christian@python.org> Automerge-Triggered-By: GH:tiran
* docs: Improve example for urlparse() (GH-29816)Christian Clauss2021-12-021-31/+42
|
* bpo-40280: Emscripten with_ensurepip=no, second attempt (GH-29884)Christian Heimes2021-12-012-2/+2
|
* bpo-40280: Emscripten defaults to --with-ensurepip=no (GH-29873)Christian Heimes2021-12-012-2/+15
|
* bpo-30533: Add docs for `inspect.getmembers_static` (#29874)Weipeng Hong2021-12-012-0/+25
| | | | | * Add docs for `inspect.getmembers_static` * update
* bpo-45952: Get the C analyzer tool working again. (gh-29882)Eric Snow2021-12-016-99/+111
| | | | | There wasn't much that needed to be done. Mostly it was just a few new files that got added. https://bugs.python.org/issue45952
* bpo-45896: Fix docs default asyncio event loop on Windows (GH-29857)Rob2021-12-011-3/+4
|
* bpo-45753: Interpreter internal tweaks (GH-29575)Mark Shannon2021-12-013-150/+211
| | | | | | | | | | * Split exit paths into exceptional and non-exceptional. * Move exit tracing code to individual bytecodes. * Wrap all trace entry and exit events in macros to make them clearer and easier to enhance. * Move return sequence into RETURN_VALUE, YIELD_VALUE and YIELD_FROM. Distinguish between normal trace events and dtrace events.
* bpo-45876: Have stdev() also use decimal specific square root. (GH-29869)Raymond Hettinger2021-12-011-3/+2
|
* bpo-45876: Correctly rounded stdev() and pstdev() for the Decimal case ↵Raymond Hettinger2021-12-012-22/+112
| | | | (GH-29828)
* bpo-45711: Change exc_info related APIs to derive type and traceback from ↵Irit Katriel2021-11-307-36/+104
| | | | the exception instance (GH-29780)
* bpo-30533:Add function inspect.getmembers_static that does not call ↵Weipeng Hong2021-11-303-4/+40
| | | | | | | | | | | | | | | | | | | | | properties or dynamic properties. (#20911) * Add function inspect.getmembers_static that does not call properties or dynamic properties. * update _getmembers args * Update Misc/NEWS.d/next/Library/2020-06-16-18-00-56.bpo-30533.StL57t.rst Co-authored-by: Itamar Ostricher <itamarost@gmail.com> * Update Lib/inspect.py Co-authored-by: Itamar Ostricher <itamarost@gmail.com> * Removes the copy pasted doc string Co-authored-by: Itamar Ostricher <itamarost@gmail.com> Co-authored-by: Dino Viehland <dinoviehland@gmail.com>