<feed xmlns='http://www.w3.org/2005/Atom'>
<title>delta/cpython-git.git, 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>Revert "bpo-42160: tempfile: Reduce overhead of pid check. (GH-22997)"</title>
<updated>2020-10-31T01:17:11+00:00</updated>
<author>
<name>Inada Naoki</name>
<email>songofacandy@gmail.com</email>
</author>
<published>2020-10-31T01:17:11+00:00</published>
<link rel='alternate' type='text/html' href='http://91.123.203.49/cgit/delta/cpython-git.git/commit/?id=9198cc5621a6ebf1e7372aee6a82c65a0fe6da4f'/>
<id>9198cc5621a6ebf1e7372aee6a82c65a0fe6da4f</id>
<content type='text'>
This reverts commit 8e409cebad42032bb7d0f2cadd8b1e36081d98af.
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
This reverts commit 8e409cebad42032bb7d0f2cadd8b1e36081d98af.
</pre>
</div>
</content>
</entry>
<entry>
<title>bpo-42208: Add _locale._get_locale_encoding() (GH-23052)</title>
<updated>2020-10-31T00:32:11+00:00</updated>
<author>
<name>Victor Stinner</name>
<email>vstinner@python.org</email>
</author>
<published>2020-10-31T00:32:11+00:00</published>
<link rel='alternate' type='text/html' href='http://91.123.203.49/cgit/delta/cpython-git.git/commit/?id=b62bdf71ea0cd52041d49691d8ae3dc645bd48e1'/>
<id>b62bdf71ea0cd52041d49691d8ae3dc645bd48e1</id>
<content type='text'>
* Add a new _locale._get_locale_encoding() function to get the
  current locale encoding.
* Modify locale.getpreferredencoding() to use it.
* Remove the _bootlocale module.</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
* Add a new _locale._get_locale_encoding() function to get the
  current locale encoding.
* Modify locale.getpreferredencoding() to use it.
* Remove the _bootlocale module.</pre>
</div>
</content>
</entry>
<entry>
<title>bpo-42208: Add _Py_GetLocaleEncoding() (GH-23050)</title>
<updated>2020-10-31T00:02:09+00:00</updated>
<author>
<name>Victor Stinner</name>
<email>vstinner@python.org</email>
</author>
<published>2020-10-31T00:02:09+00:00</published>
<link rel='alternate' type='text/html' href='http://91.123.203.49/cgit/delta/cpython-git.git/commit/?id=710e82630775774dceba5e8f24b1b10e6dfaf9b7'/>
<id>710e82630775774dceba5e8f24b1b10e6dfaf9b7</id>
<content type='text'>
_io.TextIOWrapper no longer calls getpreferredencoding(False) of
_bootlocale to get the locale encoding, but calls
_Py_GetLocaleEncoding() instead.

Add config_get_fs_encoding() sub-function. Reorganize also
config_get_locale_encoding() code.</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
_io.TextIOWrapper no longer calls getpreferredencoding(False) of
_bootlocale to get the locale encoding, but calls
_Py_GetLocaleEncoding() instead.

Add config_get_fs_encoding() sub-function. Reorganize also
config_get_locale_encoding() code.</pre>
</div>
</content>
</entry>
<entry>
<title>bpo-42214: Fix check for NOTEQUAL token in the PEG parser for the barry_as_flufl rule (GH-23048)</title>
<updated>2020-10-30T23:48:42+00:00</updated>
<author>
<name>Pablo Galindo</name>
<email>Pablogsal@gmail.com</email>
</author>
<published>2020-10-30T23:48:42+00:00</published>
<link rel='alternate' type='text/html' href='http://91.123.203.49/cgit/delta/cpython-git.git/commit/?id=06f8c3328dcd81c84d1ee2b3a57b5381dcb38482'/>
<id>06f8c3328dcd81c84d1ee2b3a57b5381dcb38482</id>
<content type='text'>
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
</pre>
</div>
</content>
</entry>
<entry>
<title>GitHub Action: Add gdb to posix dependencies (GH-23043)</title>
<updated>2020-10-30T21:52:30+00:00</updated>
<author>
<name>Victor Stinner</name>
<email>vstinner@python.org</email>
</author>
<published>2020-10-30T21:52:30+00:00</published>
<link rel='alternate' type='text/html' href='http://91.123.203.49/cgit/delta/cpython-git.git/commit/?id=6e03c0ad156797cd6e9132e895d55dac0344d340'/>
<id>6e03c0ad156797cd6e9132e895d55dac0344d340</id>
<content type='text'>
Sort also dependencies and remove duplicates (liblzma-dev).</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Sort also dependencies and remove duplicates (liblzma-dev).</pre>
</div>
</content>
</entry>
<entry>
<title>bpo-42208: Call GC collect earlier in PyInterpreterState_Clear() (GH-23044)</title>
<updated>2020-10-30T21:51:02+00:00</updated>
<author>
<name>Victor Stinner</name>
<email>vstinner@python.org</email>
</author>
<published>2020-10-30T21:51:02+00:00</published>
<link rel='alternate' type='text/html' href='http://91.123.203.49/cgit/delta/cpython-git.git/commit/?id=eba5bf2f5672bf4861c626937597b85ac0c242b9'/>
<id>eba5bf2f5672bf4861c626937597b85ac0c242b9</id>
<content type='text'>
The last GC collection is now done before clearing builtins and sys
dictionaries. Add also assertions to ensure that gc.collect() is no
longer called after _PyGC_Fini().

