<feed xmlns='http://www.w3.org/2005/Atom'>
<title>delta/cpython-git.git/Lib, branch refactor-lambda-parameters</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-40334: Add support for feature_version in new PEG parser (GH-19827)</title>
<updated>2020-05-01T03:27:52+00:00</updated>
<author>
<name>Lysandros Nikolaou</name>
<email>lisandrosnik@gmail.com</email>
</author>
<published>2020-05-01T03:27:52+00:00</published>
<link rel='alternate' type='text/html' href='http://91.123.203.49/cgit/delta/cpython-git.git/commit/?id=3e0a6f37dfdd595be737baae00ec0e036a912615'/>
<id>3e0a6f37dfdd595be737baae00ec0e036a912615</id>
<content type='text'>
`ast.parse` and `compile` support a `feature_version` parameter that
tells the parser to parse the input string, as if it were written in
an older Python version.
The `feature_version` is propagated to the tokenizer, which uses it
to handle the three different stages of support for `async` and
`await`. Additionally, it disallows the following at parser level:
- The '@' operator in &lt; 3.5
- Async functions in &lt; 3.5
- Async comprehensions in &lt; 3.6
- Underscores in numeric literals in &lt; 3.6
- Await expression in &lt; 3.5
- Variable annotations in &lt; 3.6
- Async for-loops in &lt; 3.5
- Async with-statements in &lt; 3.5
- F-strings in &lt; 3.6

Closes we-like-parsers/cpython#124.</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
`ast.parse` and `compile` support a `feature_version` parameter that
tells the parser to parse the input string, as if it were written in
an older Python version.
The `feature_version` is propagated to the tokenizer, which uses it
to handle the three different stages of support for `async` and
`await`. Additionally, it disallows the following at parser level:
- The '@' operator in &lt; 3.5
- Async functions in &lt; 3.5
- Async comprehensions in &lt; 3.6
- Underscores in numeric literals in &lt; 3.6
- Await expression in &lt; 3.5
- Variable annotations in &lt; 3.6
- Async for-loops in &lt; 3.5
- Async with-statements in &lt; 3.5
- F-strings in &lt; 3.6

Closes we-like-parsers/cpython#124.</pre>
</div>
</content>
</entry>
<entry>
<title>bpo-40443: Remove unused imports in stdlib (GH-19815)</title>
<updated>2020-05-01T00:38:00+00:00</updated>
<author>
<name>Victor Stinner</name>
<email>vstinner@python.org</email>
</author>
<published>2020-05-01T00:38:00+00:00</published>
<link rel='alternate' type='text/html' href='http://91.123.203.49/cgit/delta/cpython-git.git/commit/?id=eb0d359b4b0e14552998e7af771a088b4fd01745'/>
<id>eb0d359b4b0e14552998e7af771a088b4fd01745</id>
<content type='text'>
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
</pre>
</div>
</content>
</entry>
<entry>
<title>bpo-40275: Fix name error in support.socket_helper (GH-19825)</title>
<updated>2020-05-01T00:35:24+00:00</updated>
<author>
<name>Victor Stinner</name>
<email>vstinner@python.org</email>
</author>
<published>2020-05-01T00:35:24+00:00</published>
<link rel='alternate' type='text/html' href='http://91.123.203.49/cgit/delta/cpython-git.git/commit/?id=2935e65c36fab1989bbda19db72c035ea22b044b'/>
<id>2935e65c36fab1989bbda19db72c035ea22b044b</id>
<content type='text'>
Replace TestFailed with support.TestFailed.

Bug spotted by pyflakes.</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Replace TestFailed with support.TestFailed.

