summaryrefslogtreecommitdiffstats
path: root/Misc/NEWS.d
Commit message (Collapse)AuthorAgeFilesLines
* bpo-39259: nntplib.NNTP/NNTP_SSL now reject timeout = 0 (GH-17936)Dong-hee Na2020-01-111-0/+3
| | | | | nntplib.NNTP and nntplib.NNTP_SSL now raise a ValueError if the given timeout for their constructor is zero to prevent the creation of a non-blocking socket.
* bpo-39297: Update for importlib_metadata 1.4. (GH-17947)Jason R. Coombs2020-01-111-0/+1
| | | | | | | | | | * bpo-39297: Update for importlib_metadata 1.4. Includes performance updates. * 📜🤖 Added by blurb_it. * Update blurb Co-authored-by: blurb-it[bot] <43283697+blurb-it[bot]@users.noreply.github.com>
* bpo-39200: Correct the error message for min/max builtin function (GH-17814)Dong-hee Na2020-01-101-0/+2
| | | | Correct the error message when calling the min() or max() with no arguments.
* bpo-39259: poplib now rejects timeout = 0 (GH-17912)Dong-hee Na2020-01-101-0/+3
| | | | | poplib.POP3 and poplib.POP3_SSL now raise a ValueError if the given timeout for their constructor is zero to prevent the creation of a non-blocking socket.
* bpo-39166: Fix trace of last iteration of async for loops (#17800)Pablo Galindo2020-01-101-0/+2
|
* bpo-39235: Fix end location for genexp in call args (GH-17925)Guido van Rossum2020-01-091-0/+2
| | | | | | The fix changes copy_location() to require an extra node from which to extract the end location, and fixing all 5 call sites. https://bugs.python.org/issue39235
* bpo-35292: Avoid calling mimetypes.init when http.server is imported (GH-17822)An Long2020-01-081-0/+1
|
* bpo-39242: Updated the Gmane domain into news.gmane.io (GH-17903)Dong-hee Na2020-01-081-0/+3
|
* bpo-38871: Fix lib2to3 for filter-based statements that contain lambda ↵Dong-hee Na2020-01-071-0/+2
| | | | | | (GH-17780) Correctly parenthesize filter-based statements that contain lambda expressions in lib2to3.
* bpo-38615: Add timeout parameter for IMAP4 and IMAP4_SSL constructor (GH-17203)Dong-hee Na2020-01-071-0/+5
| | | | | | | | imaplib.IMAP4 and imaplib.IMAP4_SSL now have an optional *timeout* parameter for their constructors. Also, the imaplib.IMAP4.open() method now has an optional *timeout* parameter with this change. The overridden methods of imaplib.IMAP4_SSL and imaplib.IMAP4_stream were applied to this change.
* bpo-39198: Ensure logging global lock is released on exception in ↵Derek Brown2020-01-071-0/+1
| | | | isEnabledFor (GH-17689)
* bpo-39239: epoll.unregister() no longer ignores EBADF (GH-17882)Victor Stinner2020-01-071-0/+2
| | | | The select.epoll.unregister() method no longer ignores the EBADF error.
* bpo-39209: Manage correctly multi-line tokens in interactive mode (GH-17860)Pablo Galindo2020-01-061-0/+2
|
* Fix link to bpo issue in Changelog (GH-17692)Chandan Singh2020-01-061-1/+1
|
* bpo-38907: In http.server script, restore binding to IPv4 on Windows. (GH-17851)Jason R. Coombs2020-01-061-0/+1
|
* bpo-39200: Correct the error message for range() empty constructor (GH-17813)Pablo Galindo2020-01-051-0/+2
| | | | Co-authored-by: Serhiy Storchaka <storchaka@gmail.com>
* Fix constant folding optimization for positional only arguments (GH-17837)Anthony Sottile2020-01-051-0/+2
|
* bpo-39152: add missing ttk.Scale.configure return value (GH-17815)Terry Jan Reedy2020-01-051-0/+2
| | | | tkinter.ttk.Scale().configure([name]) now returns a configuration tuple for name or a list thereof for all options. Based on patch Giovanni Lombardo.
* bpo-39055: Reject a trailing \n in base64.b64decode() with validate=True. ↵Serhiy Storchaka2020-01-051-0/+2
| | | | (GH-17616)
* bpo-39056: Fix handling invalid warning category in the -W option. (GH-17618)Serhiy Storchaka2020-01-051-0/+2
| | | No longer import the re module if it is not needed.
* bpo-39057: Fix urllib.request.proxy_bypass_environment(). (GH-17619)Serhiy Storchaka2020-01-051-0/+2
| | | Ignore leading dots and no longer ignore a trailing newline.
* Fix SystemError when nested function has annotation on positional-only ↵Anthony Sottile2020-01-051-0/+2
| | | | argument (GH-17826)
* bpo-28367: Add additional baud rates for termios (GH-13142)Anthony Shaw2020-01-041-0/+13
| | | | | | 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-041-0/+3
|
* bpo-39158: ast.literal_eval() doesn't support empty sets (GH-17742)Raymond Hettinger2020-01-031-0/+1
|
* bpo-39114: Fix tracing of except handlers with name binding (GH-17769)Pablo Galindo2020-01-021-0/+2
| | | 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-13601: always use line-buffering for sys.stderr (GH-17646)Jendrik Seipp2020-01-011-0/+6
|
* bpo-39142: Avoid converting namedtuple instances to ConvertingTuple. (GH-17773)Vinay Sajip2020-01-011-0/+5
| | | | | | | 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.
* bpo-38588: Fix possible crashes in dict and list when calling ↵Dong-hee Na2019-12-311-0/+2
| | | | | | 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-301-0/+2
| | | | 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-301-0/+2
| | | Hold strong references to list elements while calling PyObject_RichCompareBool().
* bpo-39019: Implement missing __class_getitem__ for SpooledTemporaryFile ↵Batuhan Taşkaya2019-12-301-0/+1
| | | | | | (GH-17560)
* bpo-39019: Implement missing __class_getitem__ for subprocess classes (GH-17558)Batuhan Taşkaya2019-12-301-0/+2
|
* bpo-39136: Fixed typos (GH-17720)Gurupad Hegde2019-12-281-3/+3
| | | | | funtion -> function; configuraton -> configuration; defintitions -> definitions; focusses -> focuses; necesarily -> necessarily; follwing -> following; Excape -> Escape,
* bpo-39144 Align ctags and etags behaviours in the makefile and include ↵Anthony Shaw2019-12-281-0/+1
| | | | Python stdlib files (GH-17721)
* Update 3.9.0a2.rst (GH-17703)Aurora Lanes2019-12-261-1/+1
| | | | | Fixed small grammatical issue Automerge-Triggered-By: @Mariatta
* 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)
* Fix import path for asyncio.TimeoutError (#17691)Andrew Svetlov2019-12-241-0/+1
|
* bpo-38914 Do not require email field in setup.py. (GH-17388)Jürgen Gmach2019-12-231-0/+5
| | | | | | | | | | | | | | | | | | 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
* bpo-38878: Fix os.PathLike __subclasshook__ (GH-17336)Bar Harel2019-12-221-0/+2
| | | | 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-201-0/+3
| | | | | | | | | | | table (GH-17408) Adds` __module__ ` entries for function & method types in inspect docs table. https://bugs.python.org/issue38918
* Python 3.9.0a2v3.9.0a2Łukasz Langa2019-12-1892-208/+959
|
* bpo-38546: Fix concurrent.futures test_ressources_gced_in_workers() (GH-17652)Victor Stinner2019-12-181-0/+3
| | | | | 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-181-0/+1
| | | | | | | | 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-181-0/+1
| | | | Co-Authored-By: Pablo Galindo <Pablogsal@gmail.com>
* bpo-36500: Add --regen option to PCbuild/build.bat so Windows users can ↵Anthony Shaw2019-12-171-0/+2
| | | | regen grammar, opcodes, tokens and symbols (GH-12654)
* bpo-38546: multiprocessing tests stop the resource tracker (GH-17641)Victor Stinner2019-12-171-0/+2
| | | | | | | | | | 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-171-0/+5
| | | | | | | | | | | | 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.
* bpo-38348: Extend command line options of ast parsing tool (GH-16540)Batuhan Taşkaya2019-12-161-0/+2
| | | | Add -i and --indent (indentation level), and --no-type-comments (type comments) command line options to ast parsing tool.
* bpo-38811: Check for presence of os.link method in pathlib (GH-17225)Toke Høiland-Jørgensen2019-12-161-0/+1
| | | | | | | | | | | 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>