summaryrefslogtreecommitdiffstats
path: root/Lib
Commit message (Collapse)AuthorAgeFilesLines
* bpo-42116: Fix inspect.getsource handling of trailing comments (GH-23630)Irit Katriel2020-12-043-4/+48
|
* bpo-41473: Reenable test_gdb on gdb 9.2 and newer (GH-23637)Victor Stinner2020-12-041-5/+0
| | | | https://bugzilla.redhat.com/show_bug.cgi?id=1866884 is fixed in gdb 10.1 (failed to reproduce on gdb-10.1-1.fc34.aarch64).
* bpo-42246: Don't forget the entry block when ensuring that all exits have a ↵Mark Shannon2020-12-041-0/+18
| | | | | line number (GH-23636) Don't forget the entry block when ensuring that all exits have a line number.
* bpo-42562: Fix issue when dis failed to parse function that has no line ↵Yurii Karabas2020-12-042-1/+18
| | | | | | numbers (GH-23632) Fix issue when dis failed to parse function that has only annotations
* bpo-42553: Fix test_asyncio.test_call_later() (GH-23627)Victor Stinner2020-12-031-3/+0
| | | | | Fix test_asyncio.test_call_later() race condition: don't measure asyncio performance in the call_later() unit test. The test failed randomly on the CI.
* bpo-42328: Skip some tests with themes vista and xpnative on Windows 7 ↵Serhiy Storchaka2020-12-031-0/+9
| | | | (GH-23612)
* Remove the conditional for setting query. (#23604)Senthil Kumaran2020-12-031-2/+1
|
* bpo-42504: fix for MACOSX_DEPLOYMENT_TARGET=11 (GH-23556)FX Coudert2020-12-033-6/+10
| | | | macOS releases numbering has changed as of macOS 11 Big Sur. Previously, major releases were of the form 10.x, 10.x+1, 10.x+2, etc; as of Big Sur, they are now x, x+1, etc, so, for example, 10.15, 10.15.1, ..., 10.15.7, 11, 11.0.1, 11.1, ..., 12, 12.1, etc. Allow Python to build with single-digit deployment target values. Patch provided by FX Coudert.
* bpo-42246: Make sure that line number is correct after a return, as required ↵Mark Shannon2020-12-022-5/+42
| | | | | by PEP 626 (GH-23495) Make sure that line number is correct after a return, as defined by PEP 626.
* bpo-42500: Fix recursion in or after except (GH-23568)Mark Shannon2020-12-022-41/+57
| | | * Use counter, rather boolean state when handling soft overflows.
* bpo-31904: Fix test_netrc for VxWorks RTOS (GH-21675)pxinwr2020-12-011-48/+42
| | | Fix test_netrc on VxWorks: create temporary directories using temp_cwd().
* bpo-31904: Fix fifo test cases for VxWorks (GH-20254)pxinwr2020-12-012-6/+17
|
* bpo-38200: Add itertools.pairwise() (GH-23549)Raymond Hettinger2020-12-011-18/+34
|
* bpo-42482: remove reference to exc_traceback from TracebackException (GH-23531)Irit Katriel2020-12-012-3/+24
|
* bpo-31904: Support signal module on VxWorks (GH-23391)pxinwr2020-11-301-3/+10
|
* bpo-28468: Add platform.freedesktop_os_release() (GH-23492)Christian Heimes2020-11-302-0/+163
| | | | | | | Add platform.freedesktop_os_release() function to parse freedesktop.org os-release files. Signed-off-by: Christian Heimes <christian@python.org> Co-authored-by: Victor Stinner <vstinner@python.org>
* bpo-42508: Remove bogus idlelib.pyshell.ModifiedInterpreter attribute (GH-23570)Terry Jan Reedy2020-11-301-1/+1
| | | restart_subprocess is a method of self, the pyshell.InteractiveInterpreter instance. The latter does not have an interp attribute redundantly referring to itself. (The PyShell instance does have an interp attribute, referring to the InteractiveInterpreter instance.)
* bpo-42487: don't call __getitem__ of underlying maps in ChainMap.__iter__ ↵Andreas Poehlmann2020-11-302-1/+17
| | | | (GH-23534)
* bpo-42506: Fix unexpected output in test_format (GH-23564)Zackery Spytz2020-11-301-2/+2
|
* bpo-42142: Try to fix timeouts in ttk tests (GH-23474)Serhiy Storchaka2020-11-302-19/+7
| | | | | Instead of using wait_visibility() which waits event <VisibilityNotify> in dead loop use update() which should proceed all queued events.
* bpo-42450: Minor updates to the itertools recipes (GH-23555)Raymond Hettinger2020-11-291-2/+2
|
* bpo-42406: Fix whichmodule() with multiprocessing (GH-23403)Renato Cunha2020-11-291-1/+3
| | | | | | * bpo-42406: Fix whichmodule() with multiprocessing Signed-off-by: Renato L. de F. Cunha <renatoc@br.ibm.com> Co-authored-by: Gregory P. Smith <greg@krypto.org>
* bpo-31904: skip some tests related to fifo on VxWorks (GH-23473)pxinwr2020-11-282-0/+6
| | | On VxWork RTOS, FIFO must be created under directory "/fifos/". Some test cases related to fifo is invalid on VxWorks. So skip them.
* bpo-31904: add shell requirement for test_pipes (GH-23489)pxinwr2020-11-282-2/+5
| | | VxWorks has no user space shell provided so it can't support pipes module. Also add shell requirement for running test_pipes.
* skip test_test of test_mailcap on VxWorks (GH-23507)pxinwr2020-11-281-0/+2
|
* skip test_getaddrinfo_ipv6_scopeid_symbolic and ↵pxinwr2020-11-281-0/+2
| | | | test_getnameinfo_ipv6_scopeid_symbolic on VxWorks (GH-23518)
* bpo-41818: Fix test_master_read() so that it succeeds on all platforms that ↵Soumendra Ganguly2020-11-281-10/+5
| | | | | either raise OSError or return b"" upon reading from master (GH-23536) Signed-off-by: Soumendra Ganguly <soumendraganguly@gmail.com>
* bpo-31904: Fix test_os.test_getcwd_long_path() failure for VxWorks (GH-20256)pxinwr2020-11-281-0/+4
|
* bpo-34215: Clarify IncompleteReadError message when "expected" is None ↵Zackery Spytz2020-11-282-4/+7
| | | | | (GH-21925) Co-Authored-By: Tyler Bell <mrbell321@gmail.com>
* bpo-41241: Unnecessary Type casting in 'if condition' (GH-21396)Wansoo Kim2020-11-281-1/+1
| | | | | | | | This is my first issue! So, if there's anything wrong, please tell me! Also, thank you always for all the contributors! Automerge-Triggered-By: GH:asvetlov
* bpo-42392: Remove loop parameter from asyncio.tasks and asyncio.subprocess ↵Yurii Karabas2020-11-288-158/+64
| | | | (GH-23521)
* bpo-42452: Improve colorsys.rgb_to_hls code (GH-23306)Julien Jerphanion2020-11-281-7/+8
| | | Cache repeated sum and difference to make code slightly faster and easier to read.
* bpo-42474: test TracebackException comparison to non-equal instances (GH-23522)Irit Katriel2020-11-271-2/+39
| | | Closes bpo-42474
* bpo-41818: Make test_openpty() avoid unexpected success due to number of ↵Soumendra Ganguly2020-11-271-19/+10
| | | | rows and/or number of columns being == 0. (GH-23526)
* bpo-41332: Added missing connect_accepted_socket() to AbstractEventLoop ↵Alex Grönholm2020-11-262-8/+14
| | | | | | (GH-21533) Co-authored-by: Andrew Svetlov <andrew.svetlov@gmail.com> Co-authored-by: Kyle Stanley <aeros167@gmail.com>
* bpo-42392: Remove loop parameter from asyncio.streams (GH-23517)Yurii Karabas2020-11-265-109/+54
|
* bpo-41818: test_openpty succeed on Gentoo, don't expect to fail on this ↵Andrew Svetlov2020-11-251-0/+14
| | | | platform (GH-23514)
* bpo-41818: Updated tests for the standard pty library (GH-22962)Soumendra Ganguly2020-11-251-11/+111
|
* bpo-42299: Remove formatter module (GH-23476)Dong-hee Na2020-11-252-453/+1
|
* bpo-42392: Improve removal of *loop* parameter in asyncio primitives (GH-23499)Yurii Karabas2020-11-255-35/+46
| | | | | | | | | | * Update code after merge review from 1st1 * Use a sentinel approach for loop parameter Remove unnecessary _get_running_loop patching * Use more clear function name (_verify_parameter_is_marker -> _verify_no_loop) * Add init method to _LoopBoundMixin to check that loop param wasn't used
* bpo-42202: Store func annotations as a tuple (GH-23316)Yurii Karabas2020-11-251-1/+2
| | | | | | | | | | | | | Reduce memory footprint and improve performance of loading modules having many func annotations. >>> sys.getsizeof({"a":"int","b":"int","return":"int"}) 232 >>> sys.getsizeof(("a","int","b","int","return","int")) 88 The tuple is converted into dict on the fly when `func.__annotations__` is accessed first. Co-authored-by: Serhiy Storchaka <storchaka@gmail.com> Co-authored-by: Inada Naoki <songofacandy@gmail.com>
* bpo-12800: tarfile: Restore fix from 011525ee9 (GH-21409)Julien Palard2020-11-252-3/+6
| | | Restore fix from 011525ee92eb1c13ad1a62d28725a840e28f8160.
* bpo-42392: Remove loop parameter form asyncio locks and Queue (#23420)Yurii Karabas2020-11-249-451/+302
| | | Co-authored-by: Andrew Svetlov <andrew.svetlov@gmail.com>
* bpo-42370: Check element before making mouse click in ttk tests (GH-23491)Serhiy Storchaka2020-11-241-3/+11
|
* bpo-41100: in test_platform, ignore 10.16 (GH-23485)Ned Deily2020-11-241-1/+4
|
* Added support for negative indexes to PurePath.parents (GH-21799)Yaroslav Pankovych2020-11-232-2/+6
| | | | | | | | | | This commit also fixes up some of the overlapping documentation changed in bpo-35498, which added support for indexing with slices. Fixes bpo-21041. https://bugs.python.org/issue21041 Co-authored-by: Paul Ganssle <p.ganssle@gmail.com> Co-authored-by: Rémi Lapeyre <remi.lapeyre@henki.fr>
* bpo-15450: Allow subclassing of dircmp (GH-23424) (#23424)Nick Crews2020-11-232-12/+50
| | | Co-authored-by: Chris Jerdonek <chris.jerdonek@gmail.com>
* bpo-28850: Fix PrettyPrinter.format overrides ignored for contents of small ↵Irit Katriel2020-11-232-75/+88
| | | | containers (GH-22120)
* bpo-42328: Fix tkinter.ttk.Style.map(). (GH-23300)Serhiy Storchaka2020-11-223-28/+107
| | | | | | | The function accepts now the representation of the default state as empty sequence (as returned by Style.map()). The structure of the result is now the same on all platform and does not depend on the value of wantobjects.
* bpo-42427: Use the errno attribute of OSError instead of args[0] (GH-23449)Serhiy Storchaka2020-11-223-11/+11
|