<feed xmlns='http://www.w3.org/2005/Atom'>
<title>delta/cpython-git.git/Grammar, 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>Merge remote-tracking branch 'origin/master' into refactor-lambda-parameters</title>
<updated>2020-05-01T03:59:30+00:00</updated>
<author>
<name>Guido van Rossum</name>
<email>guido@python.org</email>
</author>
<published>2020-05-01T03:59:30+00:00</published>
<link rel='alternate' type='text/html' href='http://91.123.203.49/cgit/delta/cpython-git.git/commit/?id=0be7a2bb0c0c4f7a1317338726176eb267a1c709'/>
<id>0be7a2bb0c0c4f7a1317338726176eb267a1c709</id>
<content type='text'>
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
</pre>
</div>
</content>
</entry>
<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>Fix an oversight (kwds -&gt; lambda_kwds)</title>
<updated>2020-05-01T03:18:18+00:00</updated>
<author>
<name>Guido van Rossum</name>
<email>guido@python.org</email>
</author>
<published>2020-05-01T03:18:18+00:00</published>
<link rel='alternate' type='text/html' href='http://91.123.203.49/cgit/delta/cpython-git.git/commit/?id=c73ab8934487d0dc88ce4a8ed230bae100ff3776'/>
<id>c73ab8934487d0dc88ce4a8ed230bae100ff3776</id>
<content type='text'>
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
</pre>
</div>
</content>
</entry>
<entry>
<title>Refactor lambda_parameters similar to parameters</title>
<updated>2020-05-01T02:55:30+00:00</updated>
<author>
<name>Guido van Rossum</name>
<email>guido@python.org</email>
</author>
<published>2020-05-01T02:55:30+00:00</published>
<link rel='alternate' type='text/html' href='http://91.123.203.49/cgit/delta/cpython-git.git/commit/?id=13c3fd2f38ba4a3cded83f74b543bef3e1a3b320'/>
<id>13c3fd2f38ba4a3cded83f74b543bef3e1a3b320</id>
<content type='text'>
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
</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>bpo-40334: Support CO_FUTURE_BARRY_AS_BDFL in the new parser (GH-19721)</title>
<updated>2020-04-27T17:02:07+00:00</updated>
<author>
<name>Pablo Galindo</name>
<email>Pablogsal@gmail.com</email>
</author>
<published>2020-04-27T17:02:07+00:00</published>
<link rel='alternate' type='text/html' href='http://91.123.203.49/cgit/delta/cpython-git.git/commit/?id=2b74c835a7280840a853e3a9aaeb83758b13a458'/>
<id>2b74c835a7280840a853e3a9aaeb83758b13a458</id>
<content type='text'>
This commit also allows to pass flags to the new parser in all interfaces and fixes a bug in the parser generator that was causing to inline rules with actions, making them disappear.</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
This commit also allows to pass flags to the new parser in all interfaces and fixes a bug in the parser generator that was causing to inline rules with actions, making them disappear.</pre>
</div>
</content>
</entry>
<entry>
<title>bpo-40334: PEP 617 implementation: New PEG parser for CPython (GH-19503)</title>
<updated>2020-04-22T22:29:27+00:00</updated>
<author>
<name>Pablo Galindo</name>
<email>Pablogsal@gmail.com</email>
</author>
<published>2020-04-22T22:29:27+00:00</published>
<link rel='alternate' type='text/html' href='http://91.123.203.49/cgit/delta/cpython-git.git/commit/?id=c5fc15685202cda73f7c3f5c6f299b0945f58508'/>
<id>c5fc15685202cda73f7c3f5c6f299b0945f58508</id>
<content type='text'>
Co-authored-by: Guido van Rossum &lt;guido@python.org&gt;
Co-authored-by: Lysandros Nikolaou &lt;lisandrosnik@gmail.com&gt;</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Co-authored-by: Guido van Rossum &lt;guido@python.org&gt;
Co-authored-by: Lysandros Nikolaou &lt;lisandrosnik@gmail.com&gt;</pre>
</div>
</content>
</entry>
<entry>
<title>bpo-39702: Relax grammar restrictions on decorators (PEP 614) (GH-18570)</title>
<updated>2020-03-03T22:25:44+00:00</updated>
<author>
<name>Brandt Bucher</name>
<email>brandtbucher@gmail.com</email>
</author>
<published>2020-03-03T22:25:44+00:00</published>
<link rel='alternate' type='text/html' href='http://91.123.203.49/cgit/delta/cpython-git.git/commit/?id=be501ca2419a91546dea85ef4f36945545458589'/>
<id>be501ca2419a91546dea85ef4f36945545458589</id>
<content type='text'>
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
</pre>
</div>
</content>
</entry>
<entry>
<title>bpo-35814: Allow unpacking in r.h.s of annotated assignment expressions (GH-13760)</title>
<updated>2019-06-03T07:34:20+00:00</updated>
<author>
<name>Pablo Galindo</name>
<email>Pablogsal@gmail.com</email>
</author>
<published>2019-06-03T07:34:20+00:00</published>
<link rel='alternate' type='text/html' href='http://91.123.203.49/cgit/delta/cpython-git.git/commit/?id=8565f6b6db0fa9f65449b532a5056a98bad3dc37'/>
<id>8565f6b6db0fa9f65449b532a5056a98bad3dc37</id>
<content type='text'>
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
</pre>
</div>
</content>
</entry>
<entry>
<title>bpo-36540: PEP 570 -- Implementation (GH-12701)</title>
<updated>2019-04-29T12:36:57+00:00</updated>
<author>
<name>Pablo Galindo</name>
<email>Pablogsal@gmail.com</email>
</author>
<published>2019-04-29T12:36:57+00:00</published>
<link rel='alternate' type='text/html' href='http://91.123.203.49/cgit/delta/cpython-git.git/commit/?id=8c77b8cb9188165a123f2512026e3629bf03dc9b'/>
<id>8c77b8cb9188165a123f2512026e3629bf03dc9b</id>
<content type='text'>
This commit contains the implementation of PEP570: Python positional-only parameters.

* Update Grammar/Grammar with new typedarglist and varargslist

* Regenerate grammar files

* Update and regenerate AST related files

* Update code object

* Update marshal.c

* Update compiler and symtable

* Regenerate importlib files

* Update callable objects

* Implement positional-only args logic in ceval.c

* Regenerate frozen data

* Update standard library to account for positional-only args

* Add test file for positional-only args

* Update other test files to account for positional-only args

* Add News entry

* Update inspect module and related tests</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
This commit contains the implementation of PEP570: Python positional-only parameters.

* Update Grammar/Grammar with new typedarglist and varargslist

* Regenerate grammar files

* Update and regenerate AST related files

* Update code object

* Update marshal.c

* Update compiler and symtable

* Regenerate importlib files

* Update callable objects

* Implement positional-only args logic in ceval.c

* Regenerate frozen data

* Update standard library to account for positional-only args

* Add test file for positional-only args

* Update other test files to account for positional-only args

* Add News entry

* Update inspect module and related tests</pre>
</div>
</content>
</entry>
</feed>
