[Distutils] How to handle launcher script importability?

Thomas Heller theller at ctypes.org
Thu Aug 22 10:26:32 CEST 2013


Am 20.08.2013 19:39, schrieb PJ Eby:
> I thought that at one point you (Thomas) had come up with a way to
> load modules into memory from a zipfile without needing to extract
> them.  Was that you?  If so, how did that work out?

To give a definite answer, after thinking it over:

It works, for quite some extensions.  The main problem is this:
If it does NOT work (process crashes) there is no way to find out why.

It is nearly impossible to debug because you end up with all the
machine code from the extensions/dlls mapped into the process
and the debugger has no info about it.

Thomas




More information about the Distutils-SIG mailing list