mk wrote:
I wonder if there is a way to load C extension from in-memory object,
not from the file on the disk?
No, that's not possible since Python depends on the operating system. A
lot of operating systems require a physical file to load the shared
library from. Python uses dlopen() on most
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1
On 05/13/2010 06:14 AM, mk wrote:
> I wonder if there is a way to load C extension from in-memory object,
> not from the file on the disk?
>
> I'm asking bc I would like to download C extensions over network and
> load them into Python interpreter (wi
> I wonder if there is a way to load C extension from in-memory object,
> not from the file on the disk?
>
> I'm asking bc I would like to download C extensions over network and
> load them into Python interpreter (without storing the C extension in
> file on the disk).
>
> I googled for this bu