Yurii Karabas
f24b8101a0
bpo-42562: Fix issue when dis failed to parse function that has no line numbers (GH-23632)
Fix issue when dis failed to parse function that has only annotations
6 years ago
Zackery Spytz
db68544122
bpo-42523: Fix supported versions in "Using Python on Windows" (GH-23603)
6 years ago
Victor Stinner
8b6c4a921a
bpo-42262: Py_NewRef() casts its argument to PyObject* (GH-23626)
Write also unit tests on Py_NewRef() and Py_XNewRef().
6 years ago
Victor Stinner
7e5e13d113
bpo-42553: Fix test_asyncio.test_call_later() (GH-23627)
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.
6 years ago
Serhiy Storchaka
2ad93821a6
bpo-42431: Fix outdated bytes comments (GH-23458)
Also move definitions of internal macros F_LJUST etc to private header.
6 years ago
Serhiy Storchaka
f3c3ea91a7
bpo-42328: Skip some tests with themes vista and xpnative on Windows 7 (GH-23612)
6 years ago
Senthil Kumaran
3ec9d01901
Remove the conditional for setting query. ( #23604 )
6 years ago
FX Coudert
5291639e61
bpo-42504: fix for MACOSX_DEPLOYMENT_TARGET=11 (GH-23556)
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.
6 years ago
Pablo Galindo
dedc2cd5f0
bpo-41625: Do not add os.splice on AIX due to compatibility issues (GH-23608)
6 years ago
Pablo Galindo
99b594404d
bpo-42521: Add note about 'Python -d' only working on debug builds (GH-23607)
6 years ago
Mark Shannon
5977a7989d
bpo-42246: Make sure that line number is correct after a return, as required by PEP 626 (GH-23495)
Make sure that line number is correct after a return, as defined by PEP 626.
6 years ago
Mark Shannon
4e7a69bdb6
bpo-42500: Fix recursion in or after except (GH-23568)
* Use counter, rather boolean state when handling soft overflows.
6 years ago
Pablo Galindo
93a0ef7647
Correct return type in Modules/_ssl.c::sslmodule_legacy (GH-23609)
6 years ago
Pablo Galindo
46bd5ed94c
bpo-40939: Restore some stable API functions incorrectly deleted (GH-23606)
6 years ago
pxinwr
e483d281bd
bpo-31904: Fix test_netrc for VxWorks RTOS (GH-21675)
Fix test_netrc on VxWorks: create temporary directories using temp_cwd().
6 years ago
Victor Stinner
1867b462de
bpo-37221: PyCode_New() didn't change in Python 3.8 (GH-23595)
6 years ago
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>
6 years ago
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>
6 years ago
Andre Delfino
bc662c0bd7
[doc] Fix abc.update_abstractmethods markup (GH-23576)
Add link to ABCMeta while at it.
6 years ago
Andre Delfino
80a429eae9
Fix bz2 examples markup ( #23580 )
6 years ago
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()
6 years ago
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().
6 years ago
pxinwr
b2d0c66e88
bpo-31904: Fix fifo test cases for VxWorks (GH-20254)
6 years ago
Raymond Hettinger
cc061d0e6f
bpo-38200: Add itertools.pairwise() (GH-23549)
6 years ago
Irit Katriel
427613f005
bpo-42482: remove reference to exc_traceback from TracebackException (GH-23531)
6 years ago
pxinwr
1244c816d7
bpo-31904: Support signal module on VxWorks (GH-23391)
6 years ago
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>
6 years ago
Pablo Galindo
9bdc40ee3e
Refactor the grammar to match the language specification docs (GH-23574)
6 years ago
James Gerity
bcc9579227
bpo-42485: [Doc] Link to PEP 617 from full grammar specification (GH-23532)
Co-authored-by: Lysandros Nikolaou <lisandrosnik@gmail.com>
6 years ago
Raymond Hettinger
7f82f22eba
bpo-42501: Revise the usage note for Enums with the choices (GH-23563)
6 years ago
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.)
6 years ago
Andreas Poehlmann
0be9ce305f
bpo-42487: don't call __getitem__ of underlying maps in ChainMap.__iter__ (GH-23534)
6 years ago
Yasser A
9f004634a2
bpo-42451: Indicate that PyTuple_GetItem does not support negative indices (GH-23529)
6 years ago
Zackery Spytz
9654592478
bpo-42506: Fix unexpected output in test_format (GH-23564)
6 years ago
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.
6 years ago
Raymond Hettinger
fc40b3020c
bpo-42450: Minor updates to the itertools recipes (GH-23555)
6 years ago
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>
6 years ago
Yurii Karabas
86150d39c8
bpo-42392: Remove deprecated loop parameter from docs (GH-23552)
6 years ago
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
6 years ago
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.
6 years ago
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.
6 years ago
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.
6 years ago
pxinwr
996a1ef8ae
skip test_test of test_mailcap on VxWorks (GH-23507)
6 years ago
pxinwr
64c8f81047
skip test_getaddrinfo_ipv6_scopeid_symbolic and test_getnameinfo_ipv6_scopeid_symbolic on VxWorks (GH-23518)
6 years ago
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.
6 years ago
Andre Delfino
fa840cc81d
Fix dis markup (GH-23524)
6 years ago
Andre Delfino
4b44472966
Fix multiprocessing markup (GH-23525)
6 years ago
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>
6 years ago
pxinwr
aa1b8a168d
bpo-31904: Fix test_os.test_getcwd_long_path() failure for VxWorks (GH-20256)
6 years ago
Zackery Spytz
d41ec65ab7
bpo-42489: Fix the signature for list.sort() in the tutorial (GH-23538)
6 years ago