This issue tracker has been migrated to GitHub, and is currently read-only.
For more information, see the GitHub FAQs in the Python's Developer Guide.

Author eric.araujo
Recipients brett.cannon, eric.araujo
Date 2012-06-13.17:26:23
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <1339608384.13.0.37126189563.issue15056@psf.upfronthosting.co.za>
In-reply-to
Content
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.)
History
Date User Action Args
2012-06-13 17:26:24eric.araujosetrecipients: + eric.araujo, brett.cannon
2012-06-13 17:26:24eric.araujosetmessageid: <1339608384.13.0.37126189563.issue15056@psf.upfronthosting.co.za>
2012-06-13 17:26:23eric.araujolinkissue15056 messages
2012-06-13 17:26:23eric.araujocreate