On Tue, 17 Apr 2012 11:41:32 -0400 Brett Cannon <br...@python.org> wrote: > > Actually Cython would help with a subtle maintenance burden of maintaining > *any* C code for import. Right now, > Python/import.c:PyImport_ImportModuleLevelObject() is an accelerated C > version of importlib.__import__() through checking sys.modules, after which > it calls into the Python code. Cython would do away with that C > acceleration code (which I have already had to modify once and Antoine > found a couple refleaks in).
Would it? That's assuming Cython would be smart enough to do the required optimizations. Regards Antoine. _______________________________________________ Python-Dev mailing list Python-Dev@python.org http://mail.python.org/mailman/listinfo/python-dev Unsubscribe: http://mail.python.org/mailman/options/python-dev/archive%40mail-archive.com