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 vstinner
Recipients loewis, vstinner
Date 2009-03-20.08:53:09
SpamBayes Score 7.396065e-06
Marked as misclassified No
Message-id <>
In-reply-to <>
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 
Date User Action Args
2009-03-20 08:53:11vstinnersetrecipients: + vstinner, loewis
2009-03-20 08:53:09vstinnerlinkissue5524 messages
2009-03-20 08:53:09vstinnercreate