Author brett.cannon
Recipients brett.cannon, eric.snow
Date 2012-08-12.00:44:35
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <1344732276.83.0.543554641885.issue15627@psf.upfronthosting.co.za>
In-reply-to
Content
A classmethod called importlib.abc.SourceLoader.source_to_code(source_bytes, path) would return a code object. By default it would be equivalent to ``compile(source_bytes, source_path, 'exec', dont_inherit=True)``, but others could override this to e.g. convert the source to an AST, optimize the AST, and then call compile() to get the desired code object.
History
Date User Action Args
2012-08-12 00:44:36brett.cannonsetrecipients: + brett.cannon, eric.snow
2012-08-12 00:44:36brett.cannonsetmessageid: <1344732276.83.0.543554641885.issue15627@psf.upfronthosting.co.za>
2012-08-12 00:44:36brett.cannonlinkissue15627 messages
2012-08-12 00:44:35brett.cannoncreate