summaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeFilesLines
* Fix SystemError when nested function has annotation on positional-only ↵Anthony Sottile2020-01-053-0/+11
| | | | argument (GH-17826)
* bpo-28367: Add additional baud rates for termios (GH-13142)Anthony Shaw2020-01-042-0/+46
| | | | | | Co-authored-by: Andrey Smirnov <andrew.smirnov@gmail.com>. Co-authored-by: blurb-it[bot] <43283697+blurb-it[bot]@users.noreply.github.com>
* Fix #39191: Don't spawn a task before failing (#17796)Andrew Svetlov2020-01-042-3/+10
|
* bpo-38532: Add missing decrefs in PyCFuncPtr_FromDll() (GH-16857)Zackery Spytz2020-01-031-0/+2
|
* Add link to zlib v1.1.3 vulnerability (GH-17156)Emmanuel Nosa E2020-01-031-3/+2
|
* bpo-39158: ast.literal_eval() doesn't support empty sets (GH-17742)Raymond Hettinger2020-01-034-0/+8
|
* Update copyright year in macOS installer license copy (GH-17806)Ned Deily2020-01-031-3/+3
|
* Bring Python into the next decade. (GH-17801)Benjamin Peterson2020-01-038-9/+9
|
* bpo-38870: Throw ValueError on invalid yield from usage (GH-17798)Batuhan Taşkaya2020-01-022-4/+6
|
* Remove outdated mention of hg.exe from Tools/msi/README.txt (GH-17792)Anthony Shaw2020-01-021-3/+3
|
* bpo-39114: Fix tracing of except handlers with name binding (GH-17769)Pablo Galindo2020-01-023-1/+50
| | | When producing the bytecode of exception handlers with name binding (like `except Exception as e`) we need to produce a try-finally block to make sure that the name is deleted after the handler is executed to prevent cycles in the stack frame objects. The bytecode associated with this try-finally block does not have source lines associated and it was causing problems when the tracing functionality was running over it.
* bpo-39183: Fix formatting in library/ensurepip (GH-17787)Rafael Fontenelle2020-01-011-1/+1
| | | | | | Remove extra space to fix formatting and avoid from splitting text in to strings. https://bugs.python.org/issue39183
* bpo-13601: always use line-buffering for sys.stderr (GH-17646)Jendrik Seipp2020-01-015-4/+33
|
* bpo-39142: Avoid converting namedtuple instances to ConvertingTuple. (GH-17773)Vinay Sajip2020-01-013-1/+37
| | | | | | | This uses the heuristic of assuming a named tuple is a subclass of tuple with a _fields attribute. This change means that contents of a named tuple wouldn't be converted - if a user wants to have ConvertingTuple functionality from a namedtuple, they will have to implement it themselves.
* Document CodeType.replace (GH-17776)Anthony Sottile2020-01-013-5/+11
|
* bpo-39176: Improve error message for 'named assignment' (GH-17777)Ned Batchelder2020-01-013-4/+4
|
* Fix idlelib README typo. (GH-17770)Terry Jan Reedy2019-12-311-1/+1
|
* Minor doc fixes in urllib.parse (GH-17745)Борис Верховский2019-12-311-26/+27
|
* closes bpo-37446: resolve undefined behavior in Python/hamt.c (GH-17727)Batuhan Taşkaya2019-12-311-1/+1
|
* bpo-38588: Optimize list comparison. (GH-17766)Inada Naoki2019-12-311-0/+3
| | | Mitigate performance regression of the list comparison caused by 2d5bf56.
* bpo-38588: Fix possible crashes in dict and list when calling ↵Dong-hee Na2019-12-315-1/+47
| | | | | | PyObject_RichCompareBool (GH-17734) Take strong references before calling PyObject_RichCompareBool to protect against the case where the object dies during the call.
* bpo-34118: memoryview, range, and tuple are classes (GH-17761)Terry Jan Reedy2019-12-302-3/+5
| | | | Tag memoryview, range, and tuple as classes, the same as list, etcetera, in the library manual built-in functions list.
* bpo-38610: Fix possible crashes in several list methods (GH-17022)Zackery Spytz2019-12-303-3/+40
| | | Hold strong references to list elements while calling PyObject_RichCompareBool().
* bpo-39019: Implement missing __class_getitem__ for SpooledTemporaryFile ↵Batuhan Taşkaya2019-12-303-0/+16
| | | | | | (GH-17560)
* bpo-39019: Implement missing __class_getitem__ for subprocess classes (GH-17558)Batuhan Taşkaya2019-12-303-0/+29
|
* bpo-34790: Implement deprecation of passing coroutines to asyncio.wait() ↵Kyle Stanley2019-12-303-5/+28
| | | | (GH-16977)
* Fix handling of line numbers around finally-blocks. (#17737)Mark Shannon2019-12-303-1622/+1692
|
* bpo-39037: Fix lookup order of magic methods in with statement documentation ↵Géry Ogam2019-12-301-18/+49
| | | | | | | | | | (GH-17608) * __enter__ is now looked up before __exit__ to give a more intuitive error message * add pseudo-code equivalent for the with statement * fix pseudo-code for the async with statement to use a finally clause * use SUITE rather than BLOCK for consistency with the language grammar Patch by Géry Ogam.
* Fix typos and remove deprecated deprecation warning. (GH-17741)Antoine2019-12-291-11/+4
|
* bpo-39157: Skip test_pidfd_send_signal if the system does not have enough ↵Pablo Galindo2019-12-291-0/+2
| | | | privileges to use pidfd (GH-17740)
* Fix error when running with -uall in test_unparse (GH-17739)Pablo Galindo2019-12-291-7/+7
|
* bpo-38870: Run always tests that heavily use grammar features in ↵Pablo Galindo2019-12-291-1/+11
| | | | test_unparse (GH-17738)
* links in importlib.metadata.rst replaced with sphinx references (GH-17730)Oleg Höfling2019-12-293-23/+19
| | | | | | | The importlib.metadata documentation uses hardcoded links to internal pages. This results in minor rendering issues. This change replaces the hardcoded links with suitable Sphinx roles. Signed-off-by: Oleg Höfling <oleg.hoefling@gmail.com>
* bpo-39136: Fixed typos (GH-17720)Gurupad Hegde2019-12-289-12/+12
| | | | | funtion -> function; configuraton -> configuration; defintitions -> definitions; focusses -> focuses; necesarily -> necessarily; follwing -> following; Excape -> Escape,
* bpo-38731: Fix function signature of quiet in docs (GH-17719)Batuhan Taşkaya2019-12-281-1/+1
|
* bpo-39144 Align ctags and etags behaviours in the makefile and include ↵Anthony Shaw2019-12-282-0/+4
| | | | Python stdlib files (GH-17721)
* Move comment about permanent generation to gcmodule.c (GH-17718)Pablo Galindo2019-12-272-38/+34
| | | | | | The comment about the collection rules for the permanent generation was incorrectly referenced by a comment in gcmodule.c (the comment has been moved long ago into a header file). Moving the comment into the relevant code helps with readability and avoids broken references.
* 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