Pablo Galindo
93a0ef7647
Correct return type in Modules/_ssl.c::sslmodule_legacy (GH-23609)
2020-12-02 06:07:56 +00:00
Pablo Galindo
46bd5ed94c
bpo-40939: Restore some stable API functions incorrectly deleted (GH-23606)
2020-12-02 05:16:31 +00:00
pxinwr
e483d281bd
bpo-31904: Fix test_netrc for VxWorks RTOS (GH-21675)
...
Fix test_netrc on VxWorks: create temporary directories using temp_cwd().
2020-12-01 21:34:42 +01:00
Victor Stinner
1867b462de
bpo-37221: PyCode_New() didn't change in Python 3.8 (GH-23595)
2020-12-01 16:22:25 +01:00
dependabot[bot]
8acd0e0d49
build(deps): bump actions/upload-artifact from v2.2.0 to v2.2.1 (GH-23583)
...
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>
2020-12-01 09:00:11 -06:00
dependabot[bot]
a43fea8857
build(deps): bump actions/cache from v2.1.2 to v2.1.3 (23582)
...
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>
2020-12-01 08:59:12 -06:00
Andre Delfino
bc662c0bd7
[doc] Fix abc.update_abstractmethods markup (GH-23576)
...
Add link to ABCMeta while at it.
2020-12-01 01:45:11 -08:00
Andre Delfino
80a429eae9
Fix bz2 examples markup ( #23580 )
2020-12-01 10:41:12 +01:00
Victor Stinner
32bd68c839
bpo-42519: Replace PyObject_MALLOC() with PyObject_Malloc() (GH-23587)
...
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()
2020-12-01 10:37:39 +01:00
Victor Stinner
00d7abd7ef
bpo-42519: Replace PyMem_MALLOC() with PyMem_Malloc() (GH-23586)
...
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().
2020-12-01 09:56:42 +01:00
pxinwr
b2d0c66e88
bpo-31904: Fix fifo test cases for VxWorks (GH-20254)
2020-12-01 09:20:50 +01:00
Raymond Hettinger
cc061d0e6f
bpo-38200: Add itertools.pairwise() (GH-23549)
2020-11-30 20:42:54 -08:00
Irit Katriel
427613f005
bpo-42482: remove reference to exc_traceback from TracebackException (GH-23531)
2020-11-30 17:35:25 -08:00
pxinwr
1244c816d7
bpo-31904: Support signal module on VxWorks (GH-23391)
2020-11-30 22:48:33 +01:00
Christian Heimes
5c73afc36e
bpo-28468: Add platform.freedesktop_os_release() (GH-23492)
...
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>
2020-11-30 22:34:45 +01:00
Pablo Galindo
9bdc40ee3e
Refactor the grammar to match the language specification docs (GH-23574)
2020-11-30 19:42:38 +00:00
James Gerity
bcc9579227
bpo-42485: [Doc] Link to PEP 617 from full grammar specification (GH-23532)
...
Co-authored-by: Lysandros Nikolaou <lisandrosnik@gmail.com>
2020-11-30 19:08:26 +00:00
Raymond Hettinger
7f82f22eba
bpo-42501: Revise the usage note for Enums with the choices (GH-23563)
2020-11-30 09:55:13 -08:00
Terry Jan Reedy
e41bfd15dd
bpo-42508: Remove bogus idlelib.pyshell.ModifiedInterpreter attribute (GH-23570)
...
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.)
2020-11-30 12:09:43 -05:00
Andreas Poehlmann
0be9ce305f
bpo-42487: don't call __getitem__ of underlying maps in ChainMap.__iter__ (GH-23534)
2020-11-30 08:34:15 -08:00
Yasser A
9f004634a2
bpo-42451: Indicate that PyTuple_GetItem does not support negative indices (GH-23529)
2020-11-30 10:53:11 +01:00
Zackery Spytz
9654592478
bpo-42506: Fix unexpected output in test_format (GH-23564)
2020-11-30 17:39:12 +09:00
Serhiy Storchaka
6cc2c419f6
bpo-42142: Try to fix timeouts in ttk tests (GH-23474)
...
Instead of using wait_visibility() which waits event <VisibilityNotify> in dead loop
use update() which should proceed all queued events.
2020-11-30 10:24:07 +02:00
Raymond Hettinger
fc40b3020c
bpo-42450: Minor updates to the itertools recipes (GH-23555)
2020-11-29 10:47:22 -08:00
Renato Cunha
86684319d3
bpo-42406: Fix whichmodule() with multiprocessing (GH-23403)
...
* 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>
2020-11-29 10:23:15 -08:00
Yurii Karabas
86150d39c8
bpo-42392: Remove deprecated loop parameter from docs (GH-23552)
2020-11-29 14:50:57 +02:00
Mark Dickinson
c642374b3e
bpo-39096: Improve description of 'e', 'f' and 'g' presentation types ( #23537 )
...
* 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
2020-11-29 09:34:36 +00:00
pxinwr
00a6568ba3
bpo-31904: remove libnet dependency from detect_socket() for VxWorks (GH-23394)
...
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.
2020-11-28 14:14:16 -08:00
pxinwr
6a273fdc2a
bpo-31904: skip some tests related to fifo on VxWorks (GH-23473)
...
On VxWork RTOS, FIFO must be created under directory "/fifos/". Some test cases related to fifo is invalid on VxWorks. So skip them.
2020-11-28 14:06:36 -08:00
pxinwr
a86a274b72
bpo-31904: add shell requirement for test_pipes (GH-23489)
...
VxWorks has no user space shell provided so it can't support pipes module. Also add shell requirement for running test_pipes.
2020-11-28 14:04:50 -08:00
pxinwr
996a1ef8ae
skip test_test of test_mailcap on VxWorks (GH-23507)
2020-11-28 13:49:47 -08:00
pxinwr
64c8f81047
skip test_getaddrinfo_ipv6_scopeid_symbolic and test_getnameinfo_ipv6_scopeid_symbolic on VxWorks (GH-23518)
2020-11-28 13:48:38 -08:00
Zackery Spytz
7a240aef15
Fix an error in the news entry for _posixsubprocess multiphase init (GH-23516)
...
Commit 035deee265
converted the
_posixsubprocess module to multiphase initialization, but the news entry
mentions the _posixshmem module.
2020-11-28 13:46:30 -08:00
Andre Delfino
fa840cc81d
Fix dis markup (GH-23524)
2020-11-28 13:43:22 -08:00
Andre Delfino
4b44472966
Fix multiprocessing markup (GH-23525)
2020-11-28 13:42:23 -08:00
Soumendra Ganguly
74311aeb45
bpo-41818: Fix test_master_read() so that it succeeds on all platforms that either raise OSError or return b"" upon reading from master (GH-23536)
...
Signed-off-by: Soumendra Ganguly <soumendraganguly@gmail.com>
2020-11-28 23:04:20 +02:00
pxinwr
aa1b8a168d
bpo-31904: Fix test_os.test_getcwd_long_path() failure for VxWorks (GH-20256)
2020-11-28 21:21:30 +01:00
Zackery Spytz
d41ec65ab7
bpo-42489: Fix the signature for list.sort() in the tutorial (GH-23538)
2020-11-28 16:53:39 +02:00
Zackery Spytz
8085f742f4
bpo-34215: Clarify IncompleteReadError message when "expected" is None (GH-21925)
...
Co-Authored-By: Tyler Bell <mrbell321@gmail.com>
2020-11-28 16:27:28 +02:00
Wansoo Kim
5b0194ed31
bpo-41241: Unnecessary Type casting in 'if condition' (GH-21396)
...
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
2020-11-28 03:37:08 -08:00
Yurii Karabas
e4fe303b8c
bpo-42392: Remove loop parameter from asyncio.tasks and asyncio.subprocess (GH-23521)
2020-11-28 10:21:17 +02:00
Julien Jerphanion
f9195318a8
bpo-42452: Improve colorsys.rgb_to_hls code (GH-23306)
...
Cache repeated sum and difference to make code slightly faster and easier to read.
2020-11-28 02:11:19 -05:00
Irit Katriel
44ca05afc8
bpo-42474: test TracebackException comparison to non-equal instances (GH-23522)
...
Closes bpo-42474
2020-11-27 08:38:54 -08:00
Soumendra Ganguly
f5a19ead4b
bpo-41818: Make test_openpty() avoid unexpected success due to number of rows and/or number of columns being == 0. (GH-23526)
2020-11-27 12:16:41 +02:00
Volker-Weissmann
c8aaf71dde
bpo-17852: Doc: Fix the tutorial about closing files (GH-23135)
...
Co-authored-by: Inada Naoki <songofacandy@gmail.com>
2020-11-27 09:41:32 +09:00
Shane Harvey
a1652da2c8
Document optional 'task'/'asyncgen' fields in call_exception_handler ( #21735 )
2020-11-26 15:24:48 +02:00
Alex Grönholm
e3ef4d7f65
bpo-41332: Added missing connect_accepted_socket() to AbstractEventLoop (GH-21533)
...
Co-authored-by: Andrew Svetlov <andrew.svetlov@gmail.com>
Co-authored-by: Kyle Stanley <aeros167@gmail.com>
2020-11-26 12:09:12 +02:00
Yurii Karabas
f533cb80cb
bpo-42392: Remove loop parameter from asyncio.streams (GH-23517)
2020-11-26 09:36:37 +02:00
Andrew Svetlov
87f7ab5359
bpo-41818: test_openpty succeed on Gentoo, don't expect to fail on this platform (GH-23514)
2020-11-25 19:06:12 +02:00
basak
9d09e1719c
Typo: fix inverted sense of statement (GH-23288)
...
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
2020-11-25 06:12:17 -08:00