<feed xmlns='http://www.w3.org/2005/Atom'>
<title>python.git/Modules/posixmodule.c, branch v2.7a4</title>
<subtitle>Python interpreter</subtitle>
<id>http://dangofactory.net/cgit/cgit.cgi/Server/python.git/atom/Modules/posixmodule.c?h=v2.7a4</id>
<link rel='self' href='http://dangofactory.net/cgit/cgit.cgi/Server/python.git/atom/Modules/posixmodule.c?h=v2.7a4'/>
<link rel='alternate' type='text/html' href='http://dangofactory.net/cgit/cgit.cgi/Server/python.git/'/>
<updated>2010-03-01T05:43:43Z</updated>
<entry>
<title>Fixes issue #7999: os.setreuid() and os.setregid() would refuse to accept</title>
<updated>2010-03-01T05:43:43Z</updated>
<author>
<name>Gregory P. Smith</name>
<email>greg@mad-scientist.com</email>
</author>
<published>2010-03-01T05:43:43Z</published>
<link rel='alternate' type='text/html' href='http://dangofactory.net/cgit/cgit.cgi/Server/python.git/commit/?id=6a65f85e79db20f16a7f18873322984f5b1333ee'/>
<id>urn:sha1:6a65f85e79db20f16a7f18873322984f5b1333ee</id>
<content type='text'>
a -1 parameter on some platforms such as OS X.
</content>
</entry>
<entry>
<title>Fix for r78527.  It left out updating forkpty.</title>
<updated>2010-03-01T02:31:33Z</updated>
<author>
<name>Gregory P. Smith</name>
<email>greg@mad-scientist.com</email>
</author>
<published>2010-03-01T02:31:33Z</published>
<link rel='alternate' type='text/html' href='http://dangofactory.net/cgit/cgit.cgi/Server/python.git/commit/?id=4b862365c865ac9859ee63bd50c6f54bd94441c9'/>
<id>urn:sha1:4b862365c865ac9859ee63bd50c6f54bd94441c9</id>
<content type='text'>
</content>
</entry>
<entry>
<title>Issue #7242: On Solaris 9 and earlier calling os.fork() from within a</title>
<updated>2010-03-01T01:22:39Z</updated>
<author>
<name>Gregory P. Smith</name>
<email>greg@mad-scientist.com</email>
</author>
<published>2010-03-01T01:22:39Z</published>
<link rel='alternate' type='text/html' href='http://dangofactory.net/cgit/cgit.cgi/Server/python.git/commit/?id=9e5d1327f8a6f3a266b76118e0c660c7bcb12ce9'/>
<id>urn:sha1:9e5d1327f8a6f3a266b76118e0c660c7bcb12ce9</id>
<content type='text'>
thread could raise an incorrect RuntimeError about not holding the import
lock.  The import lock is now reinitialized after fork.
</content>
</entry>
<entry>
<title>- Issue #7658: Ensure that the new pythonw executable works on OSX 10.4</title>
<updated>2010-01-17T16:25:57Z</updated>
<author>
<name>Ronald Oussoren</name>
<email>ronaldoussoren@mac.com</email>
</author>
<published>2010-01-17T16:25:57Z</published>
<link rel='alternate' type='text/html' href='http://dangofactory.net/cgit/cgit.cgi/Server/python.git/commit/?id=a55af9a9db334fb587f2c6b37ac28ac2463ebf04'/>
<id>urn:sha1:a55af9a9db334fb587f2c6b37ac28ac2463ebf04</id>
<content type='text'>
- Issue #7714: Use ``gcc -dumpversion`` to detect the version of GCC on
  MacOSX.

- Make configure look for util.h as well as libutil.h. The former
  is the header file that on OSX contains the defition of openpty.

  (Needed to compile for OSX 10.4 on OSX 10.6)

