homepage

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 ggenellina
Recipients benjamin.peterson, flashk, ggenellina
Date 2009年11月07日.10:21:53
SpamBayes Score 0.0031445979
Marked as misclassified No
Message-id <1257589316.96.0.261127266574.issue7268@psf.upfronthosting.co.za>
In-reply-to
Content
This is a patch for the execfile fixer, so it converts
 execfile("fn")
into this:
 exec(compile(open("fn").read()+'\n', "fn", 'exec'))
(Yes, it looks ugly. A better way would be to fix the compile() builtin 
so it does not require the last line of source to end with '\n')
This is my very first incursion into 2to3 so it may be terribly wrong...
History
Date User Action Args
2009年11月07日 10:21:57ggenellinasetrecipients: + ggenellina, benjamin.peterson, flashk
2009年11月07日 10:21:56ggenellinasetmessageid: <1257589316.96.0.261127266574.issue7268@psf.upfronthosting.co.za>
2009年11月07日 10:21:55ggenellinalinkissue7268 messages
2009年11月07日 10:21:54ggenellinacreate

AltStyle によって変換されたページ (->オリジナル) /