cpython/Misc/NEWS.d/next/Core and Builtins
Pablo Galindo a77aac4fca
bpo-43914: Highlight invalid ranges in SyntaxErrors (#25525)
To improve the user experience understanding what part of the error messages associated with SyntaxErrors is wrong, we can highlight the whole error range and not only place the caret at the first character. In this way:

>>> foo(x, z for z in range(10), t, w)
  File "<stdin>", line 1
    foo(x, z for z in range(10), t, w)
           ^
SyntaxError: Generator expression must be parenthesized

becomes

>>> foo(x, z for z in range(10), t, w)
  File "<stdin>", line 1
    foo(x, z for z in range(10), t, w)
           ^^^^^^^^^^^^^^^^^^^^
SyntaxError: Generator expression must be parenthesized
2021-04-23 14:27:05 +01:00
..
2019-10-27-20-20-07.bpo-38530.ZyoDNn.rst Fix typo in the What's New for 3.10 (GH-25396) 2021-04-14 14:16:47 +01:00
2021-03-31-16-32-57.bpo-43682.VSF3vg.rst bpo-43682: Make staticmethod objects callable (GH-25117) 2021-04-12 00:21:22 +02:00
2021-03-31-20-35-11.bpo-43105.PBVmHm.rst bpo-43105: Importlib now resolves relative paths when creating module spec objects from file locations (GH-25121) 2021-04-07 01:02:07 +01:00
2021-04-01-12-30-30.bpo-43683.AjxOx2.rst bpo-43683: Handle generator entry in bytecode (GH-25138) 2021-04-06 11:48:59 +01:00
2021-04-05-17-38-08.bpo-42128.1uVeGK.rst bpo-42128: __match_args__ can't be a list anymore (GH-25203) 2021-04-05 19:17:08 -07:00
2021-04-07-18-00-05.bpo-43751.8fHsqQ.rst bpo-43751: Fix anext() bug where it erroneously returned None (GH-25238) 2021-04-11 05:51:35 +01:00
2021-04-08-01-06-22.bpo-43682.eUn4p5.rst bpo-43682: @staticmethod inherits attributes (GH-25268) 2021-04-09 17:51:22 +02:00
2021-04-08-12-20-29.bpo-43760.tBIsD8.rst bpo-43760: Speed up check for tracing in interpreter dispatch (#25276) 2021-04-13 11:08:14 +01:00
2021-04-09-19-12-48.bpo-43797.HfRqNP.rst bpo-43797: Improve syntax error for invalid comparisons (#25317) 2021-04-12 16:59:30 +01:00
2021-04-10-00-01-43.bpo-43798.p_nJFM.rst bpo-43798: Add source location attributes to alias (GH-25324) 2021-04-10 22:56:28 +02:00
2021-04-13-02-32-18.bpo-43822.lej0OO.rst bpo-43822: Improve syntax errors for missing commas (GH-25377) 2021-04-15 21:38:45 +01:00
2021-04-13-03-06-09.bpo-43823.xpuHBi.rst bpo-43823: Improve syntax errors for invalid dictionary literals (GH-25378) 2021-04-15 14:06:39 +01:00
2021-04-14-03-53-06.bpo-38530.rNI_G1.rst bpo-38530: Offer suggestions on NameError (GH-25397) 2021-04-14 15:10:33 +01:00
2021-04-14-13-53-08.bpo-43846.2jO97c.rst bpo-43846: Use less stack for large literals and calls (GH-25403) 2021-04-15 14:28:56 +01:00
2021-04-15-10-19-59.bpo-41323.nsvpSg.rst bpo-41323: compiler: Reuse tuple in constant tuple folding (GH-25419) 2021-04-16 14:01:04 +09:00
2021-04-16-01-26-57.bpo-43859.QfqjFL.rst bpo-43859: Improve the error message for IndentationError exceptions (GH-25431) 2021-04-21 15:28:21 +01:00
2021-04-20-20-10-46.bpo-43475.oV8Mbs.rst bpo-43475: Fix worst case collision behavior for NaN instances (GH-25493) 2021-04-22 08:34:57 -07:00
2021-04-20-22-17-47.bpo-38605.9eeCNZ.rst bpo-38605: Revert making 'from __future__ import annotations' the default (GH-25490) 2021-04-21 12:41:19 +01:00
2021-04-22-19-09-58.bpo-43914.0Ik1AM.rst bpo-43914: Highlight invalid ranges in SyntaxErrors (#25525) 2021-04-23 14:27:05 +01:00
README.rst Link to blurb on PyPI in the NEWS.d READMEs. (#3323) 2017-09-05 10:38:05 -07:00

README.rst

Put news entry `blurb`_ files for the *Core and Builtins* section in this directory.

.. _blurb: https://pypi.org/project/blurb/