[Python-Dev] Importing .pyc in -O mode and vice versa
ronaldoussoren at mac.com
Tue Nov 7 09:57:31 CET 2006
On 7Nov 2006, at 12:20 AM, Greg Ewing wrote:
>> Also, if we do our own directory caching, the question
>> is when to invalidate the cache.
> I think I'd be happy with having to do that explicitly.
> I expect the vast majority of Python programs don't
> need to track changes to the set of importable modules
> during execution. The exceptions would be things like
> IDEs, and they could do a cache flush before reloading
> a module, etc.
Not only IDE's, also the interactive prompt. It is very convenient
that you can currently install an additional module when an import
fails and then try the import again (at the python prompt).
-------------- next part --------------
A non-text attachment was scrubbed...
Size: 3562 bytes
Desc: not available
Url : http://mail.python.org/pipermail/python-dev/attachments/20061107/9dd3183f/attachment.bin
More information about the Python-Dev