mirror of https://github.com/python/cpython
a77aac4fca
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 |
||
---|---|---|
.. | ||
2019-10-27-20-20-07.bpo-38530.ZyoDNn.rst | ||
2021-03-31-16-32-57.bpo-43682.VSF3vg.rst | ||
2021-03-31-20-35-11.bpo-43105.PBVmHm.rst | ||
2021-04-01-12-30-30.bpo-43683.AjxOx2.rst | ||
2021-04-05-17-38-08.bpo-42128.1uVeGK.rst | ||
2021-04-07-18-00-05.bpo-43751.8fHsqQ.rst | ||
2021-04-08-01-06-22.bpo-43682.eUn4p5.rst | ||
2021-04-08-12-20-29.bpo-43760.tBIsD8.rst | ||
2021-04-09-19-12-48.bpo-43797.HfRqNP.rst | ||
2021-04-10-00-01-43.bpo-43798.p_nJFM.rst | ||
2021-04-13-02-32-18.bpo-43822.lej0OO.rst | ||
2021-04-13-03-06-09.bpo-43823.xpuHBi.rst | ||
2021-04-14-03-53-06.bpo-38530.rNI_G1.rst | ||
2021-04-14-13-53-08.bpo-43846.2jO97c.rst | ||
2021-04-15-10-19-59.bpo-41323.nsvpSg.rst | ||
2021-04-16-01-26-57.bpo-43859.QfqjFL.rst | ||
2021-04-20-20-10-46.bpo-43475.oV8Mbs.rst | ||
2021-04-20-22-17-47.bpo-38605.9eeCNZ.rst | ||
2021-04-22-19-09-58.bpo-43914.0Ik1AM.rst | ||
README.rst |
README.rst
Put news entry `blurb`_ files for the *Core and Builtins* section in this directory. .. _blurb: https://pypi.org/project/blurb/