[Python-Dev] hook for standalone executable

Martin v. Löwis martin at v.loewis.de
Sun Aug 10 06:53:04 EDT 2003


Thomas Heller <theller at python.net> writes:

> I don't understand: Isn't the first sentence a contradiction of the
> second?
> How is this variable set, without calling native tools, in pure Python?

All that the native tool could do can also be done in pure
Python. There are, typically no system calls required to a linker
except for read() and write() (perhaps seek()).

> And is it really a global variable accessible from C code?

Yes, this is how I think it should be implemented.

This would be a lot of work, no doubt.

Regards,
Martin



More information about the Python-Dev mailing list