Message162713
It seems to me there is overlap between sys.implementation.cache_tag and sys.dont_write_bytecode. I was expecting sys.impl.cache_tag to be purely informational, and not actually controlling some behavior. “If cache_tag is set to None, it indicates that module caching should be disabled”: isn’t that the job of sys.dont_write_bytecode?
(The difference that I see is that sys.impl.cache_tag is defined by the VM and dont_write_bytecode by each interpreter invocation; I was expecting VMs that never want to write bytecode to just always set dont_write_bytecode to False, i.e. make -B redundant.) |
|
Date |
User |
Action |
Args |
2012-06-13 17:26:24 | eric.araujo | set | recipients:
+ eric.araujo, brett.cannon |
2012-06-13 17:26:24 | eric.araujo | set | messageid: <1339608384.13.0.37126189563.issue15056@psf.upfronthosting.co.za> |
2012-06-13 17:26:23 | eric.araujo | link | issue15056 messages |
2012-06-13 17:26:23 | eric.araujo | create | |
|