[Python-3000] How to override io.BytesIO and io.StringIO with their optimized C version?
skip at pobox.com
skip at pobox.com
Wed Dec 26 23:57:50 CET 2007
>>>>> "Alexaandre" == Alexandre Vassalotti <alexandre at peadrop.com> writes:
>> How did you register the optimized versions? Did you add them to
>> _PyImport_Inittab in Modules/config.c? Modules in _PyImport_Inittab
>> are available before the io module is loaded.
Alexaandre> How would that works? The modules in Module/config.c need to
Alexaandre> linked to the main binary, no?
Assuming they aren't huge I don't see any real problem linking them into the
interpreter's binary image. A few other modules are handled that way (sys,
marshal, etc).
Skip
More information about the Python-3000
mailing list