[Python-Dev] fork or exec?

Tres Seaver tseaver at palladion.com
Thu Jan 10 20:16:18 CET 2013


-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

On 01/10/2013 01:30 PM, Antoine Pitrou wrote:
> On Thu, 10 Jan 2013 12:47:23 -0500 Tres Seaver <tseaver at palladion.com>
> wrote:

>> Why would we wander away from POSIX semantics here?  There are good 
>> reasons not to close open descriptors (the 'pipe()' syscall, for 
>> instance), and there is no POSIXy way to ask for them *not* to be
>> closed.
> 
> Because Python is not POSIX. (and POSIX did mistakes anyway)

Anybody using systems programming using fork() should expect to be in
POSIX land, and would be surprised not to have the semantics it implies.


Tres.
- -- 
===================================================================
Tres Seaver          +1 540-429-0999          tseaver at palladion.com
Palladion Software   "Excellence by Design"    http://palladion.com
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.11 (GNU/Linux)
Comment: Using GnuPG with undefined - http://www.enigmail.net/

iEYEARECAAYFAlDvE4IACgkQ+gerLs4ltQ4gwwCZAbj6cPhTWahGam7bbr8KgcY4
IY8An1yH6YOsSvVoV38l4Ka2pcJUFzDA
=gbOD
-----END PGP SIGNATURE-----



More information about the Python-Dev mailing list