Commit message (Collapse) | Author | Age | Files | Lines | ||
---|---|---|---|---|---|---|
... | ||||||
* | Add whatsnew for removal of asyncio.loop.create_datagram_endpoint()'s ↵ | Kyle Stanley | 2019-12-16 | 4 | -0/+37 | |
| | | | | *reuse_address* parameter (#17595) | |||||
* | bpo-39041: Add GitHub Actions badge to README.rst (GH-17628) | Steve Dower | 2019-12-16 | 2 | -8/+16 | |
| | | | Also skip build for doc-only changes and enable on push | |||||
* | bpo-39041: Add GitHub Actions support (GH-17594) | Steve Dower | 2019-12-16 | 6 | -4/+239 | |
| | ||||||
* | bpo-38348: Extend command line options of ast parsing tool (GH-16540) | Batuhan Taşkaya | 2019-12-16 | 3 | -2/+17 | |
| | | | | Add -i and --indent (indentation level), and --no-type-comments (type comments) command line options to ast parsing tool. | |||||
* | bpo-38870: Remove dead code related with argument unparsing (GH-17613) | Batuhan Taşkaya | 2019-12-16 | 1 | -5/+2 | |
| | ||||||
* | bpo-38811: Check for presence of os.link method in pathlib (GH-17225) | Toke Høiland-Jørgensen | 2019-12-16 | 3 | -1/+17 | |
| | | | | | | | | | | | Commit 6b5b013bcc22 ("bpo-26978: Implement pathlib.Path.link_to (Using os.link) (GH-12990)") introduced a new link_to method in pathlib. However, this makes pathlib crash when the 'os' module is missing a 'link' method. Fix this by checking for the presence of the 'link' method on pathlib module import, and if it's not present, turn it into a runtime error like those emitted when there is no lchmod() or symlink(). Signed-off-by: Toke Høiland-Jørgensen <toke@redhat.com> | |||||
* | Add tests and design notes for Counter subset/superset operations. (GH-17625) | Raymond Hettinger | 2019-12-16 | 1 | -0/+23 | |
| | ||||||
* | bpo-39033: Fix NameError in zipimport during hash validation (GH-17588) | Xtreak | 2019-12-16 | 5 | -269/+286 | |
| | | | | Patch by Karthikeyan Singaravelan. | |||||
* | bpo-38316: Fix co_stacksize documentation (GH-16983) | Batuhan Taşkaya | 2019-12-15 | 1 | -2/+2 | |
| | ||||||
* | bpo-38629: implement __floor__ and __ceil__ for float type (GH-16985) | Batuhan Taşkaya | 2019-12-15 | 4 | -1/+96 | |
| | ||||||
* | The comment in ast_for_namedexpr shouldn't include if_stmt (GH-17586) | Guido van Rossum | 2019-12-15 | 1 | -3/+1 | |
| | | | Automerge-Triggered-By: @gvanrossum | |||||
* | bpo-38021: Modify AIX platform_tag so it covers PEP 425 needs (GH-17303) | Michael Felt | 2019-12-16 | 8 | -5/+155 | |
| | | | | | | | | 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. | |||||
* | bpo-39035: travis: Don't use beta group (GH-17602) | Inada Naoki | 2019-12-14 | 1 | -1/+0 | |
| | ||||||
* | Fix typo in site module (GH-17597) | Daniel Andersson | 2019-12-14 | 1 | -1/+1 | |
| | ||||||
* | Fix elif start column offset when there is an else following (GH-17596) | Lysandros Nikolaou | 2019-12-14 | 2 | -2/+11 | |
| | ||||||
* | Add PYTHONUTF8 to commandline usage. (GH-17587) | Inada Naoki | 2019-12-14 | 1 | -0/+1 | |
| | | | | Co-Authored-By: Victor Stinner <vstinner@python.org> | |||||
* | bpo-36406: Handle namespace packages in doctest (GH-12520) | Xtreak | 2019-12-13 | 3 | -2/+8 | |
| | ||||||
* | bpo-39031: Include elif keyword when producing lineno/col-offset info for ↵ | Lysandros Nikolaou | 2019-12-12 | 3 | -2/+13 | |
| | | | | | | | | | | | | 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 | |||||
* | Fix warnings in test_asyncio.test_base_events (#17577) | Kyle Stanley | 2019-12-12 | 1 | -3/+4 | |
| | | | Co-authored-by: tirkarthi | |||||
* | bpo-38614: Use support timeout constants (GH-17572) | Victor Stinner | 2019-12-11 | 5 | -36/+67 | |
| | ||||||
* | bpo-38614: Use test.support.SHORT_TIMEOUT constant (GH-17566) | Victor Stinner | 2019-12-11 | 19 | -65/+73 | |
| | | | | | | | | | | | | | | | 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. | |||||
* | bpo-39022, bpo-38594: Sync with importlib_metadata 1.3 (GH-17568) | Jason R. Coombs | 2019-12-10 | 4 | -7/+62 | |
| | | | | | | | | * 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 | |||||
* | bpo-39012: Fix RC version suffix for nuget release files (GH-17564) | Steve Dower | 2019-12-10 | 1 | -1/+1 | |
| | ||||||
* | bpo-38614: Use test.support.INTERNET_TIMEOUT constant (GH-17565) | Victor Stinner | 2019-12-10 | 3 | -10/+12 | |
| | | | | | 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. | |||||
* | bpo-38614: Use test.support.LONG_TIMEOUT constant (GH-17562) | Victor Stinner | 2019-12-10 | 3 | -5/+6 | |
| | | | | | | | | 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. | |||||
* | bpo-38614: Use default join_thread() timeout in tests (GH-17559) | Victor Stinner | 2019-12-10 | 7 | -34/+26 | |
| | | | | | 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). | |||||
* | bpo-38614: Use test.support.LOOPBACK_TIMEOUT constant (GH-17554) | Victor Stinner | 2019-12-10 | 10 | -42/+71 | |
| | | | | | 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. | |||||
* | Minor fixes to the NEWS entries (GH-17556) | Pablo Galindo | 2019-12-10 | 2 | -2/+1 | |
| | ||||||
* | bpo-39004: increment large sendfile() test timeout (GH-17552) | Giampaolo Rodola | 2019-12-10 | 1 | -1/+3 | |
| | ||||||
* | Fix Windows release builds (GH-17550) | Steve Dower | 2019-12-09 | 2 | -1/+8 | |
| | ||||||
* | Clean imports in test_unparse (GH-17545) | Pablo Galindo | 2019-12-10 | 1 | -2/+0 | |
| | ||||||
* | bpo-38943: Fix IDLE autocomplete window not always appearing (GH-17416) | JohnnyNajera | 2019-12-09 | 3 | -0/+6 | |
| | | | This has happened on some versions of Ubuntu. | |||||
* | bpo-38944: Escape key now closes IDLE completion windows. (GH-17419) | JohnnyNajera | 2019-12-09 | 3 | -1/+5 | |
| | ||||||
* | bpo-39009: Fix typo in test__locale (GH-17544) | Tim Gates | 2019-12-09 | 1 | -1/+1 | |
| | ||||||
* | bpo-27961: Replace PY_ULLONG_MAX with ULLONG_MAX (GH-17539) | Sergey Fedoseev | 2019-12-09 | 1 | -1/+1 | |
| | ||||||
* | bpo-39007: Add auditing events to functions in winreg (GH-17541) | Steve Dower | 2019-12-09 | 5 | -27/+218 | |
| | | | Also allows winreg.CloseKey() to accept same types as other functions. | |||||
* | bpo-39008: Require Py_ssize_t for PySys_Audit formats rather than raise a ↵ | Steve Dower | 2019-12-09 | 3 | -1/+12 | |
| | | | | deprecation warning (GH-17540) | |||||
* | bpo-39003: Make sure all test are the same when using -R in test_unparse ↵ | Pablo Galindo | 2019-12-09 | 1 | -7/+14 | |
| | | | | (GH-17537) | |||||
* | bpo-39002: Fix simple typo: tranlation -> translation (GH-17517) | Tim Gates | 2019-12-09 | 3 | -2/+4 | |
| | ||||||
* | Fix APPX registry key generation (GH-17489) | Steve Dower | 2019-12-09 | 1 | -11/+11 | |
| | ||||||
* | bpo-20443: No longer make sys.argv[0] absolute for script (GH-17534) | Victor Stinner | 2019-12-09 | 4 | -9/+8 | |
| | | | | | 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. | |||||
* | bpo-34776: Fix dataclasses to support __future__ "annotations" mode (#9518) | Yury Selivanov | 2019-12-09 | 4 | -34/+78 | |
| | ||||||
* | bpo-38992: avoid fsum test failure from constant-folding (GH-17513) | Mark Dickinson | 2019-12-09 | 2 | -1/+8 | |
| | | | | | | * Issue 38992: avoid fsum test failure * Add NEWS entry | |||||
* | bpo-37228: Fix loop.create_datagram_endpoint()'s usage of SO_REUSEADDR (#17311) | Kyle Stanley | 2019-12-09 | 4 | -29/+67 | |
| | ||||||
* | bpo-39006: Fix asyncio when the ssl module is missing (GH-17524) | Victor Stinner | 2019-12-09 | 2 | -10/+12 | |
| | | | | Fix asyncio when the ssl module is missing: only check for ssl.SSLSocket instance if the ssl module is available. | |||||
* | bpo-38916: array.array: remove fromstring() and tostring() (GH-17487) | Victor Stinner | 2019-12-09 | 6 | -140/+9 | |
| | | | | array.array: Remove tostring() and fromstring() methods. They were aliases to tobytes() and frombytes(), deprecated since Python 3.2. | |||||
* | bpo-38547: Fix test_pty if the process is the session leader (GH-17519) | Victor Stinner | 2019-12-09 | 2 | -3/+19 | |
| | | | | | 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. | |||||
* | bpo-38673: dont switch to ps2 if the line starts with comment or whitespace ↵ | Batuhan Taşkaya | 2019-12-08 | 2 | -0/+7 | |
| | | | | | (GH-17421) https://bugs.python.org/issue38673 | |||||
* | bpo-38708: email: Fix a potential IndexError when parsing Message-ID (GH-17504) | Abhilash Raj | 2019-12-08 | 3 | -1/+8 | |
| | | | | Fix a potential IndexError when passing an empty value to the message-id parser. Instead, HeaderParseError should be raised. | |||||
* | bpo-38698: Add a new InvalidMessageID token to email header parser. (GH-17503) | Abhilash Raj | 2019-12-08 | 3 | -7/+56 | |
| | | | | 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. |