How does Python call the system/primitive calls ?

Fredrik Lundh fredrik at pythonware.com
Mon Apr 11 09:11:47 EDT 2005


James Yu wrote:

> I am trying to learn the way Python invokes system or primitive calls.
> I tried to locate the function in Python's source that handles such
> requests, but I found it's like picking a needle in ocean.

what "system or primitive calls"?  Python's OS-level modules usually rely on the
nderlying C runtime libraries...  (e.g. os.rename() calls rename() which does what-
ever it needs to do to implement rename() semantics according to POSIX, etc.)

</F> 






More information about the Python-list mailing list