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 joe.amenta
Recipients amaury.forgeotdarc, benjamin.peterson, joe.amenta, rcoyner
Date 2010-03-08.02:26:09
SpamBayes Score 0.00016597139
Marked as misclassified No
Message-id <1268015172.77.0.998176151083.issue7162@psf.upfronthosting.co.za>
In-reply-to
Content
Yes, the idea was that it doesn't seem outlandish for someone to do:
def file(something):
    do_stuff()

You can use lib2to3.fixer_util.is_probably_builtin for this... modified the patch and attached.
History
Date User Action Args
2010-03-08 02:26:13joe.amentasetrecipients: + joe.amenta, amaury.forgeotdarc, benjamin.peterson, rcoyner
2010-03-08 02:26:12joe.amentasetmessageid: <1268015172.77.0.998176151083.issue7162@psf.upfronthosting.co.za>
2010-03-08 02:26:11joe.amentalinkissue7162 messages
2010-03-08 02:26:10joe.amentacreate