<feed xmlns='http://www.w3.org/2005/Atom'>
<title>delta/cpython-git.git/Modules/posixmodule.c, branch misc-acks-comment</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-37931: Fix crash on OSX re-initializing os.environ (GH-15428)</title>
<updated>2019-12-06T19:15:03+00:00</updated>
<author>
<name>Benoit Hudson</name>
<email>benoit@imgspc.com</email>
</author>
<published>2019-12-06T19:15:03+00:00</published>
<link rel='alternate' type='text/html' href='http://git.baserock.org/cgit/delta/cpython-git.git/commit/?id=723f71abf7ab0a7be394f9f7b2daa9ecdf6fb1eb'/>
<id>723f71abf7ab0a7be394f9f7b2daa9ecdf6fb1eb</id>
<content type='text'>
On most platforms, the `environ` symbol is accessible everywhere.

In a dylib on OSX, it's not easily accessible, you need to find it with
_NSGetEnviron.

The code was caching the *value* of environ. But a setenv() can change the value,
leaving garbage at the old value. Fix: don't cache the value of environ, just
read it every time.</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
On most platforms, the `environ` symbol is accessible everywhere.

In a dylib on OSX, it's not easily accessible, you need to find it with
_NSGetEnviron.

The code was caching the *value* of environ. But a setenv() can change the value,
leaving garbage at the old value. Fix: don't cache the value of environ, just
read it every time.</pre>
</div>
</content>
</entry>
<entry>
<title>closes bpo-38803: Fix leak in posixmodule. (GH-17373)</title>
<updated>2019-11-26T03:07:37+00:00</updated>
<author>
<name>Eddie Elizondo</name>
<email>eelizondo@fb.com</email>
</author>
<published>2019-11-26T03:07:37+00:00</published>
<link rel='alternate' type='text/html' href='http://git.baserock.org/cgit/delta/cpython-git.git/commit/?id=e4db1f05e9a5828f6b287f99067362fa0e5732e8'/>
<id>e4db1f05e9a5828f6b287f99067362fa0e5732e8</id>
<content type='text'>
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
</pre>
</div>
</content>
</entry>
<entry>
<title>closes bpo-38713: Expose P_PIDFD in os if it's defined. (GH-17071)</title>
<updated>2019-11-06T05:58:31+00:00</updated>
<author>
<name>Benjamin Peterson</name>
<email>benjamin@python.org</email>
</author>
<published>2019-11-06T05:58:31+00:00</published>
<link rel='alternate' type='text/html' href='http://git.baserock.org/cgit/delta/cpython-git.git/commit/?id=5c0c325453a175350e3c18ebb10cc10c37f9595c'/>
<id>5c0c325453a175350e3c18ebb10cc10c37f9595c</id>
<content type='text'>
https://bugs.python.org/issue38713</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
https://bugs.python.org/issue38713</pre>
</div>
</content>
</entry>
<entry>
<title>bpo-38692: Add os.pidfd_open. (GH-17063)</title>
<updated>2019-11-06T03:21:29+00:00</updated>
<author>
<name>Benjamin Peterson</name>
<email>benjamin@python.org</email>
</author>
<published>2019-11-06T03:21:29+00:00</published>
<link rel='alternate' type='text/html' href='http://git.baserock.org/cgit/delta/cpython-git.git/commit/?id=6c4c45efaeb40f4f837570f57d90a0b3429c6ae9'/>
<id>6c4c45efaeb40f4f837570f57d90a0b3429c6ae9</id>
<content type='text'>
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
</pre>
</div>
</content>
</entry>
<entry>
<title>bpo-35381 Remove all static state from posixmodule (GH-15892)</title>
<updated>2019-11-05T15:16:14+00:00</updated>
<author>
<name>Eddie Elizondo</name>
<email>eelizondo@fb.com</email>
</author>
<published>2019-11-05T15:16:14+00:00</published>
<link rel='alternate' type='text/html' href='http://git.baserock.org/cgit/delta/cpython-git.git/commit/?id=b3966639d28313809774ca3859a347b9007be8d2'/>
<id>b3966639d28313809774ca3859a347b9007be8d2</id>
<content type='text'>
After #9665, this moves the remaining types in posixmodule to be heap-allocated to make it compatible with PEP384 as well as modifying all the type accessors to fully make the type opaque.

The original PR that got messed up a rebase: https://github.com/python/cpython/pull/10854. All the issues in that commit have now been addressed since https://github.com/python/cpython/pull/11661 got committed.

This change also removes any state from the data segment and onto the module state itself.


https://bugs.python.org/issue35381



