<feed xmlns='http://www.w3.org/2005/Atom'>
<title>delta/cpython-git.git/Grammar, branch main</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>gh-103763: Implement PEP 695 (#103764)</title>
<updated>2023-05-16T03:36:23+00:00</updated>
<author>
<name>Jelle Zijlstra</name>
<email>jelle.zijlstra@gmail.com</email>
</author>
<published>2023-05-16T03:36:23+00:00</published>
<link rel='alternate' type='text/html' href='http://91.123.203.49/cgit/delta/cpython-git.git/commit/?id=24d8b88420b81fc60aeb0cbcacef1e72d633824a'/>
<id>24d8b88420b81fc60aeb0cbcacef1e72d633824a</id>
<content type='text'>
This implements PEP 695, Type Parameter Syntax. It adds support for:

- Generic functions (def func[T](): ...)
- Generic classes (class X[T](): ...)
- Type aliases (type X = ...)
- New scoping when the new syntax is used within a class body
- Compiler and interpreter changes to support the new syntax and scoping rules 

Co-authored-by: Marc Mueller &lt;30130371+cdce8p@users.noreply.github.com&gt;
Co-authored-by: Eric Traut &lt;eric@traut.com&gt;
Co-authored-by: Larry Hastings &lt;larry@hastings.org&gt;
Co-authored-by: Alex Waygood &lt;Alex.Waygood@Gmail.com&gt;</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
This implements PEP 695, Type Parameter Syntax. It adds support for:

- Generic functions (def func[T](): ...)
- Generic classes (class X[T](): ...)
- Type aliases (type X = ...)
- New scoping when the new syntax is used within a class body
- Compiler and interpreter changes to support the new syntax and scoping rules 

Co-authored-by: Marc Mueller &lt;30130371+cdce8p@users.noreply.github.com&gt;
Co-authored-by: Eric Traut &lt;eric@traut.com&gt;
Co-authored-by: Larry Hastings &lt;larry@hastings.org&gt;
Co-authored-by: Alex Waygood &lt;Alex.Waygood@Gmail.com&gt;</pre>
</div>
</content>
</entry>
<entry>
<title>gh-103656: Transfer f-string buffers to parser to avoid use-after-free (GH-103896)</title>
<updated>2023-04-27T01:33:31+00:00</updated>
<author>
<name>Lysandros Nikolaou</name>
<email>lisandrosnik@gmail.com</email>
</author>
<published>2023-04-27T01:33:31+00:00</published>
<link rel='alternate' type='text/html' href='http://91.123.203.49/cgit/delta/cpython-git.git/commit/?id=9169a56fad246364fd3224306e72e0d0725c35aa'/>
<id>9169a56fad246364fd3224306e72e0d0725c35aa</id>
<content type='text'>
Co-authored-by: Pablo Galindo &lt;pablogsal@gmail.com&gt;</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Co-authored-by: Pablo Galindo &lt;pablogsal@gmail.com&gt;</pre>
</div>
</content>
</entry>
<entry>
<title>gh-102856: Initial implementation of PEP 701 (#102855)</title>
<updated>2023-04-19T16:18:16+00:00</updated>
<author>
<name>Pablo Galindo Salgado</name>
<email>Pablogsal@gmail.com</email>
</author>
<published>2023-04-19T16:18:16+00:00</published>
<link rel='alternate' type='text/html' href='http://91.123.203.49/cgit/delta/cpython-git.git/commit/?id=1ef61cf71a218c71860ff6aecf0fd51edb8b65dc'/>
<id>1ef61cf71a218c71860ff6aecf0fd51edb8b65dc</id>
<content type='text'>
Co-authored-by: Lysandros Nikolaou &lt;lisandrosnik@gmail.com&gt;
Co-authored-by: Batuhan Taskaya &lt;isidentical@gmail.com&gt;
Co-authored-by: Marta Gómez Macías &lt;mgmacias@google.com&gt;
Co-authored-by: sunmy2019 &lt;59365878+sunmy2019@users.noreply.github.com&gt;</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Co-authored-by: Lysandros Nikolaou &lt;lisandrosnik@gmail.com&gt;
Co-authored-by: Batuhan Taskaya &lt;isidentical@gmail.com&gt;
Co-authored-by: Marta Gómez Macías &lt;mgmacias@google.com&gt;
Co-authored-by: sunmy2019 &lt;59365878+sunmy2019@users.noreply.github.com&gt;</pre>
</div>
</content>
</entry>
<entry>
<title>gh-90994: Improve error messages upon call arguments syntax errors (GH-96893)</title>
<updated>2022-11-20T23:15:05+00:00</updated>
<author>
<name>Lysandros Nikolaou</name>
<email>lisandrosnik@gmail.com</email>
</author>
<published>2022-11-20T23:15:05+00:00</published>
<link rel='alternate' type='text/html' href='http://91.123.203.49/cgit/delta/cpython-git.git/commit/?id=6d8da238ccdf946dc90e20821652d8caa25b76ba'/>
<id>6d8da238ccdf946dc90e20821652d8caa25b76ba</id>
<content type='text'>
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
</pre>
</div>
</content>
</entry>
<entry>
<title>gh-99211: Point to except/except* on syntax errors when mixing them (GH-99215)</title>
<updated>2022-11-20T17:11:02+00:00</updated>
<author>
<name>Lysandros Nikolaou</name>
<email>lisandrosnik@gmail.com</email>
</author>
<published>2022-11-20T17:11:02+00:00</published>
<link rel='alternate' type='text/html' href='http://91.123.203.49/cgit/delta/cpython-git.git/commit/?id=9c4232ae8972a33f84e875cfdd866318a1233e47'/>
<id>9c4232ae8972a33f84e875cfdd866318a1233e47</id>
<content type='text'>
Automerge-Triggered-By: GH:lysnikolaou</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Automerge-Triggered-By: GH:lysnikolaou</pre>
</div>
</content>
</entry>
<entry>
<title>gh-99153: set location on SyntaxError for try with both except and except* (GH-99160)</title>
<updated>2022-11-06T15:36:19+00:00</updated>
<author>
<name>Irit Katriel</name>
<email>1055913+iritkatriel@users.noreply.github.com</email>
</author>
<published>2022-11-06T15:36:19+00:00</published>
<link rel='alternate' type='text/html' href='http://91.123.203.49/cgit/delta/cpython-git.git/commit/?id=61b6c40b645bd8c8568f1646dc46580fa49d107a'/>
<id>61b6c40b645bd8c8568f1646dc46580fa49d107a</id>
<content type='text'>
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
</pre>
</div>
</content>
</entry>
<entry>
<title>gh-98931: Improve error message when the user types 'import x from y' instead of 'from y import x' (#98932)</title>
<updated>2022-11-01T13:01:20+00:00</updated>
<author>
<name>Pablo Galindo Salgado</name>
<email>Pablogsal@gmail.com</email>
</author>
<published>2022-11-01T13:01:20+00:00</published>
<link rel='alternate' type='text/html' href='http://91.123.203.49/cgit/delta/cpython-git.git/commit/?id=395d4285bfba2177719efd826fbb89bf3efcf641'/>
<id>395d4285bfba2177719efd826fbb89bf3efcf641</id>
<content type='text'>
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
</pre>
</div>
</content>
</entry>
<entry>
<title>gh-91210: Improve error message when non-default param follows default (GH-95933)</title>
<updated>2022-09-17T17:09:28+00:00</updated>
<author>
<name>Lysandros Nikolaou</name>
<email>lisandrosnik@gmail.com</email>
</author>
<published>2022-09-17T17:09:28+00:00</published>
<link rel='alternate' type='text/html' href='http://91.123.203.49/cgit/delta/cpython-git.git/commit/?id=7e36abbb7815b14777c207dba0fe6fcd41d6d37a'/>
<id>7e36abbb7815b14777c207dba0fe6fcd41d6d37a</id>
<content type='text'>
- Improve error message when parameter without a default follows one with a default
- Show same error message when positional-only params precede the default/non-default sequence</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
- Improve error message when parameter without a default follows one with a default
- Show same error message when positional-only params precede the default/non-default sequence</pre>
</div>
</content>
</entry>
<entry>
<title>gh-96587: Raise `SyntaxError` for PEP654 on older `feature_version` (#96588)</title>
<updated>2022-09-05T16:54:09+00:00</updated>
<author>
<name>Nikita Sobolev</name>
<email>mail@sobolevn.me</email>
</author>
<published>2022-09-05T16:54:09+00:00</published>
<link rel='alternate' type='text/html' href='http://91.123.203.49/cgit/delta/cpython-git.git/commit/?id=2c7d2e8d46164efb6e27a64081d8e949f6876515'/>
<id>2c7d2e8d46164efb6e27a64081d8e949f6876515</id>
<content type='text'>
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
</pre>
</div>
</content>
</entry>
<entry>
<title>gh-94996: Disallow lambda pos only params with feature_version &lt; (3, 8) (GH-95934)</title>
<updated>2022-08-12T18:41:02+00:00</updated>
<author>
<name>Shantanu</name>
<email>12621235+hauntsaninja@users.noreply.github.com</email>
</author>
<published>2022-08-12T18:41:02+00:00</published>
<link rel='alternate' type='text/html' href='http://91.123.203.49/cgit/delta/cpython-git.git/commit/?id=a965db37f27ffb232312bc13d9a509f0d93fcd20'/>
<id>a965db37f27ffb232312bc13d9a509f0d93fcd20</id>
<content type='text'>
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
</pre>
</div>
</content>
</entry>
</feed>
