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 benjamin.peterson
Recipients barry, benjamin.peterson, eric.araujo
Date 2010-04-24.19:29:26
SpamBayes Score 1.3877788e-15
Marked as misclassified No
Message-id <s2u1afaf6161004241229wb561742ctb9fd43a9562d8e12@mail.gmail.com>
In-reply-to <1272137255.2.0.0311426370261.issue8505@psf.upfronthosting.co.za>
Content
2010/4/24 Barry A. Warsaw <report@bugs.python.org>:
>
> Barry A. Warsaw <barry@python.org> added the comment:
>
> Removing __future__ as part of explicit command line execution of 2to3 makes some sense, but I wonder if 2to3 is used more often automatically (e.g. via Distribute) where it's at best unhelpful.  2to3 is all about making it easy to port code from Python 2 to 3, and this particular transformation makes it (albeit, slightly so) harder.

It's also designed to be easily customizable.

>
> A different idea would be to add a comment before the future import indicating its uselessness, but not removing it.  OTOH, I would also be happy with a better way to just disable it in a setup.py (e.g. by passing the -x flag in somehow).

I'm not sure we should get into the habit of telling people that their
code is useless. :)

I'll just close this as won't fix.
History
Date User Action Args
2010-04-24 19:29:28benjamin.petersonsetrecipients: + benjamin.peterson, barry, eric.araujo
2010-04-24 19:29:26benjamin.petersonlinkissue8505 messages
2010-04-24 19:29:26benjamin.petersoncreate