Commit message (Collapse) | Author | Age | Files | Lines | ||
---|---|---|---|---|---|---|
... | ||||||
* | bpo-13236: Flush the output stream more often in unittest (GH-29864) | Serhiy Storchaka | 2021-12-04 | 4 | -5/+54 | |
| | | | It can prevent some losses when output to buffered stream. | |||||
* | Fixed documentation typo in compileall.py (GH-29912) | Vishal Pandey | 2021-12-04 | 1 | -1/+1 | |
| | ||||||
* | bpo-45847: Update whatsnew and add place holder entries for missing ↵ | Christian Heimes | 2021-12-04 | 3 | -7/+23 | |
| | | | | extensions (GH-29914) | |||||
* | bpo-45847: Port _ctypes partly to PY_STDLIB_MOD (GH-29747) | Christian Heimes | 2021-12-04 | 5 | -36/+482 | |
| | | | Co-authored-by: Erlend Egeberg Aasland <erlend.aasland@innova.no> | |||||
* | bpo-45695: Test out-of-tree builds on GHA (GH-29904) | Christian Heimes | 2021-12-04 | 2 | -3/+19 | |
| | ||||||
* | bpo-20751: Replace method example with attribute example, matching the ↵ | Raymond Hettinger | 2021-12-04 | 1 | -4/+32 | |
| | | | | descriptor howto (GH-29909) | |||||
* | bpo-45582 Fix prototype of _Py_Get_Getpath_CodeObject. (GH-29907) | Benjamin Peterson | 2021-12-03 | 1 | -1/+1 | |
| | | | Automerge-Triggered-By: GH:tiran | |||||
* | bpo-45582: Add a NOT operator to the condition in getpath_isxfile (GH-29906) | neonene | 2021-12-03 | 1 | -3/+9 | |
| | ||||||
* | bpo-45607: Make it possible to enrich exception displays via setting their ↵ | Irit Katriel | 2021-12-03 | 10 | -5/+183 | |
| | | | | __note__ field (GH-29880) | |||||
* | bpo-45816: Support building with VS 2022 (v143 toolset) on Windows (GH-29577) | Crowthebird | 2021-12-03 | 5 | -4/+5 | |
| | ||||||
* | bpo-45711: [asyncio] Normalize exceptions immediately after Fetch, before ↵ | Irit Katriel | 2021-12-03 | 2 | -7/+13 | |
| | | | | they are stored as StackItem, which should be normalized (GH-29890) | |||||
* | bpo-45950: Introduce Bootstrap Python again (#29859) | Christian Heimes | 2021-12-03 | 9 | -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 Heimes | 2021-12-03 | 4 | -11/+9 | |
| | ||||||
* | bpo-45885: Specialize COMPARE_OP (GH-29734) | Dennis Sweeney | 2021-12-03 | 9 | -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 Dower | 2021-12-03 | 40 | -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 Ware | 2021-12-02 | 1 | -1/+1 | |
| | ||||||
* | bpo-40280: Update what's new (GH-29893) | Christian Heimes | 2021-12-02 | 1 | -0/+5 | |
| | ||||||
* | bpo-45535: Improve output of Enum ``dir()`` (GH-29316) | Alex Waygood | 2021-12-02 | 5 | -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 Heimes | 2021-12-02 | 2 | -5/+13 | |
| | ||||||
* | bpo-45954: Rename PyConfig.no_debug_ranges to code_debug_ranges (GH-29886) | Victor Stinner | 2021-12-02 | 8 | -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 Heimes | 2021-12-02 | 2 | -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 Clauss | 2021-12-02 | 1 | -31/+42 | |
| | ||||||
* | bpo-40280: Emscripten with_ensurepip=no, second attempt (GH-29884) | Christian Heimes | 2021-12-01 | 2 | -2/+2 | |
| | ||||||
* | bpo-40280: Emscripten defaults to --with-ensurepip=no (GH-29873) | Christian Heimes | 2021-12-01 | 2 | -2/+15 | |
| | ||||||
* | bpo-30533: Add docs for `inspect.getmembers_static` (#29874) | Weipeng Hong | 2021-12-01 | 2 | -0/+25 | |
| | | | | | * Add docs for `inspect.getmembers_static` * update | |||||
* | bpo-45952: Get the C analyzer tool working again. (gh-29882) | Eric Snow | 2021-12-01 | 6 | -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) | Rob | 2021-12-01 | 1 | -3/+4 | |
| | ||||||
* | bpo-45753: Interpreter internal tweaks (GH-29575) | Mark Shannon | 2021-12-01 | 3 | -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 Hettinger | 2021-12-01 | 1 | -3/+2 | |
| | ||||||
* | bpo-45876: Correctly rounded stdev() and pstdev() for the Decimal case ↵ | Raymond Hettinger | 2021-12-01 | 2 | -22/+112 | |
| | | | | (GH-29828) | |||||
* | bpo-45711: Change exc_info related APIs to derive type and traceback from ↵ | Irit Katriel | 2021-11-30 | 7 | -36/+104 | |
| | | | | the exception instance (GH-29780) | |||||
* | bpo-30533:Add function inspect.getmembers_static that does not call ↵ | Weipeng Hong | 2021-11-30 | 3 | -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 Stinner | 2021-11-30 | 1 | -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 Stinner | 2021-11-30 | 6 | -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 Pandey | 2021-11-30 | 1 | -2/+2 | |
| | | | | (GH-29801) | |||||
* | Fix EncodingWarning in Tools/freeze/test/freeze.py (GH-29742) | Inada Naoki | 2021-11-30 | 1 | -2/+2 | |
| | ||||||
* | no-issue: remove unused import from test_graphlib.py (GH-29853) | Adrian Garcia Badaracco | 2021-11-30 | 1 | -2/+1 | |
| | ||||||
* | bpo-45931: Prevent Directory.Build.props/targets from leaking from ↵ | David Federman | 2021-11-29 | 3 | -2/+10 | |
| | | | | directories above the repo when building on Windows (GH-29854) | |||||
* | bpo-45653: fix test_embed on windows (GH-29814) | Kumar Aditya | 2021-11-29 | 1 | -1/+1 | |
| | ||||||
* | bpo-45917: Add math.exp2() method - return 2 raised to the power of x (GH-29829) | Gideon | 2021-11-29 | 6 | -0/+26 | |
| | | | Co-authored-by: Mark Dickinson <dickinsm@gmail.com> | |||||
* | bpo-43905: Expand dataclasses.astuple() and asdict() docs (GH-26154) | andrei kulakov | 2021-11-29 | 2 | -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 Sajip | 2021-11-29 | 1 | -1/+1 | |
| | ||||||
* | bpo-45881: configure --with-freeze-module --with-build-python (GH-29835) | Christian Heimes | 2021-11-29 | 5 | -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 Heimes | 2021-11-29 | 2 | -83/+608 | |
| | ||||||
* | bpo-45828: Use unraisable exceptions within sqlite3 callbacks (FH-29591) | Erlend Egeberg Aasland | 2021-11-29 | 6 | -34/+64 | |
| | ||||||
* | bpo-40280: Emscripten systems use .wasm suffix by default (GH-29842) | Christian Heimes | 2021-11-29 | 4 | -16/+43 | |
| | ||||||
* | bpo-45723: Sort the grand AC_CHECK_HEADERS check (GH-29846) | Erlend Egeberg Aasland | 2021-11-29 | 2 | -30/+24 | |
| | | | Automerge-Triggered-By: GH:tiran | |||||
* | bpo-45847: Make socket module conditional (GH-29769) | Erlend Egeberg Aasland | 2021-11-29 | 3 | -18/+51 | |
| | ||||||
* | [Doc] Add info to logging cookbook about running logging socket listeners ↵ | Vinay Sajip | 2021-11-29 | 1 | -0/+22 | |
| | | | | i… (GH-29838) | |||||
* | bpo-45786: Allocate space for frame in frame object. (GH-29729) | Mark Shannon | 2021-11-29 | 12 | -181/+76 | |
| |