<feed xmlns='http://www.w3.org/2005/Atom'>
<title>delta/cpython-git.git/Parser, branch dependabot/github_actions/actions/cache-v2.1.5</title>
<subtitle>github.com: python/cpython.git
</subtitle>
<link rel='alternate' type='text/html' href='http://91.123.203.49/cgit/delta/cpython-git.git/'/>
<entry>
<title>bpo-43892: Validate the first term of complex literal value patterns (GH-25735)</title>
<updated>2021-04-30T00:19:28+00:00</updated>
<author>
<name>Brandt Bucher</name>
<email>brandt@python.org</email>
</author>
<published>2021-04-30T00:19:28+00:00</published>
<link rel='alternate' type='text/html' href='http://91.123.203.49/cgit/delta/cpython-git.git/commit/?id=dbe60ee09dc5a624cfb78dff61ecf050a5b3f105'/>
<id>dbe60ee09dc5a624cfb78dff61ecf050a5b3f105</id>
<content type='text'>
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
</pre>
</div>
</content>
</entry>
<entry>
<title>bpo-43892: Make match patterns explicit in the AST (GH-25585)</title>
<updated>2021-04-29T05:58:44+00:00</updated>
<author>
<name>Nick Coghlan</name>
<email>ncoghlan@gmail.com</email>
</author>
<published>2021-04-29T05:58:44+00:00</published>
<link rel='alternate' type='text/html' href='http://91.123.203.49/cgit/delta/cpython-git.git/commit/?id=1e7b858575d0ad782939f86aae4a2fa1c29e9f14'/>
<id>1e7b858575d0ad782939f86aae4a2fa1c29e9f14</id>
<content type='text'>
Co-authored-by: Brandt Bucher &lt;brandtbucher@gmail.com&gt;</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Co-authored-by: Brandt Bucher &lt;brandtbucher@gmail.com&gt;</pre>
</div>
</content>
</entry>
<entry>
<title>bpo-30555: Fix WindowsConsoleIO fails in the presence of fd redirection (GH-1927)</title>
<updated>2021-04-23T22:00:27+00:00</updated>
<author>
<name>Segev Finer</name>
<email>segev208@gmail.com</email>
</author>
<published>2021-04-23T22:00:27+00:00</published>
<link rel='alternate' type='text/html' href='http://91.123.203.49/cgit/delta/cpython-git.git/commit/?id=5e437fb872279960992c9a07f1a4c051b4948c53'/>
<id>5e437fb872279960992c9a07f1a4c051b4948c53</id>
<content type='text'>
This works by not caching the handle and instead getting the handle from
the file descriptor each time, so that if the actual handle changes by
fd redirection closing/opening the console handle beneath our feet, we
will keep working correctly.</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
This works by not caching the handle and instead getting the handle from
the file descriptor each time, so that if the actual handle changes by
fd redirection closing/opening the console handle beneath our feet, we
will keep working correctly.</pre>
</div>
</content>
</entry>
<entry>
<title>bpo-43914: Highlight invalid ranges in SyntaxErrors (#25525)</title>
<updated>2021-04-23T13:27:05+00:00</updated>
<author>
<name>Pablo Galindo</name>
<email>Pablogsal@gmail.com</email>
</author>
<published>2021-04-23T13:27:05+00:00</published>
<link rel='alternate' type='text/html' href='http://91.123.203.49/cgit/delta/cpython-git.git/commit/?id=a77aac4fca9723b8fd52a832f3e9df13beb25113'/>
<id>a77aac4fca9723b8fd52a832f3e9df13beb25113</id>
<content type='text'>
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:

&gt;&gt;&gt; foo(x, z for z in range(10), t, w)
  File "&lt;stdin&gt;", line 1
    foo(x, z for z in range(10), t, w)
           ^
SyntaxError: Generator expression must be parenthesized

becomes

&gt;&gt;&gt; foo(x, z for z in range(10), t, w)
  File "&lt;stdin&gt;", line 1
    foo(x, z for z in range(10), t, w)
           ^^^^^^^^^^^^^^^^^^^^
SyntaxError: Generator expression must be parenthesized</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
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:

&gt;&gt;&gt; foo(x, z for z in range(10), t, w)
  File "&lt;stdin&gt;", line 1
    foo(x, z for z in range(10), t, w)
           ^
SyntaxError: Generator expression must be parenthesized

becomes

&gt;&gt;&gt; foo(x, z for z in range(10), t, w)
  File "&lt;stdin&gt;", line 1
    foo(x, z for z in range(10), t, w)
           ^^^^^^^^^^^^^^^^^^^^
SyntaxError: Generator expression must be parenthesized</pre>
</div>
</content>
</entry>
<entry>
<title>bpo-43859: Improve the error message for IndentationError exceptions (GH-25431)</title>
<updated>2021-04-21T14:28:21+00:00</updated>
<author>
<name>Pablo Galindo</name>
<email>Pablogsal@gmail.com</email>
</author>
<published>2021-04-21T14:28:21+00:00</published>
<link rel='alternate' type='text/html' href='http://91.123.203.49/cgit/delta/cpython-git.git/commit/?id=56c95dfe271b1242bdc8163d4677e311552c00cb'/>
<id>56c95dfe271b1242bdc8163d4677e311552c00cb</id>
<content type='text'>
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
</pre>
</div>
</content>
</entry>
<entry>
<title>bpo-43823: Fix location of one of the errors for invalid dictionary literals (GH-25427)</title>
<updated>2021-04-15T23:45:42+00:00</updated>
<author>
<name>Pablo Galindo</name>
<email>Pablogsal@gmail.com</email>
</author>
<published>2021-04-15T23:45:42+00:00</published>
<link rel='alternate' type='text/html' href='http://91.123.203.49/cgit/delta/cpython-git.git/commit/?id=b5b98bd8f8c72a9068cf149dbc162c8c95d30057'/>
<id>b5b98bd8f8c72a9068cf149dbc162c8c95d30057</id>
<content type='text'>
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
</pre>
</div>
</content>
</entry>
<entry>
<title>bpo-43822: Improve syntax errors for missing commas (GH-25377)</title>
<updated>2021-04-15T20:38:45+00:00</updated>
<author>
<name>Pablo Galindo</name>
<email>Pablogsal@gmail.com</email>
</author>
<published>2021-04-15T20:38:45+00:00</published>
<link rel='alternate' type='text/html' href='http://91.123.203.49/cgit/delta/cpython-git.git/commit/?id=b280248be8e648feb82f3f3ed0050e50b238df7b'/>
<id>b280248be8e648feb82f3f3ed0050e50b238df7b</id>
<content type='text'>
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
</pre>
</div>
</content>
</entry>
<entry>
<title>bpo-43823: Improve syntax errors for invalid dictionary literals (GH-25378)</title>
<updated>2021-04-15T13:06:39+00:00</updated>
<author>
<name>Pablo Galindo</name>
<email>Pablogsal@gmail.com</email>
</author>
<published>2021-04-15T13:06:39+00:00</published>
<link rel='alternate' type='text/html' href='http://91.123.203.49/cgit/delta/cpython-git.git/commit/?id=da7435017430671f86075449ff7bde96fd7700a5'/>
<id>da7435017430671f86075449ff7bde96fd7700a5</id>
<content type='text'>
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
</pre>
</div>
</content>
</entry>
<entry>
<title>bpo-43797: Handle correctly invalid assignments inside function calls and generators (GH-25390)</title>
<updated>2021-04-13T16:51:21+00:00</updated>
<author>
<name>Pablo Galindo</name>
<email>Pablogsal@gmail.com</email>
</author>
<published>2021-04-13T16:51:21+00:00</published>
<link rel='alternate' type='text/html' href='http://91.123.203.49/cgit/delta/cpython-git.git/commit/?id=30ed93bfec5dfa7ee05982e2df8fd810f3f49305'/>
<id>30ed93bfec5dfa7ee05982e2df8fd810f3f49305</id>
<content type='text'>
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
</pre>
</div>
</content>
</entry>
<entry>
<title>Ensure that early = are not matched by the parser as invalid comparisons (GH-25375)</title>
<updated>2021-04-13T01:32:33+00:00</updated>
<author>
<name>Pablo Galindo</name>
<email>Pablogsal@gmail.com</email>
</author>
<published>2021-04-13T01:32:33+00:00</published>
<link rel='alternate' type='text/html' href='http://91.123.203.49/cgit/delta/cpython-git.git/commit/?id=d9151cb45371836d39b6d53afb50c5bcd353c661'/>
<id>d9151cb45371836d39b6d53afb50c5bcd353c661</id>
<content type='text'>
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
</pre>
</div>
</content>
</entry>
</feed>
