<feed xmlns='http://www.w3.org/2005/Atom'>
<title>delta/cpython-git.git/Python/pythonrun.c, branch revert-22997-tempfile-overhead</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>bpo-42006: Stop using PyDict_GetItem, PyDict_GetItemString and _PyDict_GetItemId. (GH-22648)</title>
<updated>2020-10-26T06:43:39+00:00</updated>
<author>
<name>Serhiy Storchaka</name>
<email>storchaka@gmail.com</email>
</author>
<published>2020-10-26T06:43:39+00:00</published>
<link rel='alternate' type='text/html' href='http://91.123.203.49/cgit/delta/cpython-git.git/commit/?id=fb5db7ec58624cab0797b4050735be865d380823'/>
<id>fb5db7ec58624cab0797b4050735be865d380823</id>
<content type='text'>
These functions are considered not safe because they suppress all internal errors
and can return wrong result.  PyDict_GetItemString and _PyDict_GetItemId can
also silence current exception in rare cases.

Remove no longer used _PyDict_GetItemId.
Add _PyDict_ContainsId and rename _PyDict_Contains into
_PyDict_Contains_KnownHash.</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
These functions are considered not safe because they suppress all internal errors
and can return wrong result.  PyDict_GetItemString and _PyDict_GetItemId can
also silence current exception in rare cases.

Remove no longer used _PyDict_GetItemId.
Add _PyDict_ContainsId and rename _PyDict_Contains into
_PyDict_Contains_KnownHash.</pre>
</div>
</content>
</entry>
<entry>
<title>bpo-41991: Remove _PyObject_HasAttrId (GH-22629)</title>
<updated>2020-10-10T19:23:42+00:00</updated>
<author>
<name>Serhiy Storchaka</name>
<email>storchaka@gmail.com</email>
</author>
<published>2020-10-10T19:23:42+00:00</published>
<link rel='alternate' type='text/html' href='http://91.123.203.49/cgit/delta/cpython-git.git/commit/?id=98c4433a81a4cd88c7438adbee1f2aa486188ca3'/>
<id>98c4433a81a4cd88c7438adbee1f2aa486188ca3</id>
<content type='text'>
It can silence arbitrary exceptions.</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
It can silence arbitrary exceptions.</pre>
</div>
</content>
</entry>
<entry>
<title>bpo-40939: Rename PyPegen* functions to PyParser* (GH-21016)</title>
<updated>2020-06-21T23:47:46+00:00</updated>
<author>
<name>Lysandros Nikolaou</name>
<email>lisandrosnik@gmail.com</email>
</author>
<published>2020-06-21T23:47:46+00:00</published>
<link rel='alternate' type='text/html' href='http://91.123.203.49/cgit/delta/cpython-git.git/commit/?id=564cd187677ae8d1488c4d8ae649aea34ebbde07'/>
<id>564cd187677ae8d1488c4d8ae649aea34ebbde07</id>
<content type='text'>
Rename PyPegen* functions to PyParser*, so that we can remove the
old set of PyParser* functions that were using the old parser.

</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Rename PyPegen* functions to PyParser*, so that we can remove the
old set of PyParser* functions that were using the old parser.

