Message 70484 - Python tracker

Message70484

Author brett.cannon
Recipients brett.cannon
Date 2008-07-31.03:40:53
SpamBayes Score 0.025322039
Marked as misclassified No
Message-id <1217475655.54.0.410069385822.issue3474@psf.upfronthosting.co.za>
In-reply-to
Content
It turns out that functools.reduce() is simply __builtins__.reduce().
That does not stop the DeprecationWarning from using reduce() from being
raised even though the message says to use functools.reduce()!

Easiest solution is to create a wrapper for __builtin__.reduce() that
silences the warning when called.
History
Date User Action Args
2008-07-31 03:40:55brett.cannonsetrecipients: + brett.cannon
2008-07-31 03:40:55brett.cannonsetmessageid: <1217475655.54.0.410069385822.issue3474@psf.upfronthosting.co.za>
2008-07-31 03:40:54brett.cannonlinkissue3474 messages
2008-07-31 03:40:54brett.cannoncreate