summaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeFilesLines
...
* bpo-42482: remove reference to exc_traceback from TracebackException (GH-23531)Irit Katriel2020-12-013-3/+25
|
* bpo-31904: Support signal module on VxWorks (GH-23391)pxinwr2020-11-303-3/+15
|
* bpo-28468: Add platform.freedesktop_os_release() (GH-23492)Christian Heimes2020-11-305-0/+211
| | | | | | | 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>
* Refactor the grammar to match the language specification docs (GH-23574)Pablo Galindo2020-11-302-101/+101
|
* bpo-42485: [Doc] Link to PEP 617 from full grammar specification (GH-23532)James Gerity2020-11-301-1/+2
| | | Co-authored-by: Lysandros Nikolaou <lisandrosnik@gmail.com>
* bpo-42501: Revise the usage note for Enums with the choices (GH-23563)Raymond Hettinger2020-11-301-14/+3
|
* 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-303-1/+18
| | | | (GH-23534)
* bpo-42451: Indicate that PyTuple_GetItem does not support negative indices ↵Yasser A2020-11-301-1/+1
| | | | (GH-23529)
* 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-292-7/+7
|
* bpo-42406: Fix whichmodule() with multiprocessing (GH-23403)Renato Cunha2020-11-292-1/+6
| | | | | | * 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-42392: Remove deprecated loop parameter from docs (GH-23552)Yurii Karabas2020-11-295-80/+22
|
* bpo-39096: Improve description of 'e', 'f' and 'g' presentation types (#23537)Mark Dickinson2020-11-291-12/+31
| | | | | | | | | | | * Improve description of 'e', 'f' and 'g' presentation types * Drop the 'E' from Scientific 'E' notation; remove >= 0 qualifications * Fix false statement that the alternate form is valid for Decimal * Nitpick: remove the Harvard/Oxford comma * Add note that the decimal point is also removed if no digits follow it, except in alternate form
* bpo-31904: remove libnet dependency from detect_socket() for VxWorks (GH-23394)pxinwr2020-11-282-5/+2
| | | Previously on VxWorks compiling socket extension module needs the libnet to link. Now VxWorks has moved the replied functions to libc. So removing libnet from setup.py.
* bpo-31904: skip some tests related to fifo on VxWorks (GH-23473)pxinwr2020-11-283-0/+7
| | | 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-284-2/+8
| | | 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-282-0/+3
|
* skip test_getaddrinfo_ipv6_scopeid_symbolic and ↵pxinwr2020-11-282-0/+3
| | | | test_getnameinfo_ipv6_scopeid_symbolic on VxWorks (GH-23518)
* Fix an error in the news entry for _posixsubprocess multiphase init (GH-23516)Zackery Spytz2020-11-281-1/+2
| | | | | Commit 035deee265c7fb227ddc87222fa48761231d8bd7 converted the _posixsubprocess module to multiphase initialization, but the news entry mentions the _posixshmem module.
* Fix dis markup (GH-23524)Andre Delfino2020-11-281-6/+6
|
* Fix multiprocessing markup (GH-23525)Andre Delfino2020-11-281-3/+3
|
* bpo-41818: Fix test_master_read() so that it succeeds on all platforms that ↵Soumendra Ganguly2020-11-282-10/+6
| | | | | 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-282-0/+5
|
* bpo-42489: Fix the signature for list.sort() in the tutorial (GH-23538)Zackery Spytz2020-11-281-1/+1
|
* bpo-34215: Clarify IncompleteReadError message when "expected" is None ↵Zackery Spytz2020-11-283-4/+9
| | | | | (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-289-158/+66
| | | | (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-272-19/+11
| | | | rows and/or number of columns being == 0. (GH-23526)
* bpo-17852: Doc: Fix the tutorial about closing files (GH-23135)Volker-Weissmann2020-11-271-5/+10
| | | Co-authored-by: Inada Naoki <songofacandy@gmail.com>
* Document optional 'task'/'asyncgen' fields in call_exception_handler (#21735)Shane Harvey2020-11-261-1/+4
|
* bpo-41332: Added missing connect_accepted_socket() to AbstractEventLoop ↵Alex Grönholm2020-11-263-8/+16
| | | | | | (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-266-109/+56
|
* bpo-41818: test_openpty succeed on Gentoo, don't expect to fail on this ↵Andrew Svetlov2020-11-251-0/+14
| | | | platform (GH-23514)
* Typo: fix inverted sense of statement (GH-23288)basak2020-11-251-1/+1
| | | | | | | Looks like a "not" was inadvertently omitted in commit e6a7ea4. Classmethods are useful when data stored in specific instances are *not* needed. Automerge-Triggered-By: GH:JulienPalard
* bpo-41818: Updated tests for the standard pty library (GH-22962)Soumendra Ganguly2020-11-252-11/+112
|
* bpo-42299: Remove formatter module (GH-23476)Dong-hee Na2020-11-257-818/+12
|
* 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-258-155/+174
| | | | | | | | | | | | | 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>
* Add more tests to the descriptor howto guide (GH-23506)Raymond Hettinger2020-11-251-4/+25
|
* bpo-12800: tarfile: Restore fix from 011525ee9 (GH-21409)Julien Palard2020-11-253-3/+10
| | | Restore fix from 011525ee92eb1c13ad1a62d28725a840e28f8160.
* bpo-42238: Doc: Remove make suspicious from the CI and docs builds. (GH-23313)Julien Palard2020-11-255-4/+5
| | | | | It probably helped a lot a while back, but may not be as usefull today. We'll continue monitoring it before deletion, so true positives can be migrated to rstlint.
* Doc: Minor fixes (GH-23422)kj2020-11-252-3/+3
|
* Add doctests to the descriptor HowTo (GH-23500)Raymond Hettinger2020-11-251-57/+397
|
* bpo-40170: Hide impl detail of Py_TRASHCAN_BEGIN macro (GH-23235)Hai Shi2020-11-243-1/+15
| | | | | The Py_TRASHCAN_BEGIN macro no longer accesses PyTypeObject attributes, but now can get the condition by calling the new private _PyTrash_cond() function which hides implementation details.
* bpo-42392: Remove loop parameter form asyncio locks and Queue (#23420)Yurii Karabas2020-11-2410-451/+304
| | | 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
|