Automerge-Triggered-By: @encukou</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
After #9665, this moves the remaining types in posixmodule to be heap-allocated to make it compatible with PEP384 as well as modifying all the type accessors to fully make the type opaque.

The original PR that got messed up a rebase: https://github.com/python/cpython/pull/10854. All the issues in that commit have now been addressed since https://github.com/python/cpython/pull/11661 got committed.

This change also removes any state from the data segment and onto the module state itself.


https://bugs.python.org/issue35381



Automerge-Triggered-By: @encukou</pre>
</div>
</content>
</entry>
<entry>
<title>bpo-38493: Add os.CLD_KILLED and os.CLD_STOPPED. (GH-16821)</title>
<updated>2019-10-21T07:01:05+00:00</updated>
<author>
<name>Dong-hee Na</name>
<email>donghee.na92@gmail.com</email>
</author>
<published>2019-10-21T07:01:05+00:00</published>
<link rel='alternate' type='text/html' href='http://git.baserock.org/cgit/delta/cpython-git.git/commit/?id=2eba6ad7bf3a5beeed54209a0107be8e1ac77767'/>
<id>2eba6ad7bf3a5beeed54209a0107be8e1ac77767</id>
<content type='text'>
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
</pre>
</div>
</content>
</entry>
<entry>
<title>bpo-38418: Fixes audit event for os.system to be named 'os.system' (GH-16670)</title>
<updated>2019-10-18T07:52:15+00:00</updated>
<author>
<name>Steve Dower</name>
<email>steve.dower@python.org</email>
</author>
<published>2019-10-18T07:52:15+00:00</published>
<link rel='alternate' type='text/html' href='http://git.baserock.org/cgit/delta/cpython-git.git/commit/?id=fbe3c76c7ce1eec887d332d801d3784212cc0f73'/>
<id>fbe3c76c7ce1eec887d332d801d3784212cc0f73</id>
<content type='text'>
https://bugs.python.org/issue38418



Automerge-Triggered-By: @zooba</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
https://bugs.python.org/issue38418



Automerge-Triggered-By: @zooba</pre>
</div>
</content>
</entry>
<entry>
<title>bpo-38378: Rename parameters "out" and "in" of os.sendfile(). (GH-16742)</title>
<updated>2019-10-13T08:59:31+00:00</updated>
<author>
<name>Serhiy Storchaka</name>
<email>storchaka@gmail.com</email>
</author>
<published>2019-10-13T08:59:31+00:00</published>
<link rel='alternate' type='text/html' href='http://git.baserock.org/cgit/delta/cpython-git.git/commit/?id=140a7d1f3579e778656a6b6bfad72489e9870a4d'/>
<id>140a7d1f3579e778656a6b6bfad72489e9870a4d</id>
<content type='text'>
They conflicted with keyword "in".

Also rename positional-only parameters of private os._fcopyfile()
for consistency.
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
They conflicted with keyword "in".

Also rename positional-only parameters of private os._fcopyfile()
for consistency.
</pre>
</div>
</content>
</entry>
<entry>
<title>closes bpo-36161: Use thread-safe ttyname_r instead of ttyname. (GH-14868)</title>
<updated>2019-10-09T02:19:48+00:00</updated>
<author>
<name>Antonio Gutierrez</name>
<email>chibby0ne@gmail.com</email>
</author>
<published>2019-10-09T02:19:48+00:00</published>
<link rel='alternate' type='text/html' href='http://git.baserock.org/cgit/delta/cpython-git.git/commit/?id=594e2edfb5e0d24e03469d035d8f39ff29a64d99'/>
<id>594e2edfb5e0d24e03469d035d8f39ff29a64d99</id>
<content type='text'>
Signed-off-by: Antonio Gutierrez &lt;chibby0ne@gmail.com&gt;</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Signed-off-by: Antonio Gutierrez &lt;chibby0ne@gmail.com&gt;</pre>
</div>
</content>
</entry>
<entry>
<title>bpo-38265: Update os.pread to accept the length type as Py_ssize_t. (GH-16359)</title>
<updated>2019-09-25T05:47:04+00:00</updated>
<author>
<name>Dong-hee Na</name>
<email>donghee.na92@gmail.com</email>
</author>
<published>2019-09-25T05:47:04+00:00</published>
<link rel='alternate' type='text/html' href='http://git.baserock.org/cgit/delta/cpython-git.git/commit/?id=ad7736faf5b82a24374c601a72599adf29951080'/>
<id>ad7736faf5b82a24374c601a72599adf29951080</id>
<content type='text'>
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
</pre>
</div>
</content>
</entry>
</feed>