Bug spotted by pyflakes.</pre>
</div>
</content>
</entry>
<entry>
<title>Remove dead code in test__xxsubinterpreters (GH-19826)</title>
<updated>2020-05-01T00:34:22+00:00</updated>
<author>
<name>Victor Stinner</name>
<email>vstinner@python.org</email>
</author>
<published>2020-05-01T00:34:22+00:00</published>
<link rel='alternate' type='text/html' href='http://91.123.203.49/cgit/delta/cpython-git.git/commit/?id=17014e45864cefd37660b054fb71fa2e177690ef'/>
<id>17014e45864cefd37660b054fb71fa2e177690ef</id>
<content type='text'>
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
</pre>
</div>
</content>
</entry>
<entry>
<title>Revert "bpo-29587: Enable implicit exception chaining with gen.throw() (GH-19811)" (#19821)</title>
<updated>2020-04-30T20:44:24+00:00</updated>
<author>
<name>Victor Stinner</name>
<email>vstinner@python.org</email>
</author>
<published>2020-04-30T20:44:24+00:00</published>
<link rel='alternate' type='text/html' href='http://91.123.203.49/cgit/delta/cpython-git.git/commit/?id=3c7f9db85095952821f9d106dd874f75662ce7ec'/>
<id>3c7f9db85095952821f9d106dd874f75662ce7ec</id>
<content type='text'>
This reverts commit 2514a632fb7d37be24c2059d0e286d35600f9795.</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
This reverts commit 2514a632fb7d37be24c2059d0e286d35600f9795.</pre>
</div>
</content>
</entry>
<entry>
<title>bpo-29587: Enable implicit exception chaining with gen.throw() (GH-19811)</title>
<updated>2020-04-30T19:18:05+00:00</updated>
<author>
<name>Chris Jerdonek</name>
<email>chris.jerdonek@gmail.com</email>
</author>
<published>2020-04-30T19:18:05+00:00</published>
<link rel='alternate' type='text/html' href='http://91.123.203.49/cgit/delta/cpython-git.git/commit/?id=2514a632fb7d37be24c2059d0e286d35600f9795'/>
<id>2514a632fb7d37be24c2059d0e286d35600f9795</id>
<content type='text'>
Before this commit, if an exception was active inside a generator
when calling gen.throw(), then that exception was lost (i.e. there
was no implicit exception chaining).  This commit fixes that.</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Before this commit, if an exception was active inside a generator
when calling gen.throw(), then that exception was lost (i.e. there
was no implicit exception chaining).  This commit fixes that.</pre>
</div>
</content>
</entry>
<entry>
<title>bpo-40334: Support type comments (GH-19780)</title>
<updated>2020-04-30T19:12:19+00:00</updated>
<author>
<name>Guido van Rossum</name>
<email>guido@python.org</email>
</author>
<published>2020-04-30T19:12:19+00:00</published>
<link rel='alternate' type='text/html' href='http://91.123.203.49/cgit/delta/cpython-git.git/commit/?id=c001c09e9059ba04bc088349cd87a1374dc0754f'/>
<id>c001c09e9059ba04bc088349cd87a1374dc0754f</id>
<content type='text'>
This implements full support for # type: &lt;type&gt; comments, # type: ignore &lt;stuff&gt; comments, and the func_type parsing mode for ast.parse() and compile().

Closes https://github.com/we-like-parsers/cpython/issues/95.

(For now, you need to use the master branch of mypy, since another issue unique to 3.9 had to be fixed there, and there's no mypy release yet.)

The only thing missing is `feature_version=N`, which is being tracked in https://github.com/we-like-parsers/cpython/issues/124.
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
This implements full support for # type: &lt;type&gt; comments, # type: ignore &lt;stuff&gt; comments, and the func_type parsing mode for ast.parse() and compile().

Closes https://github.com/we-like-parsers/cpython/issues/95.

(For now, you need to use the master branch of mypy, since another issue unique to 3.9 had to be fixed there, and there's no mypy release yet.)

The only thing missing is `feature_version=N`, which is being tracked in https://github.com/we-like-parsers/cpython/issues/124.
</pre>
</div>
</content>
</entry>
<entry>
<title>compileall: Fix typos in docstring (GH-19810)</title>
<updated>2020-04-30T10:39:11+00:00</updated>
<author>
<name>Jelle Zijlstra</name>
<email>jelle.zijlstra@gmail.com</email>
</author>
<published>2020-04-30T10:39:11+00:00</published>
<link rel='alternate' type='text/html' href='http://91.123.203.49/cgit/delta/cpython-git.git/commit/?id=efb8dd5b3ec91f7d9458d3f203d748604d52b121'/>
<id>efb8dd5b3ec91f7d9458d3f203d748604d52b121</id>
<content type='text'>
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
</pre>
</div>
</content>
</entry>
<entry>
<title>bpo-40443: Remove unused imports in distutils (GH-19802)</title>
<updated>2020-04-30T09:28:09+00:00</updated>
<author>
<name>Victor Stinner</name>
<email>vstinner@python.org</email>
</author>
<published>2020-04-30T09:28:09+00:00</published>
<link rel='alternate' type='text/html' href='http://91.123.203.49/cgit/delta/cpython-git.git/commit/?id=e488e300f5c01289c10906c2e53a8e43d6de32d8'/>
<id>e488e300f5c01289c10906c2e53a8e43d6de32d8</id>
<content type='text'>
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
</pre>
</div>
</content>
</entry>
<entry>
<title>bpo-40443: Remove unused imports in the stdlib (GH-19803)</title>
<updated>2020-04-30T09:26:33+00:00</updated>
<author>
<name>Victor Stinner</name>
<email>vstinner@python.org</email>
</author>
<published>2020-04-30T09:26:33+00:00</published>
<link rel='alternate' type='text/html' href='http://91.123.203.49/cgit/delta/cpython-git.git/commit/?id=90549676e063c2c818cfc14213d3adb7edcc2bd5'/>
<id>90549676e063c2c818cfc14213d3adb7edcc2bd5</id>
<content type='text'>
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
</pre>
</div>
</content>
</entry>
</feed>
