summaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeFilesLines
* closes bpo-39135: Remove 'time.clock()' mention in docs. (GH17709)Michael Wayne Goodman2019-12-271-1/+0
| | | | | `time.clock()` was removed in Python 3.8, but it was still mentioned in the documentation for when `time.get_clock_info()` is given the argument `'clock'`. This commit removes that mention.
* closes bpo-30364: Replace deprecated no_address_safety_analysis attribute. ↵Batuhan Taşkaya2019-12-271-7/+7
| | | | (GH-17702)
* Update what's new with the latest GC improvements (GH-17708)Pablo Galindo2019-12-261-0/+8
|
* Update 3.9.0a2.rst (GH-17703)Aurora Lanes2019-12-261-1/+1
| | | | | Fixed small grammatical issue Automerge-Triggered-By: @Mariatta
* bpo-33961: Adjusted dataclasses docs to correct exceptions raised. (GH-7917) ↵Fabio Sangiovanni2019-12-251-3/+4
| | | | (GH-17677)
* Fix the miscellaneous typo (GH-17700)cocoatomo2019-12-251-1/+1
| | | A character "i" is omitted.
* Update 3.9.0a2.rst - correct small typos (GH-17665)toonarmycaptain2019-12-251-9/+7
| | | | | | | | Small typo/formatting corrections. `whethen` -> `whether` `exaustion' -> `exhaustion` Assorted appending periods `.` and slight reformattings to place `Path contributed by` on the same line as description, matching the majority of document. NB Some of these might need to be backported, as I saw the first error in the [changelog for 3.8.1](https://docs.python.org/3.8/whatsnew/changelog.html#python-3-8-1)
* Minor C API documentation improvements. (GH-17696)William Ayd2019-12-252-2/+2
| | | | | | | The added parentheses around the PyIter_Next assignment suppress the following warning which gcc throws without: ``` warning: using the result of an assignment as a condition without parentheses [-Wparentheses] ``` The other change is a typo fix
* Fix import path for asyncio.TimeoutError (#17691)Andrew Svetlov2019-12-242-2/+3
|
* Add comment to avoid ACKS losing order (GH-17678)Éric Araujo2019-12-231-0/+2
|
* Revert "bpo-38870: Remove dependency on contextlib to avoid performance ↵Pablo Galindo2019-12-231-13/+6
| | | | | regression on import (GH-17376)" (GH-17687) This reverts commit ded8888fbc33011dd39b7b1c86a5adfacc4943f3.
* bpo-38870: Refactor delimiting with context managers in ast.unparse (GH-17612)Batuhan Taşkaya2019-12-231-147/+137
| | | | | Co-Authored-By: Victor Stinner <vstinner@python.org> Co-authored-by: Pablo Galindo <pablogsal@gmail.com>
* bpo-38914 Do not require email field in setup.py. (GH-17388)Jürgen Gmach2019-12-233-6/+14
| | | | | | | | | | | | | | | | | | When checking `setup.py` and when the `author` field was provided, but the `author_email` field was missing, erroneously a warning message was displayed that the `author_email` field is required. The specs do not require the `author_email`field: https://packaging.python.org/specifications/core-metadata/#author The same is valid for `maintainer` and `maintainer_email`. The warning message has been adjusted. modified: Doc/distutils/examples.rst modified: Lib/distutils/command/check.py https://bugs.python.org/issue38914
* [typo] fix dupe in datetime.fromisoformat docs (GH-17295)Michael Morehouse2019-12-231-2/+0
| | | | | | | | | Fixes a nearly word for word duplication of a sentence that appears earlier in the caution section of datetime.datetime.fromisoformat in Doc/Library/datetime.rst. No issue created as it's a trivial change. Automerge-Triggered-By: @pganssle
* Add missing markup (GH-17680)cocoatomo2019-12-221-1/+1
| | | "HH", "MM" and "ffffff" are enclosed with double back quotes, but "SS" is left being bare
* bpo-38878: Fix os.PathLike __subclasshook__ (GH-17336)Bar Harel2019-12-223-1/+15
| | | | Quick subclasshook fix using the same method is being used in collections.abc (up to a certain degree).
* bpo-38918: Add __module__ entry for function & method type in inspect docs ↵Parth Sharma2019-12-202-0/+9
| | | | | | | | | | | table (GH-17408) Adds` __module__ ` entries for function & method types in inspect docs table. https://bugs.python.org/issue38918
* reorder entries in Misc/ACKS (#17663)Éric Araujo2019-12-201-14/+13
|
* Doc typo (#17667)Jesús Cea2019-12-201-1/+1
|
* Post 3.9.0a2Łukasz Langa2019-12-191-1/+1
|
* Python 3.9.0a2v3.9.0a2Łukasz Langa2019-12-1895-214/+1009
|
* bpo-38546: Fix concurrent.futures test_ressources_gced_in_workers() (GH-17652)Victor Stinner2019-12-182-3/+14
| | | | | Fix test_ressources_gced_in_workers() of test_concurrent_futures: explicitly stop the manager to prevent leaking a child process running in the background after the test completes.
* bpo-39028: Performance enhancement in keyword extraction (GH-17576)Sebastian Berg2019-12-182-3/+8
| | | | | | | | All keywords should first be checked for pointer identity. Only after that failed for all keywords (unlikely) should unicode equality be used. The original code would call unicode equality on any non-matching keyword argument. Meaning calling it often e.g. when a function has many kwargs but only the last one is provided.
* bpo-39080: Starred Expression's column offset fix when inside a CALL (GH-17645)Lysandros Nikolaou2019-12-183-1/+11
| | | | Co-Authored-By: Pablo Galindo <Pablogsal@gmail.com>
* bpo-36500: Simplify PCbuild/build.bat and prevent path separator changing in ↵Steve Dower2019-12-172-14/+10
| | | | comments (GH-17644)
* bpo-36500: Add --regen option to PCbuild/build.bat so Windows users can ↵Anthony Shaw2019-12-173-1/+243
| | | | regen grammar, opcodes, tokens and symbols (GH-12654)
* bpo-38546: multiprocessing tests stop the resource tracker (GH-17641)Victor Stinner2019-12-175-21/+42
| | | | | | | | | | Multiprocessing and concurrent.futures tests now stop the resource tracker process when tests complete. Add ResourceTracker._stop() method to multiprocessing.resource_tracker. Add _cleanup_tests() helper function to multiprocessing.util: share code between multiprocessing and concurrent.futures tests.
* bpo-38858: Small integer per interpreter (GH-17315)Victor Stinner2019-12-175-37/+56
| | | | | | | | | | | | Each Python subinterpreter now has its own "small integer singletons": numbers in [-5; 257] range. It is no longer possible to change the number of small integers at build time by overriding NSMALLNEGINTS and NSMALLPOSINTS macros: macros should now be modified manually in pycore_pystate.h header file. For now, continue to share _PyLong_Zero and _PyLong_One singletons between all subinterpreters.
* Add whatsnew for removal of asyncio.loop.create_datagram_endpoint()'s ↵Kyle Stanley2019-12-164-0/+37
| | | | *reuse_address* parameter (#17595)
* bpo-39041: Add GitHub Actions badge to README.rst (GH-17628)Steve Dower2019-12-162-8/+16
| | | Also skip build for doc-only changes and enable on push
* bpo-39041: Add GitHub Actions support (GH-17594)Steve Dower2019-12-166-4/+239
|
* bpo-38348: Extend command line options of ast parsing tool (GH-16540)Batuhan Taşkaya2019-12-163-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şkaya2019-12-161-5/+2
|
* bpo-38811: Check for presence of os.link method in pathlib (GH-17225)Toke Høiland-Jørgensen2019-12-163-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 Hettinger2019-12-161-0/+23
|
* bpo-39033: Fix NameError in zipimport during hash validation (GH-17588)Xtreak2019-12-155-269/+286
| | | | Patch by Karthikeyan Singaravelan.
* bpo-38316: Fix co_stacksize documentation (GH-16983)Batuhan Taşkaya2019-12-151-2/+2
|
* bpo-38629: implement __floor__ and __ceil__ for float type (GH-16985)Batuhan Taşkaya2019-12-154-1/+96
|
* The comment in ast_for_namedexpr shouldn't include if_stmt (GH-17586)Guido van Rossum2019-12-151-3/+1
| | | Automerge-Triggered-By: @gvanrossum
* bpo-38021: Modify AIX platform_tag so it covers PEP 425 needs (GH-17303)Michael Felt2019-12-158-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 Naoki2019-12-141-1/+0
|
* Fix typo in site module (GH-17597)Daniel Andersson2019-12-141-1/+1
|
* Fix elif start column offset when there is an else following (GH-17596)Lysandros Nikolaou2019-12-142-2/+11
|
* Add PYTHONUTF8 to commandline usage. (GH-17587)Inada Naoki2019-12-141-0/+1
| | | | Co-Authored-By: Victor Stinner <vstinner@python.org>
* bpo-36406: Handle namespace packages in doctest (GH-12520)Xtreak2019-12-133-2/+8
|
* bpo-39031: Include elif keyword when producing lineno/col-offset info for ↵Lysandros Nikolaou2019-12-123-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 Stanley2019-12-121-3/+4
| | | Co-authored-by: tirkarthi
* bpo-38614: Use support timeout constants (GH-17572)HEADmasterVictor Stinner2019-12-115-36/+67
|
* bpo-38614: Use test.support.SHORT_TIMEOUT constant (GH-17566)Victor Stinner2019-12-1119-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. Coombs2019-12-114-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