➜

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.

作者 vstinner
收信人 loewis, vstinner
日期 2009-03-20.08:53:09
SpamBayes Score 7.396065e-06
Marked as misclassified 否
Message-id <200903200952.19707.victor.stinner@haypocalc.com>
In-reply-to <1237528583.89.0.81101576808.issue5524@psf.upfronthosting.co.za>
内容
martin> There is a much simpler solution to the problem: 
martin> use exec(open(fn,"rb").read())

Ok... but there is the newline issue: (self quote) "exec() doesn't support 
newline different than \n, see issue #4628".

And open_python() can be used for other usages than execfile() ;-)

Note: tokenize.open_python() is maybe not the best module and/or function 
name.
历史
日期 用户 动作 参数
2009-03-20 08:53:11vstinner修改recipients: + vstinner, loewis
2009-03-20 08:53:09vstinner链接issue5524 messages
2009-03-20 08:53:09vstinner创建