<feed xmlns='http://www.w3.org/2005/Atom'>
<title>delta/cpython-git.git/Modules, branch v3.9.0a3</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-38631: Avoid Py_FatalError() in GC collect() (GH-18164)</title>
<updated>2020-01-24T17:05:24+00:00</updated>
<author>
<name>Victor Stinner</name>
<email>vstinner@python.org</email>
</author>
<published>2020-01-24T17:05:24+00:00</published>
<link rel='alternate' type='text/html' href='http://91.123.203.49/cgit/delta/cpython-git.git/commit/?id=656c45ec9a9dc2e94cec199ebde553a6979e0e05'/>
<id>656c45ec9a9dc2e94cec199ebde553a6979e0e05</id>
<content type='text'>
collect() should not get an exception, but it does, logging the
exception is enough. Override sys.unraisablehook to decide how to
handle unraisable exceptions.

Py_FatalError() should be avoided whenever possible.</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
collect() should not get an exception, but it does, logging the
exception is enough. Override sys.unraisablehook to decide how to
handle unraisable exceptions.

Py_FatalError() should be avoided whenever possible.</pre>
</div>
</content>
</entry>
<entry>
<title>bpo-39395: putenv() and unsetenv() always available (GH-18135)</title>
<updated>2020-01-24T13:05:48+00:00</updated>
<author>
<name>Victor Stinner</name>
<email>vstinner@python.org</email>
</author>
<published>2020-01-24T13:05:48+00:00</published>
<link rel='alternate' type='text/html' href='http://91.123.203.49/cgit/delta/cpython-git.git/commit/?id=b8d1262e8afe7b907b4a394a191739571092acdb'/>
<id>b8d1262e8afe7b907b4a394a191739571092acdb</id>
<content type='text'>
The os.putenv() and os.unsetenv() functions are now always available.

On non-Windows platforms, Python now requires setenv() and unsetenv()
functions to build.

Remove putenv_dict from posixmodule.c: it's not longer needed.</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
The os.putenv() and os.unsetenv() functions are now always available.

On non-Windows platforms, Python now requires setenv() and unsetenv()
functions to build.

Remove putenv_dict from posixmodule.c: it's not longer needed.</pre>
</div>
</content>
</entry>
<entry>
<title>bpo-39413: Implement os.unsetenv() on Windows (GH-18163)</title>
<updated>2020-01-24T10:53:44+00:00</updated>
<author>
<name>Victor Stinner</name>
<email>vstinner@python.org</email>
</author>
<published>2020-01-24T10:53:44+00:00</published>
<link rel='alternate' type='text/html' href='http://91.123.203.49/cgit/delta/cpython-git.git/commit/?id=161e7b36b1ea871a1352ccfc1d4f4c1eda76830f'/>
<id>161e7b36b1ea871a1352ccfc1d4f4c1eda76830f</id>
<content type='text'>
The os.unsetenv() function is now also available on Windows.</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
The os.unsetenv() function is now also available on Windows.</pre>
</div>
</content>
</entry>
<entry>
<title>bpo-39426: Fix outdated default and highest protocols in docs (GH-18154)</title>
<updated>2020-01-24T10:03:22+00:00</updated>
<author>
<name>Mark Dickinson</name>
<email>mdickinson@enthought.com</email>
</author>
<published>2020-01-24T10:03:22+00:00</published>
<link rel='alternate' type='text/html' href='http://91.123.203.49/cgit/delta/cpython-git.git/commit/?id=e9652e8d58392f5022759ba06b444ce970eb12db'/>
<id>e9652e8d58392f5022759ba06b444ce970eb12db</id>
<content type='text'>
Some portions of the pickle documentation hadn't been updated for the pickle protocol changes in Python 3.8 (new protocol 5, default protocol 4). This PR fixes those docs.


https://bugs.python.org/issue39426</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Some portions of the pickle documentation hadn't been updated for the pickle protocol changes in Python 3.8 (new protocol 5, default protocol 4). This PR fixes those docs.


https://bugs.python.org/issue39426</pre>
</div>
</content>
</entry>
<entry>
<title>bpo-39421: Fix posible crash in heapq with custom comparison operators (GH-18118)</title>
<updated>2020-01-23T14:07:05+00:00</updated>
<author>
<name>Pablo Galindo</name>
<email>Pablogsal@gmail.com</email>
</author>
<published>2020-01-23T14:07:05+00:00</published>
<link rel='alternate' type='text/html' href='http://91.123.203.49/cgit/delta/cpython-git.git/commit/?id=79f89e6e5a659846d1068e8b1bd8e491ccdef861'/>
<id>79f89e6e5a659846d1068e8b1bd8e491ccdef861</id>
<content type='text'>
* bpo-39421: Fix posible crash in heapq with custom comparison operators

* fixup! bpo-39421: Fix posible crash in heapq with custom comparison operators

