Michael Felt
39afa2d314
bpo-38021: Modify AIX platform_tag so it covers PEP 425 needs (GH-17303)
Provides a richer platform tag for AIX that we expect to be sufficient for PEP 425
binary distribution identification. Any backports to earlier Python versions will be
handled via setuptools.
Patch by Michael Felt.
6 years ago
Inada Naoki
94d2c8df1a
bpo-39035: travis: Don't use beta group (GH-17602)
6 years ago
Daniel Andersson
40c01c3346
Fix typo in site module (GH-17597)
6 years ago
Lysandros Nikolaou
5936a4ce91
Fix elif start column offset when there is an else following (GH-17596)
6 years ago
Inada Naoki
95826c773a
Add PYTHONUTF8 to commandline usage. (GH-17587)
Co-Authored-By: Victor Stinner <vstinner@python.org>
6 years ago
Xtreak
8289e27393
bpo-36406: Handle namespace packages in doctest (GH-12520)
6 years ago
Lysandros Nikolaou
025a602af7
bpo-39031: Include elif keyword when producing lineno/col-offset info for if_stmt (GH-17582)
When parsing an "elif" node, lineno and col_offset of the node now point to the "elif" keyword and not to its condition, making it consistent with the "if" node.
https://bugs.python.org/issue39031
Automerge-Triggered-By: @pablogsal
6 years ago
Kyle Stanley
1988344a6b
Fix warnings in test_asyncio.test_base_events ( #17577 )
Co-authored-by: tirkarthi
6 years ago
Victor Stinner
7772b1af5e
bpo-38614: Use support timeout constants (GH-17572)
6 years ago
Victor Stinner
0d63bacefd
bpo-38614: Use test.support.SHORT_TIMEOUT constant (GH-17566)
Replace hardcoded timeout constants in tests with SHORT_TIMEOUT of
test.support, so it's easier to ajdust this timeout for all tests at
once.
SHORT_TIMEOUT is 30 seconds by default, but it can be longer
depending on --timeout command line option.
The change makes almost all timeouts longer, except
test_reap_children() of test_support which is made 2x shorter:
SHORT_TIMEOUT should be enough. If this test starts to fail,
LONG_TIMEOUT should be used instead.
Uniformize also "from test import support" import in some test files.
6 years ago
Jason R. Coombs
b7a0109cd2
bpo-39022, bpo-38594: Sync with importlib_metadata 1.3 (GH-17568)
* bpo-39022, bpo-38594: Sync with importlib_metadata 1.3 including improved docs for custom finders and better serialization support in EntryPoints.
* 📜 🤖 Added by blurb_it.
* Correct module reference
6 years ago
Steve Dower
d0802d07d2
bpo-39012: Fix RC version suffix for nuget release files (GH-17564)
6 years ago
Victor Stinner
1d0f9b316a
bpo-38614: Use test.support.INTERNET_TIMEOUT constant (GH-17565)
Replace hardcoded timeout constants in tests with INTERNET_TIMEOUT of
test.support, so it's easier to ajdust this timeout for all tests at
once.
6 years ago
Victor Stinner
c98b0199a9
bpo-38614: Use test.support.LONG_TIMEOUT constant (GH-17562)
Replace hardcoded timeout constants in tests with LONG_TIMEOUT of
test.support, so it's easier to ajdust this timeout for all tests at
once.
LONG_TIMEOUT is 5 minutes by default, but it can be longer depending
on --timeout command line option.
6 years ago
Victor Stinner
bbc8b7965b
bpo-38614: Use default join_thread() timeout in tests (GH-17559)
Tests no longer pass a timeout value to join_thread() of
test.support: use the default join_thread() timeout instead
(SHORT_TIMEOUT constant of test.support).
6 years ago
Victor Stinner
07871b256c
bpo-38614: Use test.support.LOOPBACK_TIMEOUT constant (GH-17554)
Replace hardcoded timeout constants in tests with LOOPBACK_TIMEOUT of
test.support, so it's easier to ajdust this timeout for all tests at
once.
6 years ago
Pablo Galindo
680068c288
Minor fixes to the NEWS entries (GH-17556)
6 years ago
Giampaolo Rodola
82374979ec
bpo-39004: increment large sendfile() test timeout (GH-17552)
6 years ago
Steve Dower
abdeb57a21
Fix Windows release builds (GH-17550)
6 years ago
Pablo Galindo
e9df88e8e9
Clean imports in test_unparse (GH-17545)
6 years ago
JohnnyNajera
bbc4162baf
bpo-38943: Fix IDLE autocomplete window not always appearing (GH-17416)
This has happened on some versions of Ubuntu.
6 years ago
JohnnyNajera
232689b40d
bpo-38944: Escape key now closes IDLE completion windows. (GH-17419)
6 years ago
Tim Gates
2ad7651c00
bpo-39009: Fix typo in test__locale (GH-17544)
6 years ago
Sergey Fedoseev
a2ff283d51
bpo-27961: Replace PY_ULLONG_MAX with ULLONG_MAX (GH-17539)
6 years ago
Steve Dower
ee17e37356
bpo-39007: Add auditing events to functions in winreg (GH-17541)
Also allows winreg.CloseKey() to accept same types as other functions.
6 years ago
Steve Dower
b8cbe74c34
bpo-39008: Require Py_ssize_t for PySys_Audit formats rather than raise a deprecation warning (GH-17540)
6 years ago
Pablo Galindo
ac229116a3
bpo-39003: Make sure all test are the same when using -R in test_unparse (GH-17537)
6 years ago
Tim Gates
c18b805ac6
bpo-39002: Fix simple typo: tranlation -> translation (GH-17517)
6 years ago
Steve Dower
e89e159b18
Fix APPX registry key generation (GH-17489)
6 years ago
Victor Stinner
a1a99b4bb7
bpo-20443: No longer make sys.argv[0] absolute for script (GH-17534)
In Python 3.9.0a1, sys.argv[0] was made an asolute path if a filename
was specified on the command line. Revert this change, since most
users expect sys.argv to be unmodified.
6 years ago
Yury Selivanov
d219cc4180
bpo-34776: Fix dataclasses to support __future__ "annotations" mode ( #9518 )
6 years ago
Mark Dickinson
bba873e633
bpo-38992: avoid fsum test failure from constant-folding (GH-17513)
* Issue 38992: avoid fsum test failure
* Add NEWS entry
6 years ago
Kyle Stanley
ab513a38c9
bpo-37228: Fix loop.create_datagram_endpoint()'s usage of SO_REUSEADDR ( #17311 )
6 years ago
Victor Stinner
82b4950b5e
bpo-39006: Fix asyncio when the ssl module is missing (GH-17524)
Fix asyncio when the ssl module is missing: only check for
ssl.SSLSocket instance if the ssl module is available.
6 years ago
Victor Stinner
0131aba5ae
bpo-38916: array.array: remove fromstring() and tostring() (GH-17487)
array.array: Remove tostring() and fromstring() methods. They were
aliases to tobytes() and frombytes(), deprecated since Python 3.2.
6 years ago
Victor Stinner
a1838ec259
bpo-38547: Fix test_pty if the process is the session leader (GH-17519)
Fix test_pty: if the process is the session leader, closing the
master file descriptor raises a SIGHUP signal: simply ignore SIGHUP
when running the tests.
6 years ago
Batuhan Taşkaya
109fc2792a
bpo-38673: dont switch to ps2 if the line starts with comment or whitespace (GH-17421)
https://bugs.python.org/issue38673
6 years ago
Abhilash Raj
3ae4ea1931
bpo-38708: email: Fix a potential IndexError when parsing Message-ID (GH-17504)
Fix a potential IndexError when passing an empty value to the message-id
parser. Instead, HeaderParseError should be raised.
6 years ago
Abhilash Raj
68157da8b4
bpo-38698: Add a new InvalidMessageID token to email header parser. (GH-17503)
This adds a new InvalidMessageID token to the email header parser which can be
used to represent invalid message-id headers in the parse tree.
6 years ago
Victor Stinner
080ee5a884
bpo-38858: Fix ref leak in pycore_interp_init() (GH-17512)
bpo-38858, bpo-38997: _PySys_Create() returns a strong reference to
the sys module: Py_DECREF() is needed when we are done with the
module.
6 years ago
Batuhan Taşkaya
526606baf7
bpo-38994: Implement __class_getitem__ for PathLike (GH-17498)
https://bugs.python.org/issue38994
6 years ago
Elena Oat
cd90a52983
bpo-38669: patch.object now raises a helpful error (GH17034)
This means a clearer message is now shown when patch.object is called with two string arguments, rather than a class and a string argument.
6 years ago
AMIR
28c91631c2
bpo-38979: fix ContextVar "__class_getitem__" method (GH-17497)
now contextvars.ContextVar "__class_getitem__" method returns ContextVar class, not None.
https://bugs.python.org/issue38979
Automerge-Triggered-By: @asvetlov
6 years ago
xdegaye
00ada2c1d5
bpo-38852: Set thread stack size to 8 Mb for debug builds on android platforms (GH-17337)
6 years ago
Victor Stinner
6cac113666
bpo-38991: Remove test.support.strip_python_stderr() (GH-17490)
test.support: run_python_until_end(), assert_python_ok() and
assert_python_failure() functions no longer strip whitespaces from
stderr.
6 years ago
Christian Heimes
2b7de6696b
bpo-38820: OpenSSL 3.0.0 compatibility. (GH-17190)
test_openssl_version now accepts version 3.0.0.
getpeercert() no longer returns IPv6 addresses with a trailing new line.
Signed-off-by: Christian Heimes <christian@python.org>
https://bugs.python.org/issue38820
6 years ago
Daniel Himmelstein
15fb7fa881
bpo-29636: json.tool: Add document for indentation options. (GH-17482)
And updated test to use subprocess.run
6 years ago
Anj-A
4443450fda
bpo-38652: Remove provisional note for asyncio.BufferedProtocol (GH-17047)
https://bugs.python.org/issue38652
6 years ago
idomic
892f9e0777
bpo-37404: Raising value error if an SSLSocket is passed to asyncio functions (GH-16457)
https://bugs.python.org/issue37404
6 years ago
Andrew Svetlov
969ae7aca8
Make repr of C accelerated TaskWakeupMethWrapper the same as of pure Python version (GH-17484)
6 years ago