Nick Coghlan added the comment:

I have a patch that works, and that I think may point the way to a replacement 
API for set_data in 3.4. Just running the full test suite before I check it in.

The test you posted definitely saved me a lot of time.

My version bypasses the cache, though. This isn't a disaster, since the main 
reason the cache is there is to speed up *failing* stat calls - this new one 
only incurs the hit when actually writing the bytecode file to disk, which 
should be lost in the noise of the actual IO write operation.

However, suggestions for improvement always welcome :)

----------

_______________________________________
Python tracker <rep...@bugs.python.org>
<http://bugs.python.org/issue2051>
_______________________________________
_______________________________________________
Python-bugs-list mailing list
Unsubscribe: 
http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com

Reply via email to