Commit message (Collapse) | Author | Age | Files | Lines | ||
---|---|---|---|---|---|---|
... | ||||||
* | bpo-41844: Update IDLE part of What's New 3.9 to 20228 (GH-30905) | Terry Jan Reedy | 2022-01-26 | 1 | -0/+14 | |
| | ||||||
* | bpo-48146: Update IDLE part of What's New 3.10 to 2022 (GH-30906) | Terry Jan Reedy | 2022-01-26 | 1 | -6/+11 | |
| | ||||||
* | bpo-46431: use raw string for regex in test (GH-30901) | Irit Katriel | 2022-01-25 | 1 | -1/+1 | |
| | ||||||
* | Add skips to crashing tests under sanitizers instead of manually skipping ↵ | Pablo Galindo Salgado | 2022-01-25 | 7 | -7/+37 | |
| | | | | them (GH-30897) | |||||
* | bpo-46091: Correctly calculate indentation levels for whitespace lines with ↵ | Pablo Galindo Salgado | 2022-01-25 | 5 | -16/+165 | |
| | | | | continuation characters (GH-30130) | |||||
* | Refactor sanitiser skip tests into test.support (GH-30889) | Pablo Galindo Salgado | 2022-01-25 | 3 | -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 Stinner | 2022-01-25 | 1 | -0/+3 | |
| | ||||||
* | bpo-46510: Add missing test for types.TracebackType/FrameType. Calculate ↵ | Irit Katriel | 2022-01-25 | 3 | -5/+14 | |
| | | | | them directly from the caught exception. (GH-30880) | |||||
* | bpo-46510: simplify exception handling code in xmlrpc (GH-30878) | Irit Katriel | 2022-01-25 | 1 | -31/+15 | |
| | ||||||
* | bpo-46510: update Python2-style exception handling in argparse (GH-30881) | Kumar Aditya | 2022-01-25 | 1 | -6/+4 | |
| | ||||||
* | Move doctests to the main docs. Eliminate duplication. Improve coverage. ↵ | Raymond Hettinger | 2022-01-25 | 2 | -393/+238 | |
| | | | | (GH-30869) | |||||
* | bpo-46420: Use NOTRACE_DISPATCH() in specialized opcodes (GH-30652) | Dennis Sweeney | 2022-01-25 | 1 | -26/+43 | |
| | ||||||
* | bpo-46496: Update IDLE News to 2021 Jan 24 (GH-30875) | Terry Jan Reedy | 2022-01-25 | 1 | -0/+12 | |
| | ||||||
* | bpo-40280: Skip subprocess-based tests on wasm32-emscripten (GH-30615) | Christian Heimes | 2022-01-25 | 42 | -23/+139 | |
| | ||||||
* | bpo-46491: Allow Annotated on outside of Final/ClassVar (GH-30864) | Gregory Beauregard | 2022-01-25 | 3 | -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 Reedy | 2022-01-25 | 3 | -3/+34 | |
| | ||||||
* | bpo-46503: Prevent an assert from firing when parsing some invalid \N ↵ | Eric V. Smith | 2022-01-25 | 3 | -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 Peters | 2022-01-25 | 1 | -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 Katriel | 2022-01-24 | 1 | -31/+55 | |
| | | | | and exceptions attributes (GH-30852) | |||||
* | bpo-46431: improve error message on invalid calls to ↵ | Irit Katriel | 2022-01-24 | 3 | -2/+6 | |
| | | | | BaseExceptionGroup.__new__ (GH-30854) | |||||
* | fixed flaky test (GH-30845) | Kumar Aditya | 2022-01-24 | 1 | -5/+7 | |
| | ||||||
* | bpo-40280: Get help() working and more (GH-30858) | Christian Heimes | 2022-01-24 | 3 | -13/+20 | |
| | ||||||
* | bpo-45711: move whatsnew entries which are incorrectly listed under New ↵ | Irit Katriel | 2022-01-24 | 1 | -10/+11 | |
| | | | | Features (GH-30849) | |||||
* | bpo-46470: remove unused branch from `typing._remove_dups_flatten` (GH-30780) | Nikita Sobolev | 2022-01-24 | 2 | -2/+1 | |
| | | | The branch was a remnant of old 3.6 typing.Union implementation. | |||||
* | bpo-41906: Accept built filters in dictConfig (GH-30756) | Mario Corchero | 2022-01-24 | 4 | -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 Sobolev | 2022-01-24 | 4 | -14/+42 | |
| | | | Co-authored-by: Batuhan Taskaya <isidentical@gmail.com> | |||||
* | bpo-43683: Streamline YIELD_VALUE and SEND (GH-30723) | Mark Shannon | 2022-01-24 | 9 | -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 Zijlstra | 2022-01-23 | 1 | -1/+1 | |
| | ||||||
* | bpo-46486: Fixed misspelled name DesciptorClassification | Kumar Aditya | 2022-01-23 | 1 | -8/+8 | |
| | ||||||
* | Improve grouper() recipe to demonstrate all forms of zip() (GH-30837) | Raymond Hettinger | 2022-01-23 | 2 | -9/+41 | |
| | ||||||
* | bpo-41403: Improve error message for invalid mock target (GH-30833) | Irit Katriel | 2022-01-23 | 3 | -5/+13 | |
| | ||||||
* | bpo-46471: Use single byte singletons (GH-30781) | Kumar Aditya | 2022-01-23 | 2 | -0/+3 | |
| | ||||||
* | bpo-46103: Fix inspect.getmembers to only get __bases__ from class (GH-30147) | Weipeng Hong | 2022-01-23 | 3 | -13/+20 | |
| | ||||||
* | bpo-46481: Implement vectorcall for weakref.ref.__call__ method. (GH-30820) | Dong-hee Na | 2022-01-23 | 4 | -52/+35 | |
| | ||||||
* | bpo-46483: change `PurePath.__class_getitem__` to return `GenericAlias` ↵ | Nikita Sobolev | 2022-01-23 | 3 | -5/+13 | |
| | | | | (GH-30822) | |||||
* | bpo-46406: Faster single digit int division. (#30626) | Gregory P. Smith | 2022-01-23 | 2 | -10/+29 | |
| | | | | | | | | | * bpo-46406: Faster single digit int division. This expresses the algorithm in a more basic manner resulting in better instruction generation by todays compilers. See https://mail.python.org/archives/list/python-dev@python.org/thread/ZICIMX5VFCX4IOFH5NUPVHCUJCQ4Q7QM/#NEUNFZU3TQU4CPTYZNF3WCN7DOJBBTK5 | |||||
* | bpo-29882: Fix portability bug introduced in GH-30774 (#30794) | Mark Dickinson | 2022-01-23 | 2 | -4/+15 | |
| | ||||||
* | bpo-46474: Avoid REDoS in EntryPoint.pattern (sync with importlib_metadata ↵ | Jason R. Coombs | 2022-01-23 | 2 | -2/+4 | |
| | | | | 4.10.1) (GH-30803) | |||||
* | bpo-45382: test.pythoninfo logs more Windows versions (GH-30817) | Victor Stinner | 2022-01-23 | 1 | -0/+39 | |
| | | | | | | | Add the following info to test.pythoninfo: * windows.ver: output of the shell "ver" command * windows.version and windows.version_caption: output of the "wmic os get Caption,Version /value" command. | |||||
* | This localization technique is no longer cost effective. (GH-30818) | Raymond Hettinger | 2022-01-23 | 1 | -12/+12 | |
| | ||||||
* | bpo-46474: Apply changes from importlib_metadata 4.10.0 (GH-30802) | Jason R. Coombs | 2022-01-23 | 3 | -28/+3 | |
| | ||||||
* | bpo-46425: Partially revert "bpo-46425: fix direct invocation of ↵ | Jason R. Coombs | 2022-01-23 | 10 | -40/+22 | |
| | | | | | `test_importlib` (GH-30682)" (GH-30799) This reverts commit 57316c52bae5d6420f5067f3891ec328deb97305 for files pertaining to importlib.metadata and importlib.resources. | |||||
* | bpo-46477: [Enum] ensure Flag subclasses have correct bitwise methods (GH-30816) | Ethan Furman | 2022-01-23 | 2 | -39/+48 | |
| | ||||||
* | bpo-46417: _PyList_Fini() clears indexerr (GH-30815) | Victor Stinner | 2022-01-23 | 1 | -2/+6 | |
| | | | _PyList_Fini() now clears the 'indexerr' error message. | |||||
* | Minor code rearrangement to group related methods together. (GH-30813) | Raymond Hettinger | 2022-01-23 | 1 | -40/+38 | |
| | | | | * Make example more focused with math.prod() * Move comparison tests to the multiset operations section | |||||
* | bpo-46417: Fix _PyStaticType_Dealloc() (GH-30810) | Victor Stinner | 2022-01-22 | 1 | -3/+11 | |
| | | | | _PyStaticType_Dealloc() now only calls PyObject_ClearWeakRefs() if the call is not going to fail. | |||||
* | bpo-46417: Clear symtable identifiers at exit (GH-30809) | Victor Stinner | 2022-01-22 | 4 | -3/+25 | |
| | | | | | | Add _PySymtable_Fini() function, called by finalize_interp_clear(). Update test_cmd_line.test_showrefcount() to tolerate negative reference count. | |||||
* | bpo-41682: Skip unstable test_asyncio sendfile test on Windows (GH-30801) | Nikita Sobolev | 2022-01-22 | 1 | -0/+2 | |
| | ||||||
* | bpo-46417: Clear _io module static objects at exit (GH-30807) | Victor Stinner | 2022-01-22 | 2 | -44/+99 | |
| | | | | Add _PyIO_Fini() function, called by finalize_interp_clear(). It clears static objects used by the _io extension module. | |||||
* | bpo-46417: Clear Unicode static types at exit (GH-30806) | Victor Stinner | 2022-01-22 | 6 | -22/+25 | |
| | | | | | | | | | | | Add _PyUnicode_FiniTypes() function, called by finalize_interp_types(). It clears these static types: * EncodingMapType * PyFieldNameIter_Type * PyFormatterIter_Type _PyStaticType_Dealloc() now does nothing if tp_subclasses is not NULL. |