- Use the correct definition of CC to compile the pythonw executable
</content>
</entry>
<entry>
<title>Fix possible integer overflow in lchown and fchown functions.  For issue1747858.</title>
<updated>2009-12-23T09:31:11Z</updated>
<author>
<name>Gregory P. Smith</name>
<email>greg@mad-scientist.com</email>
</author>
<published>2009-12-23T09:31:11Z</published>
<link rel='alternate' type='text/html' href='http://dangofactory.net/cgit/cgit.cgi/Server/python.git/commit/?id=9f12d468f4f886d70831b34875e95d5efe9c6323'/>
<id>urn:sha1:9f12d468f4f886d70831b34875e95d5efe9c6323</id>
<content type='text'>
</content>
</entry>
<entry>
<title>Issue #7333: The `posix` module gains an `initgroups()` function providing</title>
<updated>2009-12-02T20:37:54Z</updated>
<author>
<name>Antoine Pitrou</name>
<email>solipsis@pitrou.net</email>
</author>
<published>2009-12-02T20:37:54Z</published>
<link rel='alternate' type='text/html' href='http://dangofactory.net/cgit/cgit.cgi/Server/python.git/commit/?id=30b3b35cbac52719e44d8457fd9a7be09e6edd2c'/>
<id>urn:sha1:30b3b35cbac52719e44d8457fd9a7be09e6edd2c</id>
<content type='text'>
access to the initgroups(3) C library call on Unix systems which implement
it.  Patch by Jean-Paul Calderone.
</content>
</entry>
<entry>
<title>Issue #6508: Add posix.{getresuid,getresgid,setresuid,setresgid}.</title>
<updated>2009-11-27T13:56:01Z</updated>
<author>
<name>Martin v. Löwis</name>
<email>martin@v.loewis.de</email>
</author>
<published>2009-11-27T13:56:01Z</published>
<link rel='alternate' type='text/html' href='http://dangofactory.net/cgit/cgit.cgi/Server/python.git/commit/?id=50ea4565bd7805d7368b9278536f58c870313e92'/>
<id>urn:sha1:50ea4565bd7805d7368b9278536f58c870313e92</id>
<content type='text'>
</content>
</entry>
<entry>
<title>Fix issue #1590864, multiple threads and fork() can cause deadlocks, by</title>
<updated>2009-09-16T19:55:54Z</updated>
<author>
<name>Thomas Wouters</name>
<email>thomas@python.org</email>
</author>
<published>2009-09-16T19:55:54Z</published>
<link rel='alternate' type='text/html' href='http://dangofactory.net/cgit/cgit.cgi/Server/python.git/commit/?id=c4dcb3801e6e64327e95821034a7578f5f31bf94'/>
<id>urn:sha1:c4dcb3801e6e64327e95821034a7578f5f31bf94</id>
<content type='text'>
acquiring the import lock around fork() calls. This prevents other threads
from having that lock while the fork happens, and is the recommended way of
dealing with such issues. There are two other locks we care about, the GIL
and the Thread Local Storage lock. The GIL is obviously held when calling
Python functions like os.fork(), and the TLS lock is explicitly reallocated
instead, while also deleting now-orphaned TLS data.

This only fixes calls to os.fork(), not extension modules or embedding
programs calling C's fork() directly. Solving that requires a new set of API
functions, and possibly a rewrite of the Python/thread_*.c mess. Add a
warning explaining the problem to the documentation in the mean time.

This also changes behaviour a little on AIX. Before, AIX (but only AIX) was
getting the import lock reallocated, seemingly to avoid this very same
problem. This is not the right approach, because the import lock is a
re-entrant one, and reallocating would do the wrong thing when forking while
holding the import lock.

Will backport to 2.6, minus the tiny AIX behaviour change.
</content>
</entry>
<entry>
<title>Issue #4856: Py_GetFileAttributesEx[AW] are not needed because GetFileAttributesEx[AW]</title>
<updated>2009-06-29T11:27:03Z</updated>
<author>
<name>Hirokazu Yamamoto</name>
<email>ocean-city@m2.ccsnet.ne.jp</email>
</author>
<published>2009-06-29T11:27:03Z</published>
<link rel='alternate' type='text/html' href='http://dangofactory.net/cgit/cgit.cgi/Server/python.git/commit/?id=bcff47a6ec43e945a74e202f987bbce9e40fade7'/>
<id>urn:sha1:bcff47a6ec43e945a74e202f987bbce9e40fade7</id>
<content type='text'>
won't fail with ERROR_CALL_NOT_IMPLEMENTED on win NT.
Reviewed by Amaury Forgeot d'Arc.
</content>
</entry>
<entry>
<title>Issue #4856: Remove checks for win NT.</title>
<updated>2009-06-28T10:23:00Z</updated>
<author>
<name>Hirokazu Yamamoto</name>
<email>ocean-city@m2.ccsnet.ne.jp</email>
</author>
<published>2009-06-28T10:23:00Z</published>
<link rel='alternate' type='text/html' href='http://dangofactory.net/cgit/cgit.cgi/Server/python.git/commit/?id=a3c560907972822a661b4fa933ac9637145c5048'/>
<id>urn:sha1:a3c560907972822a661b4fa933ac9637145c5048</id>
<content type='text'>
</content>
</entry>
</feed>
