<feed xmlns='http://www.w3.org/2005/Atom'>
<title>delta/cpython-git.git/Objects, branch fix-traceback-syntax-error</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-40521: Add PyInterpreterState.unicode (GH-20081)</title>
<updated>2020-05-13T23:48:38+00:00</updated>
<author>
<name>Victor Stinner</name>
<email>vstinner@python.org</email>
</author>
<published>2020-05-13T23:48:38+00:00</published>
<link rel='alternate' type='text/html' href='http://git.baserock.org/cgit/delta/cpython-git.git/commit/?id=3d17c045b4c3d09b72bbd95ed78af1ae6f0d98d2'/>
<id>3d17c045b4c3d09b72bbd95ed78af1ae6f0d98d2</id>
<content type='text'>
Move PyInterpreterState.fs_codec into a new
PyInterpreterState.unicode structure.

Give a name to the fs_codec structure and use this structure in
unicodeobject.c.</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Move PyInterpreterState.fs_codec into a new
PyInterpreterState.unicode structure.

Give a name to the fs_codec structure and use this structure in
unicodeobject.c.</pre>
</div>
</content>
</entry>
<entry>
<title>bpo-29587: Make gen.throw() chain exceptions with yield from (GH-19858)</title>
<updated>2020-05-13T23:18:27+00:00</updated>
<author>
<name>Chris Jerdonek</name>
<email>chris.jerdonek@gmail.com</email>
</author>
<published>2020-05-13T23:18:27+00:00</published>
<link rel='alternate' type='text/html' href='http://git.baserock.org/cgit/delta/cpython-git.git/commit/?id=75cd8e48c62c97fdb9d9a94fd2335be06084471d'/>
<id>75cd8e48c62c97fdb9d9a94fd2335be06084471d</id>
<content type='text'>
The previous commits on bpo-29587 got exception chaining working
with gen.throw() in the `yield` case. This patch also gets the
`yield from` case working.

As a consequence, implicit exception chaining now also works in
the asyncio scenario of awaiting on a task when an exception is
already active.

Tests are included for both the asyncio case and the pure
generator-only case.</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
The previous commits on bpo-29587 got exception chaining working
with gen.throw() in the `yield` case. This patch also gets the
`yield from` case working.

As a consequence, implicit exception chaining now also works in
the asyncio scenario of awaiting on a task when an exception is
already active.

Tests are included for both the asyncio case and the pure
generator-only case.</pre>
</div>
</content>
</entry>
<entry>
<title>bpo-39465: Remove _PyUnicode_ClearStaticStrings() from C API (GH-20078)</title>
<updated>2020-05-13T23:11:54+00:00</updated>
<author>
<name>Victor Stinner</name>
<email>vstinner@python.org</email>
</author>
<published>2020-05-13T23:11:54+00:00</published>
<link rel='alternate' type='text/html' href='http://git.baserock.org/cgit/delta/cpython-git.git/commit/?id=d6fb53fe42d83a10f1372dd92ffaa6a01d2feffb'/>
<id>d6fb53fe42d83a10f1372dd92ffaa6a01d2feffb</id>
<content type='text'>
Remove the _PyUnicode_ClearStaticStrings() function from the C API.
Make the function fully private (declare it with "static").</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Remove the _PyUnicode_ClearStaticStrings() function from the C API.
Make the function fully private (declare it with "static").</pre>
</div>
</content>
</entry>
<entry>
<title>bpo-38787: Add PyCFunction_CheckExact() macro for exact type checks (GH-20024)</title>
<updated>2020-05-12T14:12:41+00:00</updated>
<author>
<name>scoder</name>
<email>stefan_ml@behnel.de</email>
</author>
<published>2020-05-12T14:12:41+00:00</published>
<link rel='alternate' type='text/html' href='http://git.baserock.org/cgit/delta/cpython-git.git/commit/?id=4c9ea093cd752a6687864674d34250653653f743'/>
<id>4c9ea093cd752a6687864674d34250653653f743</id>
<content type='text'>
… now that we allow subtypes of PyCFunction.

Also add PyCMethod_CheckExact() and PyCMethod_Check() for checks against the PyCMethod subtype.</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
… now that we allow subtypes of PyCFunction.

