<feed xmlns='http://www.w3.org/2005/Atom'>
<title>delta/cpython-git.git/Objects, branch fix-misc-acks</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>bpo-35409: Ignore GeneratorExit in async_gen_athrow_throw (GH-14755)</title>
<updated>2019-11-19T14:12:12+00:00</updated>
<author>
<name>Miss Islington (bot)</name>
<email>31488909+miss-islington@users.noreply.github.com</email>
</author>
<published>2019-11-19T14:12:12+00:00</published>
<link rel='alternate' type='text/html' href='http://git.baserock.org/cgit/delta/cpython-git.git/commit/?id=4ffc569b47bef9f95e443f3c56f7e7e32cb440c0'/>
<id>4ffc569b47bef9f95e443f3c56f7e7e32cb440c0</id>
<content type='text'>
Ignore `GeneratorExit` exceptions when throwing an exception into the `aclose` coroutine of an asynchronous generator.

https://bugs.python.org/issue35409
(cherry picked from commit 8e0de2a4808d7c2f4adedabff89ee64e0338790a)

Co-authored-by: Vincent Michel &lt;vxgmichel@gmail.com&gt;</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Ignore `GeneratorExit` exceptions when throwing an exception into the `aclose` coroutine of an asynchronous generator.

https://bugs.python.org/issue35409
(cherry picked from commit 8e0de2a4808d7c2f4adedabff89ee64e0338790a)

Co-authored-by: Vincent Michel &lt;vxgmichel@gmail.com&gt;</pre>
</div>
</content>
</entry>
<entry>
<title>[3.7] bpo-38395: Fix ownership in weakref.proxy methods (GH-16632) (GH-16663)</title>
<updated>2019-10-11T20:28:49+00:00</updated>
<author>
<name>Pablo Galindo</name>
<email>Pablogsal@gmail.com</email>
</author>
<published>2019-10-11T20:28:49+00:00</published>
<link rel='alternate' type='text/html' href='http://git.baserock.org/cgit/delta/cpython-git.git/commit/?id=193366e25c4f84a58d2f6c6c577fd9f0143dc6e1'/>
<id>193366e25c4f84a58d2f6c6c577fd9f0143dc6e1</id>
<content type='text'>
The implementation of weakref.proxy's methods call back into the Python
API using a borrowed references of the weakly referenced object
(acquired via PyWeakref_GET_OBJECT). This API call may delete the last
reference to the object (either directly or via GC), leaving a dangling
pointer, which can be subsequently dereferenced.

To fix this, claim a temporary ownership of the referenced object when
calling the appropriate method. Some functions because at the moment they
do not need to access the borrowed referent, but to protect against
future changes to these functions, ownership need to be fixed in
all potentially affected methods..
(cherry picked from commit 10cd00a9e3c22af37c748ea5a417f6fb66601e21)

Co-authored-by: Pablo Galindo &lt;Pablogsal@gmail.com&gt;





https://bugs.python.org/issue38395</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
The implementation of weakref.proxy's methods call back into the Python
API using a borrowed references of the weakly referenced object
(acquired via PyWeakref_GET_OBJECT). This API call may delete the last
reference to the object (either directly or via GC), leaving a dangling
pointer, which can be subsequently dereferenced.

To fix this, claim a temporary ownership of the referenced object when
calling the appropriate method. Some functions because at the moment they
do not need to access the borrowed referent, but to protect against
future changes to these functions, ownership need to be fixed in
all potentially affected methods..
(cherry picked from commit 10cd00a9e3c22af37c748ea5a417f6fb66601e21)

Co-authored-by: Pablo Galindo &lt;Pablogsal@gmail.com&gt;





