Le Wed, 03 Feb 2010 15:55:54 +0200, Simon Cross a écrit : > On Wed, Feb 3, 2010 at 3:07 PM, Antoine Pitrou <solip...@pitrou.net> > wrote: >> Since there might be several compiled files for a single source file >> (for example, a .pyc along with a JITted native .so), __cache__ should >> probably be a tuple rather than a string. > > But presumably there is only one compiled file that is in use by the > current Python instance?
We could imagine an implementation which would load the .pyc file and then overload some (but only some) of the declarations there with some specialized native code from a .so file. This is just speculation however. 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