<feed xmlns='http://www.w3.org/2005/Atom'>
<title>delta/cpython-git.git/Modules, branch v3.10.0a2</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-35455: Fix thread_time for Solaris OS (GH-11118)</title>
<updated>2020-11-02T23:10:01+00:00</updated>
<author>
<name>Jakub Kulík</name>
<email>Kulikjak@gmail.com</email>
</author>
<published>2020-11-02T23:10:01+00:00</published>
<link rel='alternate' type='text/html' href='http://91.123.203.49/cgit/delta/cpython-git.git/commit/?id=9568622c9983b682b2a2a7bacfd3c341028ea099'/>
<id>9568622c9983b682b2a2a7bacfd3c341028ea099</id>
<content type='text'>
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
</pre>
</div>
</content>
</entry>
<entry>
<title>bpo-42236: Enhance _locale._get_locale_encoding() (GH-23083)</title>
<updated>2020-11-01T19:59:35+00:00</updated>
<author>
<name>Victor Stinner</name>
<email>vstinner@python.org</email>
</author>
<published>2020-11-01T19:59:35+00:00</published>
<link rel='alternate' type='text/html' href='http://91.123.203.49/cgit/delta/cpython-git.git/commit/?id=82458b6cdbae3b849dc11d0d7dc2ab06ef0451c4'/>
<id>82458b6cdbae3b849dc11d0d7dc2ab06ef0451c4</id>
<content type='text'>
* Rename _Py_GetLocaleEncoding() to _Py_GetLocaleEncodingObject()
* Add _Py_GetLocaleEncoding() which returns a wchar_t* string to
  share code between _Py_GetLocaleEncodingObject()
  and config_get_locale_encoding().
* _Py_GetLocaleEncodingObject() now decodes nl_langinfo(CODESET)
  from the current locale encoding with surrogateescape,
  rather than using UTF-8.</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
* Rename _Py_GetLocaleEncoding() to _Py_GetLocaleEncodingObject()
* Add _Py_GetLocaleEncoding() which returns a wchar_t* string to
  share code between _Py_GetLocaleEncodingObject()
  and config_get_locale_encoding().
* _Py_GetLocaleEncodingObject() now decodes nl_langinfo(CODESET)
  from the current locale encoding with surrogateescape,
  rather than using UTF-8.</pre>
</div>
</content>
</entry>
<entry>
<title>bpo-42146: Unify cleanup in subprocess_fork_exec() (GH-22970)</title>
<updated>2020-11-01T05:33:08+00:00</updated>
<author>
<name>Alexey Izbyshev</name>
<email>izbyshev@ispras.ru</email>
</author>
<published>2020-11-01T05:33:08+00:00</published>
<link rel='alternate' type='text/html' href='http://91.123.203.49/cgit/delta/cpython-git.git/commit/?id=d3b4e068077dd26927ae7485bd0303e09d962c02'/>
<id>d3b4e068077dd26927ae7485bd0303e09d962c02</id>
<content type='text'>
* bpo-42146: Unify cleanup in subprocess_fork_exec()

Also ignore errors from _enable_gc():
* They are always suppressed by the current code due to a bug.
* _enable_gc() is only used if `preexec_fn != None`, which is unsafe.
* We don't have a good way to handle errors in case we successfully
  created a child process.

Co-authored-by: Gregory P. Smith &lt;greg@krypto.org&gt;</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
* bpo-42146: Unify cleanup in subprocess_fork_exec()

Also ignore errors from _enable_gc():
* They are always suppressed by the current code due to a bug.
* _enable_gc() is only used if `preexec_fn != None`, which is unsafe.
* We don't have a good way to handle errors in case we successfully
  created a child process.

Co-authored-by: Gregory P. Smith &lt;greg@krypto.org&gt;</pre>
</div>
</content>
</entry>
<entry>
<title>bpo-40956: Convert _sqlite3 module level functions to Argument Clinic (GH-22484)</title>
<updated>2020-10-31T06:07:44+00:00</updated>
<author>
<name>Erlend Egeberg Aasland</name>
<email>erlend.aasland@innova.no</email>
</author>
<published>2020-10-31T06:07:44+00:00</published>
<link rel='alternate' type='text/html' href='http://91.123.203.49/cgit/delta/cpython-git.git/commit/?id=7d210271579ae31f43b32f73c2aff5bc4fe0d27f'/>
<id>7d210271579ae31f43b32f73c2aff5bc4fe0d27f</id>
<content type='text'>
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
</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-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-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>
<entry>
<title>bpo-42029: Remove IRIX code (GH-23023)</title>
<updated>2020-10-29T14:16:23+00:00</updated>
<author>
<name>Victor Stinner</name>
<email>vstinner@python.org</email>
</author>
<published>2020-10-29T14:16:23+00:00</published>
<link rel='alternate' type='text/html' href='http://91.123.203.49/cgit/delta/cpython-git.git/commit/?id=5776663675b48f011d428a5874cc3c79d1deb59e'/>
<id>5776663675b48f011d428a5874cc3c79d1deb59e</id>
<content type='text'>
IRIX code was slowy removed in Python 2.4 (--with-sgi-dl), Python 3.3
(Irix threads), and Python 3.7.</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
IRIX code was slowy removed in Python 2.4 (--with-sgi-dl), Python 3.3
(Irix threads), and Python 3.7.</pre>
</div>
</content>
</entry>
<entry>
<title>bpo-42161: Micro-optimize _collections._count_elements() (GH-23008)</title>
<updated>2020-10-27T21:24:33+00:00</updated>
<author>
<name>Victor Stinner</name>
<email>vstinner@python.org</email>
</author>
<published>2020-10-27T21:24:33+00:00</published>
<link rel='alternate' type='text/html' href='http://91.123.203.49/cgit/delta/cpython-git.git/commit/?id=35b95aaf21534e4a8e3370dfd6f7482265316c9e'/>
<id>35b95aaf21534e4a8e3370dfd6f7482265316c9e</id>
<content type='text'>
Move the _PyLong_GetOne() call outside the fast-path loop.</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Move the _PyLong_GetOne() call outside the fast-path loop.</pre>
</div>
</content>
</entry>
</feed>