Pass also the tstate to PyInterpreterState_Clear() to pass the
correct tstate to _PyGC_CollectNoFail() and _PyGC_Fini().</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
The last GC collection is now done before clearing builtins and sys
dictionaries. Add also assertions to ensure that gc.collect() is no
longer called after _PyGC_Fini().

Pass also the tstate to PyInterpreterState_Clear() to pass the
correct tstate to _PyGC_CollectNoFail() and _PyGC_Fini().</pre>
</div>
</content>
</entry>
<entry>
<title>bpo-36876: Small adjustments to the C-analyzer tool. (GH-23045)</title>
<updated>2020-10-30T21:46:52+00:00</updated>
<author>
<name>Eric Snow</name>
<email>ericsnowcurrently@gmail.com</email>
</author>
<published>2020-10-30T21:46:52+00:00</published>
<link rel='alternate' type='text/html' href='http://91.123.203.49/cgit/delta/cpython-git.git/commit/?id=4fe72090deb7fb7bc09bfa56c92f6b3b0967d395'/>
<id>4fe72090deb7fb7bc09bfa56c92f6b3b0967d395</id>
<content type='text'>
This is a little bit of clean-up, small fixes, and additional helpers prior to building an updated &amp; accurate list of globals to eliminate.</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
This is a little bit of clean-up, small fixes, and additional helpers prior to building an updated &amp; accurate list of globals to eliminate.</pre>
</div>
</content>
</entry>
<entry>
<title>bpo-42208: Fix test_gdb for gc_collect_main() name (GH-23041)</title>
<updated>2020-10-30T20:09:48+00:00</updated>
<author>
<name>Victor Stinner</name>
<email>vstinner@python.org</email>
</author>
<published>2020-10-30T20:09:48+00:00</published>
<link rel='alternate' type='text/html' href='http://91.123.203.49/cgit/delta/cpython-git.git/commit/?id=b9ee4af4c643a323779fd7076e80b29d611f2709'/>
<id>b9ee4af4c643a323779fd7076e80b29d611f2709</id>
<content type='text'>
The gcmodule.c collect() function was renamed to gc_collect_main():
update gdb/libpython.py (python-gdb.py).</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
The gcmodule.c collect() function was renamed to gc_collect_main():
update gdb/libpython.py (python-gdb.py).</pre>
</div>
</content>
</entry>
<entry>
<title>bpo-42208: Move _PyImport_Cleanup() to pylifecycle.c (GH-23040)</title>
<updated>2020-10-30T17:03:28+00:00</updated>
<author>
<name>Victor Stinner</name>
<email>vstinner@python.org</email>
</author>
<published>2020-10-30T17:03:28+00:00</published>
<link rel='alternate' type='text/html' href='http://91.123.203.49/cgit/delta/cpython-git.git/commit/?id=dff1ad509051f7e07e77d1e3ec83314d53fb1118'/>
<id>dff1ad509051f7e07e77d1e3ec83314d53fb1118</id>
<content type='text'>
Move _PyImport_Cleanup() to pylifecycle.c, rename it to
finalize_modules(), split it (200 lines) into many smaller
sub-functions and cleanup the code.</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Move _PyImport_Cleanup() to pylifecycle.c, rename it to
finalize_modules(), split it (200 lines) into many smaller
sub-functions and cleanup the code.</pre>
</div>
</content>
</entry>
<entry>
<title>bpo-42208: Pass tstate to _PyGC_CollectNoFail() (GH-23038)</title>
<updated>2020-10-30T16:00:00+00:00</updated>
<author>
<name>Victor Stinner</name>
<email>vstinner@python.org</email>
</author>
<published>2020-10-30T16:00:00+00:00</published>
<link rel='alternate' type='text/html' href='http://91.123.203.49/cgit/delta/cpython-git.git/commit/?id=8b3414818f5289eac530bf38bcfbd7b2b851805c'/>
<id>8b3414818f5289eac530bf38bcfbd7b2b851805c</id>
<content type='text'>
Move private _PyGC_CollectNoFail() to the internal C API.

Remove the private _PyGC_CollectIfEnabled() which was just an alias
to the public PyGC_Collect() function since Python 3.8.

Rename functions:

* collect() =&gt; gc_collect_main()
* collect_with_callback() =&gt; gc_collect_with_callback()
* collect_generations() =&gt; gc_collect_generations()</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Move private _PyGC_CollectNoFail() to the internal C API.

Remove the private _PyGC_CollectIfEnabled() which was just an alias
to the public PyGC_Collect() function since Python 3.8.

Rename functions:

* collect() =&gt; gc_collect_main()
* collect_with_callback() =&gt; gc_collect_with_callback()
* collect_generations() =&gt; gc_collect_generations()</pre>
</div>
</content>
</entry>
</feed>
