Embedding Python the extreme way
Frank Patz
fp at contact.de
Wed Jul 10 12:43:54 EDT 2002
> > OK, so I think a better (read: easier) strategy might be to /hide/
> > these objects, not /remove/ them.
>
> How can I do that? My initial idea was to modify bltinmodule.c to do
> things I want. What I definitly don't want, is to call Py_Initialize()
> and then replace the original modules with my own. I'd appreciate it, if
> it would be possible to modify the sources.
Something like "del sys.__dict__['exit']" basically works.
- frank
More information about the Python-list
mailing list