summaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeFilesLines
...
* bpo-42246: Make sure that line number is correct after a return, as required ↵Mark Shannon2020-12-027-4818/+4967
| | | | | 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-029-72/+76
| | | * Use counter, rather boolean state when handling soft overflows.
* Correct return type in Modules/_ssl.c::sslmodule_legacy (GH-23609)Pablo Galindo2020-12-021-1/+1
|
* bpo-40939: Restore some stable API functions incorrectly deleted (GH-23606)Pablo Galindo2020-12-021-8/+103
|
* bpo-31904: Fix test_netrc for VxWorks RTOS (GH-21675)pxinwr2020-12-012-48/+43
| | | Fix test_netrc on VxWorks: create temporary directories using temp_cwd().
* bpo-37221: PyCode_New() didn't change in Python 3.8 (GH-23595)Victor Stinner2020-12-011-3/+0
|
* build(deps): bump actions/upload-artifact from v2.2.0 to v2.2.1 (GH-23583)dependabot[bot]2020-12-011-1/+1
| | | | | | | | | Bumps [actions/upload-artifact](https://github.com/actions/upload-artifact) from v2.2.0 to v2.2.1. - [Release notes](https://github.com/actions/upload-artifact/releases) - [Commits](https://github.com/actions/upload-artifact/compare/v2.2.0...726a6dcd0199f578459862705eed35cda05af50b) Signed-off-by: dependabot[bot] <support@github.com> Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
* build(deps): bump actions/cache from v2.1.2 to v2.1.3 (23582)dependabot[bot]2020-12-012-2/+2
| | | | | | | | | Bumps [actions/cache](https://github.com/actions/cache) from v2.1.2 to v2.1.3. - [Release notes](https://github.com/actions/cache/releases) - [Commits](https://github.com/actions/cache/compare/v2.1.2...0781355a23dac32fd3bac414512f4b903437991a) Signed-off-by: dependabot[bot] <support@github.com> Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
* [doc] Fix abc.update_abstractmethods markup (GH-23576)Andre Delfino2020-12-011-1/+2
| | | Add link to ABCMeta while at it.
* Fix bz2 examples markup (#23580)Andre Delfino2020-12-011-8/+0
|
* bpo-42519: Replace PyObject_MALLOC() with PyObject_Malloc() (GH-23587)Victor Stinner2020-12-0148-98/+102
| | | | | | | | | No longer use deprecated aliases to functions: * Replace PyObject_MALLOC() with PyObject_Malloc() * Replace PyObject_REALLOC() with PyObject_Realloc() * Replace PyObject_FREE() with PyObject_Free() * Replace PyObject_Del() with PyObject_Free() * Replace PyObject_DEL() with PyObject_Free()
* bpo-42519: Replace PyMem_MALLOC() with PyMem_Malloc() (GH-23586)Victor Stinner2020-12-0133-188/+175
| | | | | | | | | | | No longer use deprecated aliases to functions: * Replace PyMem_MALLOC() with PyMem_Malloc() * Replace PyMem_REALLOC() with PyMem_Realloc() * Replace PyMem_FREE() with PyMem_Free() * Replace PyMem_Del() with PyMem_Free() * Replace PyMem_DEL() with PyMem_Free() Modify also the PyMem_DEL() macro to use directly PyMem_Free().
* bpo-31904: Fix fifo test cases for VxWorks (GH-20254)pxinwr2020-12-013-6/+18
|
* bpo-38200: Add itertools.pairwise() (GH-23549)Raymond Hettinger2020-12-015-26/+220
|
* 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
|