summaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeFilesLines
* bpo-45162: Revert "Remove many old deprecated unittest features" (GH-30935)Gregory P. Smith2022-01-2714-55/+376
| | | | | | | | | | Revert "bpo-45162: Remove many old deprecated unittest features (GH-28268)" This reverts commit b0a6ede3d0bd6fa4ffe413ab4dfc1059201df25b. We're deferring this change until 3.12 while upstream projects that use the legacy assertion method names are fixed. See the issue for links to the discussion. Many upstream projects now have issues and PRs filed.
* bpo-46496: news11-10 for bpo45296 (GH-30937)Terry Jan Reedy2022-01-271-0/+6
|
* bpo-45296: Clarify close, quit, and exit in IDLE (GH-30936)Terry Jan Reedy2022-01-274-15/+23
| | | | | | In the File menu, 'Close' and 'Exit' are now 'Close Window' (the current one) and 'Exit' is now 'Exit IDLE' (by closing all windows). In Shell, 'quit()' and 'exit()' mean 'close Shell'. If there are no other windows, this also exits IDLE.
* bpo-46539: Pass status of special typeforms to forward references (GH-30926)Gregory Beauregard2022-01-273-3/+18
| | | | | | | | | Previously this didn't matter because there weren't any valid code paths that could trigger a type check with a special form, but after the bug fix for `Annotated` wrapping special forms it's now possible to annotate something like `Annotated['ClassVar[int]', (3, 4)]`. This change would also be needed for proposed future changes, such as allowing `ClassVar` and `Final` to nest each other in dataclasses.
* bpo-40170: Remove _Py_GetAllocatedBlocks() function (GH-30940)Victor Stinner2022-01-274-9/+16
| | | | Move _Py_GetAllocatedBlocks() and _PyObject_DebugMallocStats() private functions to the internal C API.
* bpo-40170: PyType_SUPPORTS_WEAKREFS() becomes a regular function (GH-30938)Victor Stinner2022-01-277-10/+24
| | | | | | | | Convert the PyType_SUPPORTS_WEAKREFS() macro to a regular function. It no longer access the PyTypeObject.tp_weaklistoffset member directly. Add _PyType_SUPPORTS_WEAKREFS() static inline functions, used internally by Python for best performance.
* bpo-46502: Remove "How do I tell incomplete input" from FAQ (GH-30925)Mateusz Łoskot2022-01-261-122/+0
| | | | | | | | | | | | Since, - Py_CompileString no longer allows to distinguish "incomplete input" from "invalid input" - there is no alternative solution available from the Python C API due to how the new parser works (rewritten in 3.9) - the only supported way is to manually import the codeop module from C and use its API as IDLE does, and accept its own complications it is desirable to remove this Q&A from the official FAQ.
* make regen-all now suggests running: make autoconf (GH-30893)Victor Stinner2022-01-261-1/+1
| | | "make autoconf" also runs autoheader, whereas "autoconf" does not.
* bpo-38472: setup.py uses LC_ALL=C to check the C compiler (GH-30929)Victor Stinner2022-01-262-1/+5
| | | | | Fix GCC detection in setup.py when cross-compiling. The C compiler is now run with LC_ALL=C. Previously, the detection failed with a German locale.
* bpo-46528: Simplify the VM's stack manipulations (GH-30902)Brandt Bucher2022-01-2612-320/+285
|
* bpo-35134: Add Include/cpython/descrobject.h (GH-30923)Victor Stinner2022-01-265-69/+78
| | | | Move Include/descrobject.h non-limited API to a new Include/cpython/descrobject.h header file.
* bpo-43853: Expand test suite for SQLite UDF's (GH-27642)Erlend Egeberg Aasland2022-01-263-67/+78
|
* bpo-46527: allow calling enumerate(iterable=...) again (GH-30904)Jelle Zijlstra2022-01-263-12/+55
|
* Use existing unbound_local_error label in DELETE_FAST opcode (GH-30882)Kumar Aditya2022-01-261-6/+1
|
* bpo-46529: increase coverage of `typing.Union.__repr__` method (GH-30911)Nikita Sobolev2022-01-261-0/+9
|
* bpo-43698: do not use `...` as argument name in docs (GH-30502)Nikita Sobolev2022-01-264-19/+16
|
* bpo-45578: add a test case for `dis.findlabels` (GH-30058)Nikita Sobolev2022-01-261-0/+10
|
* bpo-46513: Remove AC_C_CHAR_UNSIGNED / __CHAR_UNSIGNED__ (GH-30851)Christian Heimes2022-01-265-46/+2
|
* bpo-41844: Update IDLE part of What's New 3.9 to 20228 (GH-30905)Terry Jan Reedy2022-01-261-0/+14
|
* bpo-48146: Update IDLE part of What's New 3.10 to 2022 (GH-30906)Terry Jan Reedy2022-01-261-6/+11
|
* bpo-46431: use raw string for regex in test (GH-30901)Irit Katriel2022-01-251-1/+1
|
* Add skips to crashing tests under sanitizers instead of manually skipping ↵Pablo Galindo Salgado2022-01-257-7/+37
| | | | them (GH-30897)
* bpo-46091: Correctly calculate indentation levels for whitespace lines with ↵Pablo Galindo Salgado2022-01-255-16/+165
| | | | continuation characters (GH-30130)
* Refactor sanitiser skip tests into test.support (GH-30889)Pablo Galindo Salgado2022-01-253-34/+42
| | | | | | | * Refactor sanitizer skip tests into test.support * fixup! Refactor sanitizer skip tests into test.support * fixup! fixup! Refactor sanitizer skip tests into test.support
* bpo-45382: test.pythoninfo: set wmic.exe encoding to OEM (GH-30890)Victor Stinner2022-01-251-0/+3
|
* bpo-46510: Add missing test for types.TracebackType/FrameType. Calculate ↵Irit Katriel2022-01-253-5/+14
| | | | them directly from the caught exception. (GH-30880)
* bpo-46510: simplify exception handling code in xmlrpc (GH-30878)Irit Katriel2022-01-251-31/+15
|
* bpo-46510: update Python2-style exception handling in argparse (GH-30881)Kumar Aditya2022-01-251-6/+4
|
* Move doctests to the main docs. Eliminate duplication. Improve coverage. ↵Raymond Hettinger2022-01-252-393/+238
| | | | (GH-30869)
* bpo-46420: Use NOTRACE_DISPATCH() in specialized opcodes (GH-30652)Dennis Sweeney2022-01-251-26/+43
|
* bpo-46496: Update IDLE News to 2021 Jan 24 (GH-30875)Terry Jan Reedy2022-01-251-0/+12
|
* bpo-40280: Skip subprocess-based tests on wasm32-emscripten (GH-30615)Christian Heimes2022-01-2542-23/+139
|
* bpo-46491: Allow Annotated on outside of Final/ClassVar (GH-30864)Gregory Beauregard2022-01-253-4/+13
| | | | | We treat Annotated type arg as class-level annotation. This exempts it from checks against Final and ClassVar in order to allow using them in any nesting order. Automerge-Triggered-By: GH:gvanrossum
* bpo-41841: update idlelib News up to 3.10.0. (GH-30868)Terry Jan Reedy2022-01-253-3/+34
|
* bpo-46503: Prevent an assert from firing when parsing some invalid \N ↵Eric V. Smith2022-01-253-2/+19
| | | | | | | sequences in f-strings. (GH-30865) * bpo-46503: Prevent an assert from firing. Also fix one nearby tiny PEP-7 nit. * Added blurb.
* bpo-46504: faster code for trial quotient in x_divrem() (GH-30856)Tim Peters2022-01-251-1/+8
| | | | | | | | | | * bpo-46504: faster code for trial quotient in x_divrem() This brings x_divrem() back into synch with x_divrem1(), which was changed in bpo-46406 to generate faster code to find machine-word division quotients and remainders. Modern processors compute both with a single machine instruction, but convincing C to exploit that requires writing _less_ "clever" C code.
* bpo-46431: Add example of subclassing ExceptionGroup. Document the message ↵Irit Katriel2022-01-241-31/+55
| | | | and exceptions attributes (GH-30852)
* bpo-46431: improve error message on invalid calls to ↵Irit Katriel2022-01-243-2/+6
| | | | BaseExceptionGroup.__new__ (GH-30854)
* fixed flaky test (GH-30845)Kumar Aditya2022-01-241-5/+7
|
* bpo-40280: Get help() working and more (GH-30858)Christian Heimes2022-01-243-13/+20
|
* bpo-45711: move whatsnew entries which are incorrectly listed under New ↵Irit Katriel2022-01-241-10/+11
| | | | Features (GH-30849)
* bpo-46470: remove unused branch from `typing._remove_dups_flatten` (GH-30780)Nikita Sobolev2022-01-242-2/+1
| | | The branch was a remnant of old 3.6 typing.Union implementation.
* bpo-41906: Accept built filters in dictConfig (GH-30756)Mario Corchero2022-01-244-1/+55
| | | | | | | When configuring the logging stack, accept already built filters (or just callables) in the filters array of loggers and handlers. This facilitates passing quick callables as filters. Automerge-Triggered-By: GH:vsajip
* bpo-46422: use `dis.Positions` in `dis.Instruction` (GH-30716)Nikita Sobolev2022-01-244-14/+42
| | | Co-authored-by: Batuhan Taskaya <isidentical@gmail.com>
* bpo-43683: Streamline YIELD_VALUE and SEND (GH-30723)Mark Shannon2022-01-249-43/+72
| | | | | | | | * Split YIELD_VALUE into ASYNC_GEN_WRAP; YIELD_VALUE for async generators. * Split SEND into SEND; YIELD_VALUE. * Document new opcodes.
* fix typo in typing.rst (#30841)Jelle Zijlstra2022-01-231-1/+1
|
* bpo-46486: Fixed misspelled name DesciptorClassificationKumar Aditya2022-01-231-8/+8
|
* Improve grouper() recipe to demonstrate all forms of zip() (GH-30837)Raymond Hettinger2022-01-232-9/+41
|
* bpo-41403: Improve error message for invalid mock target (GH-30833)Irit Katriel2022-01-233-5/+13
|
* bpo-46471: Use single byte singletons (GH-30781)Kumar Aditya2022-01-232-0/+3
|