<feed xmlns='http://www.w3.org/2005/Atom'>
<title>delta/cpython-git.git/Objects, 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>typing: Add more tests for TypeVar (#104571)</title>
<updated>2023-05-17T13:08:21+00:00</updated>
<author>
<name>Jelle Zijlstra</name>
<email>jelle.zijlstra@gmail.com</email>
</author>
<published>2023-05-17T13:08:21+00:00</published>
<link rel='alternate' type='text/html' href='http://git.baserock.org/cgit/delta/cpython-git.git/commit/?id=26931944dd8abd6554249239344fa62b789b9028'/>
<id>26931944dd8abd6554249239344fa62b789b9028</id>
<content type='text'>
During the PEP 695 implementation at one point I made
TypeVar.__name__ return garbage, and all of test_typing passed.
So I decided to add a few more tests. In the process I discovered
a minor incompatibility from the C implementation of TypeVar:
empty constraints were returned as None instead of an empty tuple.
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
During the PEP 695 implementation at one point I made
TypeVar.__name__ return garbage, and all of test_typing passed.
So I decided to add a few more tests. In the process I discovered
a minor incompatibility from the C implementation of TypeVar:
empty constraints were returned as None instead of an empty tuple.
</pre>
</div>
</content>
</entry>
<entry>
<title>GH-103906: Remove immortal refcounting in the interpreter (GH-103909)</title>
<updated>2023-05-16T21:36:02+00:00</updated>
<author>
<name>Brandt Bucher</name>
<email>brandtbucher@microsoft.com</email>
</author>
<published>2023-05-16T21:36:02+00:00</published>
<link rel='alternate' type='text/html' href='http://git.baserock.org/cgit/delta/cpython-git.git/commit/?id=b4a974792355cb0f525211b2962679e68949f02e'/>
<id>b4a974792355cb0f525211b2962679e68949f02e</id>
<content type='text'>
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
</pre>
</div>
</content>
</entry>
<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>gh-104454: Fix refleak in AttributeError_reduce (#104455)</title>
<updated>2023-05-13T20:45:36+00:00</updated>
<author>
<name>Charles Machalow</name>
<email>csm10495@gmail.com</email>
</author>
<published>2023-05-13T20:45:36+00:00</published>
<link rel='alternate' type='text/html' href='http://git.baserock.org/cgit/delta/cpython-git.git/commit/?id=7d2deafb73237a2175971a26cfb544974661de4b'/>
<id>7d2deafb73237a2175971a26cfb544974661de4b</id>
<content type='text'>
* Fix the reference leak introduced by https://github.com/python/cpython/issues/103333

Co-authored-by: Kirill Podoprigora &lt;kirill.bast9@mail.ru&gt;</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
* Fix the reference leak introduced by https://github.com/python/cpython/issues/103333

Co-authored-by: Kirill Podoprigora &lt;kirill.bast9@mail.ru&gt;</pre>
</div>
</content>
</entry>
<entry>
<title>GH-94841: Fix usage of Py_ALWAYS_INLINE (GH-104409)</title>
<updated>2023-05-12T21:26:54+00:00</updated>
<author>
<name>Brandt Bucher</name>
<email>brandtbucher@microsoft.com</email>
</author>
<published>2023-05-12T21:26:54+00:00</published>
<link rel='alternate' type='text/html' href='http://git.baserock.org/cgit/delta/cpython-git.git/commit/?id=a10b026f0fdceac42c4b928917894d77da996555'/>
<id>a10b026f0fdceac42c4b928917894d77da996555</id>
<content type='text'>
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
</pre>
</div>
</content>
</entry>
<entry>
<title>gh-103333: Pickle the keyword attributes of AttributeError (#103352)</title>
<updated>2023-05-12T20:33:23+00:00</updated>
<author>
<name>Charles Machalow</name>
<email>csm10495@gmail.com</email>
</author>
<published>2023-05-12T20:33:23+00:00</published>
<link rel='alternate' type='text/html' href='http://git.baserock.org/cgit/delta/cpython-git.git/commit/?id=79b17f2cf0e1a2688bd91df02744f461835c4253'/>
<id>79b17f2cf0e1a2688bd91df02744f461835c4253</id>
<content type='text'>
* Pickle the `name` and `args` attributes of AttributeError when present.

Co-authored-by: Gregory P. Smith &lt;greg@krypto.org&gt;
Co-authored-by: Erlend E. Aasland &lt;erlend.aasland@protonmail.com&gt;</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
* Pickle the `name` and `args` attributes of AttributeError when present.

Co-authored-by: Gregory P. Smith &lt;greg@krypto.org&gt;
Co-authored-by: Erlend E. Aasland &lt;erlend.aasland@protonmail.com&gt;</pre>
</div>
</content>
</entry>
<entry>
<title>GH-104371: check return value of calling `mv.release` (#104417)</title>
<updated>2023-05-12T12:57:06+00:00</updated>
<author>
<name>Kumar Aditya</name>
<email>59607654+kumaraditya303@users.noreply.github.com</email>
</author>
<published>2023-05-12T12:57:06+00:00</published>
<link rel='alternate' type='text/html' href='http://git.baserock.org/cgit/delta/cpython-git.git/commit/?id=a052be4c0d9707ebdb935b8314ed22e8d3d99fc0'/>
<id>a052be4c0d9707ebdb935b8314ed22e8d3d99fc0</id>
<content type='text'>
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
</pre>
</div>
</content>
</entry>
<entry>
<title>GH-103082: Filter LINE events in VM, to simplify tool implementation. (GH-104387)</title>
<updated>2023-05-12T11:21:20+00:00</updated>
<author>
<name>Mark Shannon</name>
<email>mark@hotpy.org</email>
</author>
<published>2023-05-12T11:21:20+00:00</published>
<link rel='alternate' type='text/html' href='http://git.baserock.org/cgit/delta/cpython-git.git/commit/?id=45f5aa8fc73acf516071d52ef8213532f0381316'/>
<id>45f5aa8fc73acf516071d52ef8213532f0381316</id>
<content type='text'>
When monitoring LINE events, instrument all instructions that can have a predecessor on a different line.
Then check that the a new line has been hit in the instrumentation code.
This brings the behavior closer to that of 3.11, simplifying implementation and porting of tools.
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
When monitoring LINE events, instrument all instructions that can have a predecessor on a different line.
Then check that the a new line has been hit in the instrumentation code.
This brings the behavior closer to that of 3.11, simplifying implementation and porting of tools.
</pre>
</div>
</content>
</entry>
<entry>
<title>Fix refleak in `super_descr_get` (#104408)</title>
<updated>2023-05-12T07:11:27+00:00</updated>
<author>
<name>Brandt Bucher</name>
<email>brandtbucher@microsoft.com</email>
</author>
<published>2023-05-12T07:11:27+00:00</published>
<link rel='alternate' type='text/html' href='http://git.baserock.org/cgit/delta/cpython-git.git/commit/?id=a781484c8e9834538e5ee7b9e2e6bec7b679e033'/>
<id>a781484c8e9834538e5ee7b9e2e6bec7b679e033</id>
<content type='text'>
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
</pre>
</div>
</content>
</entry>
<entry>
<title>gh-104371: Fix calls to `__release_buffer__` while an exception is active (#104378)</title>
<updated>2023-05-12T05:22:40+00:00</updated>
<author>
<name>Jelle Zijlstra</name>
<email>jelle.zijlstra@gmail.com</email>
</author>
<published>2023-05-12T05:22:40+00:00</published>
<link rel='alternate' type='text/html' href='http://git.baserock.org/cgit/delta/cpython-git.git/commit/?id=a0a98ddb31591357bead4694b21717cb4034924f'/>
<id>a0a98ddb31591357bead4694b21717cb4034924f</id>
<content type='text'>
Co-authored-by: Kumar Aditya &lt;59607654+kumaraditya303@users.noreply.github.com&gt;</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Co-authored-by: Kumar Aditya &lt;59607654+kumaraditya303@users.noreply.github.com&gt;</pre>
</div>
</content>
</entry>
</feed>
