Message83858
| Author |
vstinner |
| Recipients |
loewis, vstinner |
| Date |
2009年03月20日.08:53:09 |
| SpamBayes Score |
7.396065e-06 |
| Marked as misclassified |
No |
| Message-id |
<200903200952.19707.victor.stinner@haypocalc.com> |
| In-reply-to |
<1237528583.89.0.81101576808.issue5524@psf.upfronthosting.co.za> |
| Content |
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. |
|
History
|
|---|
| Date |
User |
Action |
Args |
| 2009年03月20日 08:53:11 | vstinner | set | recipients:
+ vstinner, loewis |
| 2009年03月20日 08:53:09 | vstinner | link | issue5524 messages |
| 2009年03月20日 08:53:09 | vstinner | create |
|