</pre>
</div>
</content>
</entry>
<entry>
<title>bpo-40939: Remove the old parser (Part 2) (GH-21005)</title>
<updated>2020-06-20T18:07:25+00:00</updated>
<author>
<name>Lysandros Nikolaou</name>
<email>lisandrosnik@gmail.com</email>
</author>
<published>2020-06-20T18:07:25+00:00</published>
<link rel='alternate' type='text/html' href='http://91.123.203.49/cgit/delta/cpython-git.git/commit/?id=314858e2763e76e77029ea0b691d749c32939087'/>
<id>314858e2763e76e77029ea0b691d749c32939087</id>
<content type='text'>
Remove some remaining files and Makefile targets for the old parser</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Remove some remaining files and Makefile targets for the old parser</pre>
</div>
</content>
</entry>
<entry>
<title>bpo-40939: Remove the old parser (GH-20768)</title>
<updated>2020-06-11T16:30:46+00:00</updated>
<author>
<name>Pablo Galindo</name>
<email>Pablogsal@gmail.com</email>
</author>
<published>2020-06-11T16:30:46+00:00</published>
<link rel='alternate' type='text/html' href='http://91.123.203.49/cgit/delta/cpython-git.git/commit/?id=1ed83adb0e95305af858bd41af531e487f54fee7'/>
<id>1ed83adb0e95305af858bd41af531e487f54fee7</id>
<content type='text'>
This commit removes the old parser, the deprecated parser module, the old parser compatibility flags and environment variables and all associated support code and documentation.</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
This commit removes the old parser, the deprecated parser module, the old parser compatibility flags and environment variables and all associated support code and documentation.</pre>
</div>
</content>
</entry>
<entry>
<title>Fix MSVC warnings in pythonrun.c (#GH-0587)</title>
<updated>2020-06-02T08:17:24+00:00</updated>
<author>
<name>Ammar Askar</name>
<email>ammar@ammaraskar.com</email>
</author>
<published>2020-06-02T08:17:24+00:00</published>
<link rel='alternate' type='text/html' href='http://91.123.203.49/cgit/delta/cpython-git.git/commit/?id=90d297012b3848454cbd00dde954e3ea1a09e86f'/>
<id>90d297012b3848454cbd00dde954e3ea1a09e86f</id>
<content type='text'>
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
</pre>
</div>
</content>
</entry>
<entry>
<title>bpo-40612: Fix SyntaxError edge cases in traceback formatting (GH-20072)</title>
<updated>2020-05-15T02:22:48+00:00</updated>
<author>
<name>Guido van Rossum</name>
<email>guido@python.org</email>
</author>
<published>2020-05-15T02:22:48+00:00</published>
<link rel='alternate' type='text/html' href='http://91.123.203.49/cgit/delta/cpython-git.git/commit/?id=15bc9ab301d73f20bff47a12ef05326feb40f797'/>
<id>15bc9ab301d73f20bff47a12ef05326feb40f797</id>
<content type='text'>
This fixes both the traceback.py module and the C code for formatting syntax errors (in Python/pythonrun.c). They now both consistently do the following:

- Suppress caret if it points left of text
- Allow caret pointing just past end of line
- If caret points past end of line, clip to *just* past end of line

The syntax error formatting code in traceback.py was mostly rewritten; small, subtle changes were applied to the C code in pythonrun.c.

There's still a difference when the text contains embedded newlines. Neither handles these very well, and I don't think the case occurs in practice.

Automerge-Triggered-By: @gvanrossum</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
This fixes both the traceback.py module and the C code for formatting syntax errors (in Python/pythonrun.c). They now both consistently do the following:

- Suppress caret if it points left of text
- Allow caret pointing just past end of line
- If caret points past end of line, clip to *just* past end of line

The syntax error formatting code in traceback.py was mostly rewritten; small, subtle changes were applied to the C code in pythonrun.c.

There's still a difference when the text contains embedded newlines. Neither handles these very well, and I don't think the case occurs in practice.

Automerge-Triggered-By: @gvanrossum</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://91.123.203.49/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-40246: Revert reporting of invalid string prefixes (GH-19888)</title>
<updated>2020-05-04T11:32:18+00:00</updated>
<author>
<name>Lysandros Nikolaou</name>
<email>lisandrosnik@gmail.com</email>
</author>
<published>2020-05-04T11:32:18+00:00</published>
<link rel='alternate' type='text/html' href='http://91.123.203.49/cgit/delta/cpython-git.git/commit/?id=846d8b28ab9bb6197ee81372820311c0abe509c0'/>
<id>846d8b28ab9bb6197ee81372820311c0abe509c0</id>
<content type='text'>
Due to backwards compatibility concerns regarding keywords immediately followed by a string without whitespace between them (like in `bg="#d00" if clear else"#fca"`) will fail to parse,
commit 41d5b94af44e34ac05d4cd57460ed104ccf96628 has to be reverted.</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Due to backwards compatibility concerns regarding keywords immediately followed by a string without whitespace between them (like in `bg="#d00" if clear else"#fca"`) will fail to parse,
commit 41d5b94af44e34ac05d4cd57460ed104ccf96628 has to be reverted.</pre>
</div>
</content>
</entry>
<entry>
<title>bpo-40334: Support CO_FUTURE_BARRY_AS_BDFL in the new parser (GH-19721)</title>
<updated>2020-04-27T17:02:07+00:00</updated>
<author>
<name>Pablo Galindo</name>
<email>Pablogsal@gmail.com</email>
</author>
<published>2020-04-27T17:02:07+00:00</published>
<link rel='alternate' type='text/html' href='http://91.123.203.49/cgit/delta/cpython-git.git/commit/?id=2b74c835a7280840a853e3a9aaeb83758b13a458'/>
<id>2b74c835a7280840a853e3a9aaeb83758b13a458</id>
<content type='text'>
This commit also allows to pass flags to the new parser in all interfaces and fixes a bug in the parser generator that was causing to inline rules with actions, making them disappear.</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
This commit also allows to pass flags to the new parser in all interfaces and fixes a bug in the parser generator that was causing to inline rules with actions, making them disappear.</pre>
</div>
</content>
</entry>
</feed>