https://bugs.python.org/issue38395</pre>
</div>
</content>
</entry>
<entry>
<title>[3.7] bpo-38409: Fix grammar in str.strip() docstring (GH-16682) (GH-16686)</title>
<updated>2019-10-09T21:56:07+00:00</updated>
<author>
<name>Zachary Ware</name>
<email>zachary.ware@gmail.com</email>
</author>
<published>2019-10-09T21:56:07+00:00</published>
<link rel='alternate' type='text/html' href='http://git.baserock.org/cgit/delta/cpython-git.git/commit/?id=a774ac6637e8f155a28b7733a0a93d4a680584d4'/>
<id>a774ac6637e8f155a28b7733a0a93d4a680584d4</id>
<content type='text'>
(cherry picked from commit 09895c27cd8ff60563a794016e8c099bc897cc74)</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
(cherry picked from commit 09895c27cd8ff60563a794016e8c099bc897cc74)</pre>
</div>
</content>
</entry>
<entry>
<title>bpo-38383: Fix possible integer overflow in startswith() of bytes and bytearray. (GH-16603)</title>
<updated>2019-10-06T12:36:44+00:00</updated>
<author>
<name>Miss Islington (bot)</name>
<email>31488909+miss-islington@users.noreply.github.com</email>
</author>
<published>2019-10-06T12:36:44+00:00</published>
<link rel='alternate' type='text/html' href='http://git.baserock.org/cgit/delta/cpython-git.git/commit/?id=b40442ba88fec5e64ab1802ce37df0afec59fa53'/>
<id>b40442ba88fec5e64ab1802ce37df0afec59fa53</id>
<content type='text'>
(cherry picked from commit 24ddd9c2d6ab61cbce7e68d6de36d4df9bd2c3fb)

Co-authored-by: Hai Shi &lt;shihai1992@gmail.com&gt;</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
(cherry picked from commit 24ddd9c2d6ab61cbce7e68d6de36d4df9bd2c3fb)

Co-authored-by: Hai Shi &lt;shihai1992@gmail.com&gt;</pre>
</div>
</content>
</entry>
<entry>
<title>bpo-38013: make async_generator_athrow object tolerant to throwing exceptions (GH-16070)</title>
<updated>2019-09-17T13:19:25+00:00</updated>
<author>
<name>Miss Islington (bot)</name>
<email>31488909+miss-islington@users.noreply.github.com</email>
</author>
<published>2019-09-17T13:19:25+00:00</published>
<link rel='alternate' type='text/html' href='http://git.baserock.org/cgit/delta/cpython-git.git/commit/?id=fc022f04b41a79cacdff380435c30c8042c82b99'/>
<id>fc022f04b41a79cacdff380435c30c8042c82b99</id>
<content type='text'>
Even when the helper is not started yet.

This behavior follows conventional generator one.
There is no reason for `async_generator_athrow` to handle `gen.throw()` differently.

https://bugs.python.org/issue38013
(cherry picked from commit c275312a6284bd319ea33c9abd7e15c230eca43f)

Co-authored-by: Andrew Svetlov &lt;andrew.svetlov@gmail.com&gt;</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Even when the helper is not started yet.

This behavior follows conventional generator one.
There is no reason for `async_generator_athrow` to handle `gen.throw()` differently.

https://bugs.python.org/issue38013
(cherry picked from commit c275312a6284bd319ea33c9abd7e15c230eca43f)

Co-authored-by: Andrew Svetlov &lt;andrew.svetlov@gmail.com&gt;</pre>
</div>
</content>
</entry>
<entry>
<title>bpo-38096:  Complete the "structseq" and "named tuple" cleanup (GH-16010) (GH-16063)</title>
<updated>2019-09-12T15:20:07+00:00</updated>
<author>
<name>Miss Islington (bot)</name>
<email>31488909+miss-islington@users.noreply.github.com</email>
</author>
<published>2019-09-12T15:20:07+00:00</published>
<link rel='alternate' type='text/html' href='http://git.baserock.org/cgit/delta/cpython-git.git/commit/?id=e3c25fc902eedcd5c593fac58f35645961f55bf4'/>
<id>e3c25fc902eedcd5c593fac58f35645961f55bf4</id>
<content type='text'>
(cherry picked from commit 4210ad5ebd5769f585035e022876e161cd0e9a3e)

Co-authored-by: Raymond Hettinger &lt;rhettinger@users.noreply.github.com&gt;</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
(cherry picked from commit 4210ad5ebd5769f585035e022876e161cd0e9a3e)

