<feed xmlns='http://www.w3.org/2005/Atom'>
<title>delta/cpython-git.git/Parser, branch main</title>
<subtitle>github.com: python/cpython.git
</subtitle>
<link rel='alternate' type='text/html' href='http://git.baserock.org/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://git.baserock.org/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>Trim trailing whitespace and test on CI (#104275)</title>
<updated>2023-05-08T14:03:52+00:00</updated>
<author>
<name>Hugo van Kemenade</name>
<email>hugovk@users.noreply.github.com</email>
</author>
<published>2023-05-08T14:03:52+00:00</published>
<link rel='alternate' type='text/html' href='http://git.baserock.org/cgit/delta/cpython-git.git/commit/?id=d513ddee94a05783b98f2b55f8fc0a4efbb9be82'/>
<id>d513ddee94a05783b98f2b55f8fc0a4efbb9be82</id>
<content type='text'>
Co-authored-by: Alex Waygood &lt;Alex.Waygood@Gmail.com&gt;
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Co-authored-by: Alex Waygood &lt;Alex.Waygood@Gmail.com&gt;
</pre>
</div>
</content>
</entry>
<entry>
<title>gh-99113: Add Py_MOD_PER_INTERPRETER_GIL_SUPPORTED (gh-104205)</title>
<updated>2023-05-05T21:11:27+00:00</updated>
<author>
<name>Eric Snow</name>
<email>ericsnowcurrently@gmail.com</email>
</author>
<published>2023-05-05T21:11:27+00:00</published>
<link rel='alternate' type='text/html' href='http://git.baserock.org/cgit/delta/cpython-git.git/commit/?id=a9c6e0618f26270e2591b3d99ffeef55eea02a33'/>
<id>a9c6e0618f26270e2591b3d99ffeef55eea02a33</id>
<content type='text'>
Here we are doing no more than adding the value for Py_mod_multiple_interpreters and using it for stdlib modules.  We will start checking for it in gh-104206 (once PyInterpreterState.ceval.own_gil is added in gh-104204).</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Here we are doing no more than adding the value for Py_mod_multiple_interpreters and using it for stdlib modules.  We will start checking for it in gh-104206 (once PyInterpreterState.ceval.own_gil is added in gh-104204).</pre>
</div>
</content>
</entry>
<entry>
<title>gh-104169: Ensure the tokenizer doesn't overwrite previous errors (#104170)</title>
<updated>2023-05-04T14:15:26+00:00</updated>
<author>
<name>Pablo Galindo Salgado</name>
<email>Pablogsal@gmail.com</email>
</author>
<published>2023-05-04T14:15:26+00:00</published>
<link rel='alternate' type='text/html' href='http://git.baserock.org/cgit/delta/cpython-git.git/commit/?id=eba64d2afb4c429e80d863dc0dd7808bdbef30d3'/>
<id>eba64d2afb4c429e80d863dc0dd7808bdbef30d3</id>
<content type='text'>
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
</pre>
</div>
</content>
</entry>
<entry>
<title>gh-97556: Raise null bytes syntax error upon null in multiline string (GH-104136)</title>
<updated>2023-05-04T12:26:23+00:00</updated>
<author>
<name>Lysandros Nikolaou</name>
<email>lisandrosnik@gmail.com</email>
</author>
<published>2023-05-04T12:26:23+00:00</published>
<link rel='alternate' type='text/html' href='http://git.baserock.org/cgit/delta/cpython-git.git/commit/?id=ef0df5284f929719b2ef3955b1b569ade0a5193c'/>
<id>ef0df5284f929719b2ef3955b1b569ade0a5193c</id>
<content type='text'>
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
</pre>
</div>
</content>
</entry>
<entry>
<title>gh-104016: Fixed off by 1 error in f string tokenizer (#104047)</title>
<updated>2023-05-01T19:15:47+00:00</updated>
<author>
<name>jx124</name>
<email>64946984+jx124@users.noreply.github.com</email>
</author>
<published>2023-05-01T19:15:47+00:00</published>
<link rel='alternate' type='text/html' href='http://git.baserock.org/cgit/delta/cpython-git.git/commit/?id=5078eedc5b18f0d208af6e30f60b33419132d1b6'/>
<id>5078eedc5b18f0d208af6e30f60b33419132d1b6</id>
<content type='text'>
Co-authored-by: sunmy2019 &lt;59365878+sunmy2019@users.noreply.github.com&gt;
Co-authored-by: Ken Jin &lt;kenjin@python.org&gt;
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: sunmy2019 &lt;59365878+sunmy2019@users.noreply.github.com&gt;
Co-authored-by: Ken Jin &lt;kenjin@python.org&gt;
Co-authored-by: Pablo Galindo &lt;pablogsal@gmail.com&gt;
</pre>
</div>
</content>
</entry>
<entry>
<title>gh-103824: fix use-after-free error in Parser/tokenizer.c (#103993)</title>
<updated>2023-05-01T15:26:43+00:00</updated>
<author>
<name>chgnrdv</name>
<email>52372310+chgnrdv@users.noreply.github.com</email>
</author>
<published>2023-05-01T15:26:43+00:00</published>
<link rel='alternate' type='text/html' href='http://git.baserock.org/cgit/delta/cpython-git.git/commit/?id=d5a97074d24cd14cb2a35a2b1ad3074863cde264'/>
<id>d5a97074d24cd14cb2a35a2b1ad3074863cde264</id>
<content type='text'>
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
</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://git.baserock.org/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-103718: Correctly set f-string buffers in all cases (GH-103815)</title>
<updated>2023-04-25T01:31:21+00:00</updated>
<author>
<name>Lysandros Nikolaou</name>
<email>lisandrosnik@gmail.com</email>
</author>
<published>2023-04-25T01:31:21+00:00</published>
<link rel='alternate' type='text/html' href='http://git.baserock.org/cgit/delta/cpython-git.git/commit/?id=57f8f9a66d4d0b5e590f7746a58136b3b45b1336'/>
<id>57f8f9a66d4d0b5e590f7746a58136b3b45b1336</id>
<content type='text'>
Turns out we always need to remember/restore fstring buffers in all of
the stack of tokenizer modes, cause they might change to
`TOK_REGULAR_MODE` and have newlines inside the braces (which is when we
need to reallocate the buffer and restore the fstring ones).</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Turns out we always need to remember/restore fstring buffers in all of
the stack of tokenizer modes, cause they might change to
`TOK_REGULAR_MODE` and have newlines inside the braces (which is when we
need to reallocate the buffer and restore the fstring ones).</pre>
</div>
</content>
</entry>
<entry>
<title>GH-103727: Avoid advancing tokenizer too far in f-string mode (GH-103775)</title>
<updated>2023-04-24T18:30:21+00:00</updated>
<author>
<name>Lysandros Nikolaou</name>
<email>lisandrosnik@gmail.com</email>
</author>
<published>2023-04-24T18:30:21+00:00</published>
<link rel='alternate' type='text/html' href='http://git.baserock.org/cgit/delta/cpython-git.git/commit/?id=cb157a1a353675cb6f08bdae5d7aadd6b28bb0a9'/>
<id>cb157a1a353675cb6f08bdae5d7aadd6b28bb0a9</id>
<content type='text'>
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
</pre>
</div>
</content>
</entry>
</feed>