* fixup! fixup! bpo-39421: Fix posible crash in heapq with custom comparison operators
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
* bpo-39421: Fix posible crash in heapq with custom comparison operators

* fixup! bpo-39421: Fix posible crash in heapq with custom comparison operators

* fixup! fixup! bpo-39421: Fix posible crash in heapq with custom comparison operators
</pre>
</div>
</content>
</entry>
<entry>
<title>bpo-39406: Implement os.putenv() with setenv() if available (GH-18128)</title>
<updated>2020-01-22T21:48:16+00:00</updated>
<author>
<name>Victor Stinner</name>
<email>vstinner@python.org</email>
</author>
<published>2020-01-22T21:48:16+00:00</published>
<link rel='alternate' type='text/html' href='http://91.123.203.49/cgit/delta/cpython-git.git/commit/?id=b477d19a6b7751b0c933b239dae4fc96dbcde9c4'/>
<id>b477d19a6b7751b0c933b239dae4fc96dbcde9c4</id>
<content type='text'>
If setenv() C function is available, os.putenv() is now implemented
with setenv() instead of putenv(), so Python doesn't have to handle
the environment variable memory.</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
If setenv() C function is available, os.putenv() is now implemented
with setenv() instead of putenv(), so Python doesn't have to handle
the environment variable memory.</pre>
</div>
</content>
</entry>
<entry>
<title>bpo-39406: os.putenv() avoids putenv_dict on Windows (GH-18126)</title>
<updated>2020-01-22T20:53:26+00:00</updated>
<author>
<name>Victor Stinner</name>
<email>vstinner@python.org</email>
</author>
<published>2020-01-22T20:53:26+00:00</published>
<link rel='alternate' type='text/html' href='http://91.123.203.49/cgit/delta/cpython-git.git/commit/?id=0852c7dd52ac42e7843ddfef44571494e4c86070'/>
<id>0852c7dd52ac42e7843ddfef44571494e4c86070</id>
<content type='text'>
Windows: _wputenv(env) copies the *env* string and doesn't require
the caller to manage the variable memory.</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Windows: _wputenv(env) copies the *env* string and doesn't require
the caller to manage the variable memory.</pre>
</div>
</content>
</entry>
<entry>
<title>Revert "bpo-39413: Implement os.unsetenv() on Windows (GH-18104)" (GH-18124)</title>
<updated>2020-01-22T20:11:17+00:00</updated>
<author>
<name>Victor Stinner</name>
<email>vstinner@python.org</email>
</author>
<published>2020-01-22T20:11:17+00:00</published>
<link rel='alternate' type='text/html' href='http://91.123.203.49/cgit/delta/cpython-git.git/commit/?id=b73dd02ea744288831f71363a7467552c09875ea'/>
<id>b73dd02ea744288831f71363a7467552c09875ea</id>
<content type='text'>
This reverts commit 56cd3710a1ea3ba872d345ea1bebc86ed08bc8b8.</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
This reverts commit 56cd3710a1ea3ba872d345ea1bebc86ed08bc8b8.</pre>
</div>
</content>
</entry>
<entry>
<title>bpo-39353: Deprecate the binhex module (GH-18025)</title>
<updated>2020-01-22T19:44:22+00:00</updated>
<author>
<name>Victor Stinner</name>
<email>vstinner@python.org</email>
</author>
<published>2020-01-22T19:44:22+00:00</published>
<link rel='alternate' type='text/html' href='http://91.123.203.49/cgit/delta/cpython-git.git/commit/?id=beea26b57e8c80f1eff0f967a0f9d083a7dc3d66'/>
<id>beea26b57e8c80f1eff0f967a0f9d083a7dc3d66</id>
<content type='text'>
Deprecate binhex4 and hexbin4 standards. Deprecate the binhex module
and the following binascii functions:

* b2a_hqx(), a2b_hqx()
* rlecode_hqx(), rledecode_hqx()
* crc_hqx()</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Deprecate binhex4 and hexbin4 standards. Deprecate the binhex module
and the following binascii functions:

* b2a_hqx(), a2b_hqx()
* rlecode_hqx(), rledecode_hqx()
* crc_hqx()</pre>
</div>
</content>
</entry>
<entry>
<title>bpo-39406: Add PY_PUTENV_DICT macro to posixmodule.c (GH-18106)</title>
<updated>2020-01-21T18:25:32+00:00</updated>
<author>
<name>Victor Stinner</name>
<email>vstinner@python.org</email>
</author>
<published>2020-01-21T18:25:32+00:00</published>
<link rel='alternate' type='text/html' href='http://91.123.203.49/cgit/delta/cpython-git.git/commit/?id=623ed6171eae35af7fd2e804dfd9c832c05c5d48'/>
<id>623ed6171eae35af7fd2e804dfd9c832c05c5d48</id>
<content type='text'>
Rename posix_putenv_garbage to putenv_dict.</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Rename posix_putenv_garbage to putenv_dict.</pre>
</div>
</content>
</entry>
</feed>
