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 brett.cannon
Recipients brett.cannon, rhettinger
Date 2008-07-31.17:43:57
SpamBayes Score 0.00045952393
Marked as misclassified No
Message-id <bbaeab100807311043t3e199185v85c270b495285c61@mail.gmail.com>
In-reply-to <1217485958.12.0.296210159573.issue3474@psf.upfronthosting.co.za>
Content
On Wed, Jul 30, 2008 at 11:32 PM, Raymond Hettinger
<report@bugs.python.org> wrote:
>
> Raymond Hettinger <rhettinger@users.sourceforge.net> added the comment:
>
> Can't this be handled by 2-to-3 instead of a -3 warning?
>

Well, there is the problem of someone having a function already named
reduce() and the import. Since 2to3 can't go back and add an import,
every found use of reduce() would need to have an import inserted
somewhere. That won't work if reduce() is being used in a expression
context instead of a statement context, etc.
History
Date User Action Args
2008-07-31 17:43:59brett.cannonsetrecipients: + brett.cannon, rhettinger
2008-07-31 17:43:58brett.cannonlinkissue3474 messages
2008-07-31 17:43:57brett.cannoncreate