Co-authored-by: Raymond Hettinger &lt;rhettinger@users.noreply.github.com&gt;</pre>
</div>
</content>
</entry>
<entry>
<title>bpo-38096: Clean up the "struct sequence" / "named tuple" docs (GH-15895) (GH-15962)</title>
<updated>2019-09-12T02:50:51+00:00</updated>
<author>
<name>Paul Ganssle</name>
<email>paul@ganssle.io</email>
</author>
<published>2019-09-12T02:50:52+00:00</published>
<link rel='alternate' type='text/html' href='http://git.baserock.org/cgit/delta/cpython-git.git/commit/?id=b7a310d865347eabc60d387dbec82ee408315050'/>
<id>b7a310d865347eabc60d387dbec82ee408315050</id>
<content type='text'>
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
</pre>
</div>
</content>
</entry>
<entry>
<title>Fix typo in dict object comment (GH-15814)</title>
<updated>2019-09-10T10:15:43+00:00</updated>
<author>
<name>Miss Islington (bot)</name>
<email>31488909+miss-islington@users.noreply.github.com</email>
</author>
<published>2019-09-10T10:15:43+00:00</published>
<link rel='alternate' type='text/html' href='http://git.baserock.org/cgit/delta/cpython-git.git/commit/?id=9cbf43adfe268fc65e68d9185b80d3305b2c4f19'/>
<id>9cbf43adfe268fc65e68d9185b80d3305b2c4f19</id>
<content type='text'>
(cherry picked from commit 359143c68659d165f52320d368667e0eff279dc5)

Co-authored-by: dalgarno &lt;32097481+dalgarno@users.noreply.github.com&gt;</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
(cherry picked from commit 359143c68659d165f52320d368667e0eff279dc5)

Co-authored-by: dalgarno &lt;32097481+dalgarno@users.noreply.github.com&gt;</pre>
</div>
</content>
</entry>
<entry>
<title>bpo-36946:Fix possible signed integer overflow when handling slices. (GH-15639)</title>
<updated>2019-09-08T10:36:38+00:00</updated>
<author>
<name>Miss Islington (bot)</name>
<email>31488909+miss-islington@users.noreply.github.com</email>
</author>
<published>2019-09-08T10:36:38+00:00</published>
<link rel='alternate' type='text/html' href='http://git.baserock.org/cgit/delta/cpython-git.git/commit/?id=021e5db20bc19d678a5b94247a5cdcf689eff006'/>
<id>021e5db20bc19d678a5b94247a5cdcf689eff006</id>
<content type='text'>
This is a complement to PR 13375.
(cherry picked from commit 3c87a667bb367ace1de6bd1577fdb4f66947da52)

Co-authored-by: HongWeipeng &lt;hongweichen8888@sina.com&gt;</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
This is a complement to PR 13375.
(cherry picked from commit 3c87a667bb367ace1de6bd1577fdb4f66947da52)

Co-authored-by: HongWeipeng &lt;hongweichen8888@sina.com&gt;</pre>
</div>
</content>
</entry>
<entry>
<title>bpo-36311: Fixes decoding multibyte characters around chunk boundaries and improves decoding performance (GH-15083)</title>
<updated>2019-08-21T23:55:57+00:00</updated>
<author>
<name>Miss Islington (bot)</name>
<email>31488909+miss-islington@users.noreply.github.com</email>
</author>
<published>2019-08-21T23:55:57+00:00</published>
<link rel='alternate' type='text/html' href='http://git.baserock.org/cgit/delta/cpython-git.git/commit/?id=735a960ac98cf414caf910565220ab2761fa542a'/>
<id>735a960ac98cf414caf910565220ab2761fa542a</id>
<content type='text'>
(cherry picked from commit 7ebdda0dbee7df6f0c945a7e1e623e47676e112d)

Co-authored-by: Steve Dower &lt;steve.dower@python.org&gt;</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
(cherry picked from commit 7ebdda0dbee7df6f0c945a7e1e623e47676e112d)

Co-authored-by: Steve Dower &lt;steve.dower@python.org&gt;</pre>
</div>
</content>
</entry>
</feed>
