summaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeFilesLines
...
* 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>
* bpo-45476: Disallow using asdl_seq_GET() as l-value (GH-29866)Victor Stinner2021-11-301-3/+3
| | | | | | | | | The following internal macros can not longer be used as l-value: * asdl_seq_GET() * asdl_seq_GET_UNTYPED() * asdl_seq_LEN() They are modified to use the _Py_RVALUE() macro.
* bpo-45476: Add _Py_RVALUE() macro (GH-29860)Victor Stinner2021-11-306-7/+11
| | | | | | | | | | | | | | | | | | Add a new _Py_RVALUE() macro to prevent using an expression as an l-value. Replace a "(void)" cast with the _Py_RVALUE() macro in the following macros: * PyCell_SET() * PyList_SET_ITEM() * PyTuple_SET_ITEM() * _PyGCHead_SET_FINALIZED() * _PyGCHead_SET_NEXT() * asdl_seq_SET() * asdl_seq_SET_UNTYPED() Add also parentheses around macro arguments in PyCell_SET() and PyTuple_SET_ITEM() macros.
* bpo-33381: [doc] strftime's %f option may pad zeros on the left or the right ↵Vishal Pandey2021-11-301-2/+2
| | | | (GH-29801)
* Fix EncodingWarning in Tools/freeze/test/freeze.py (GH-29742)Inada Naoki2021-11-301-2/+2
|
* no-issue: remove unused import from test_graphlib.py (GH-29853)Adrian Garcia Badaracco2021-11-301-2/+1
|
* bpo-45931: Prevent Directory.Build.props/targets from leaking from ↵David Federman2021-11-293-2/+10
| | | | directories above the repo when building on Windows (GH-29854)
* bpo-45653: fix test_embed on windows (GH-29814)Kumar Aditya2021-11-291-1/+1
|
* bpo-45917: Add math.exp2() method - return 2 raised to the power of x (GH-29829)Gideon2021-11-296-0/+26
| | | Co-authored-by: Mark Dickinson <dickinsm@gmail.com>
* bpo-43905: Expand dataclasses.astuple() and asdict() docs (GH-26154)andrei kulakov2021-11-292-4/+20
| | | | | | Expanded ``astuple()`` docs, warning about deepcopy being applied and providing a workaround. Automerge-Triggered-By: GH:ericvsmith
* bpo-44391: Remove unused argument from a varargs call. (GH-29843)Vinay Sajip2021-11-291-1/+1
|
* bpo-45881: configure --with-freeze-module --with-build-python (GH-29835)Christian Heimes2021-11-295-52/+202
| | | | Co-authored-by: Erlend Egeberg Aasland <erlend.aasland@innova.no> Co-authored-by: Ethan Smith <ethan@ethanhs.me>
* bpo-45847: PY_STDLIB_MOD_SIMPLE now checks py_stdlib_not_available (GH-29844)Christian Heimes2021-11-292-83/+608
|
* bpo-45828: Use unraisable exceptions within sqlite3 callbacks (FH-29591)Erlend Egeberg Aasland2021-11-296-34/+64
|
* bpo-40280: Emscripten systems use .wasm suffix by default (GH-29842)Christian Heimes2021-11-294-16/+43
|
* bpo-45723: Sort the grand AC_CHECK_HEADERS check (GH-29846)Erlend Egeberg Aasland2021-11-292-30/+24
| | | Automerge-Triggered-By: GH:tiran
* bpo-45847: Make socket module conditional (GH-29769)Erlend Egeberg Aasland2021-11-293-18/+51
|
* [Doc] Add info to logging cookbook about running logging socket listeners ↵Vinay Sajip2021-11-291-0/+22
| | | | i… (GH-29838)
* bpo-45786: Allocate space for frame in frame object. (GH-29729)Mark Shannon2021-11-2912-181/+76
|