Also add PyCMethod_CheckExact() and PyCMethod_Check() for checks against the PyCMethod subtype.</pre>
</div>
</content>
</entry>
<entry>
<title>bpo-40596: Fix str.isidentifier() for non-canonicalized strings containing non-BMP characters on Windows. (GH-20053)</title>
<updated>2020-05-12T13:18:00+00:00</updated>
<author>
<name>Serhiy Storchaka</name>
<email>storchaka@gmail.com</email>
</author>
<published>2020-05-12T13:18:00+00:00</published>
<link rel='alternate' type='text/html' href='http://git.baserock.org/cgit/delta/cpython-git.git/commit/?id=5650e76f63a6f4ec55d00ec13f143d84a2efee39'/>
<id>5650e76f63a6f4ec55d00ec13f143d84a2efee39</id>
<content type='text'>
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
</pre>
</div>
</content>
</entry>
<entry>
<title>bpo-40593: Improve syntax errors for invalid characters in source code. (GH-20033)</title>
<updated>2020-05-12T09:42:04+00:00</updated>
<author>
<name>Serhiy Storchaka</name>
<email>storchaka@gmail.com</email>
</author>
<published>2020-05-12T09:42:04+00:00</published>
<link rel='alternate' type='text/html' href='http://git.baserock.org/cgit/delta/cpython-git.git/commit/?id=74ea6b5a7501fb393cd567fb21998d0bfeeb267c'/>
<id>74ea6b5a7501fb393cd567fb21998d0bfeeb267c</id>
<content type='text'>
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
</pre>
</div>
</content>
</entry>
<entry>
<title>bpo-39465: Don't access directly _Py_Identifier members (GH-20043)</title>
<updated>2020-05-11T23:43:38+00:00</updated>
<author>
<name>Victor Stinner</name>
<email>vstinner@python.org</email>
</author>
<published>2020-05-11T23:43:38+00:00</published>
<link rel='alternate' type='text/html' href='http://git.baserock.org/cgit/delta/cpython-git.git/commit/?id=4804b5b3df82e7892ca0550b02f902bcfc16bb48'/>
<id>4804b5b3df82e7892ca0550b02f902bcfc16bb48</id>
<content type='text'>
* Replace id-&gt;object with _PyUnicode_FromId(&amp;id)
* Use _Py_static_string_init(str) macro to initialize statically
  name_op in typeobject.c.</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
* Replace id-&gt;object with _PyUnicode_FromId(&amp;id)
* Use _Py_static_string_init(str) macro to initialize statically
  name_op in typeobject.c.</pre>
</div>
</content>
</entry>
<entry>
<title>bpo-40584: Update PyType_FromModuleAndSpec() to process tp_vectorcall_offset (GH-20026)</title>
<updated>2020-05-11T21:38:55+00:00</updated>
<author>
<name>Hai Shi</name>
<email>shihai1992@gmail.com</email>
</author>
<published>2020-05-11T21:38:55+00:00</published>
<link rel='alternate' type='text/html' href='http://git.baserock.org/cgit/delta/cpython-git.git/commit/?id=86d69444e7cfe758212956df0be0ec7b8a4251a6'/>
<id>86d69444e7cfe758212956df0be0ec7b8a4251a6</id>
<content type='text'>
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
</pre>
</div>
</content>
</entry>
<entry>
<title>bpo-40575: Avoid unnecessary overhead in _PyDict_GetItemIdWithError() (GH-20018)</title>
<updated>2020-05-11T04:04:31+00:00</updated>
<author>
<name>scoder</name>
<email>stefan_ml@behnel.de</email>
</author>
<published>2020-05-11T04:04:31+00:00</published>
<link rel='alternate' type='text/html' href='http://git.baserock.org/cgit/delta/cpython-git.git/commit/?id=6067d4bc3ce5ff4cfa5b47ceecc84a3941bc031c'/>
<id>6067d4bc3ce5ff4cfa5b47ceecc84a3941bc031c</id>
<content type='text'>
Avoid unnecessary overhead in _PyDict_GetItemIdWithError() by calling
_PyDict_GetItem_KnownHash() instead of the more generic PyDict_GetItemWithError(),
since we already know the hash of interned strings.</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Avoid unnecessary overhead in _PyDict_GetItemIdWithError() by calling
_PyDict_GetItem_KnownHash() instead of the more generic PyDict_GetItemWithError(),
since we already know the hash of interned strings.</pre>
</div>
</content>
</entry>
<entry>
<title>Improve code clarity for the set lookup logic (GH-20028)</title>
<updated>2020-05-10T21:53:29+00:00</updated>
<author>
<name>Raymond Hettinger</name>
<email>rhettinger@users.noreply.github.com</email>
</author>
<published>2020-05-10T21:53:29+00:00</published>
<link rel='alternate' type='text/html' href='http://git.baserock.org/cgit/delta/cpython-git.git/commit/?id=2cc9b8486dd924214f9e5657672fdeb24449d206'/>
<id>2cc9b8486dd924214f9e5657672fdeb24449d206</id>
<content type='text'>
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
</pre>
</div>
</content>
</entry>
</feed>
