[Python-Dev] fork or exec?

Barry Warsaw barry at python.org
Fri Jan 11 15:56:33 CET 2013


On Jan 11, 2013, at 06:25 PM, Ben Leslie wrote:

>Python is not UNIX, but I think if you are directly using the POSIX
>interfaces they should work (more or less) the same way the would if you were
>writing a C program.  (Some of us still use Python to prototype things that
>will later be converted to C!).

+1

Or put it another way: Python isn't POSIX but it exposes POSIX APIs, they
should act like POSIX APIs.  It's perfectly fine to provide alternative APIs
that have different behavior.

I think it's exactly analogous to Python exposing Windows or OS X specific
APIs.

-Barry


More information about the Python-Dev mailing list