New submission from Brett Cannon <[EMAIL PROTECTED]>: 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. ---------- assignee: brett.cannon components: Library (Lib) messages: 70484 nosy: brett.cannon priority: critical severity: normal status: open title: Using functools.reduce() does not stop DeprecationWarning when using -3 type: behavior versions: Python 2.6 _______________________________________ Python tracker <[EMAIL PROTECTED]> <http://bugs.python.org/issue3474> _______________________________________ _______________________________________________ Python-bugs-list mailing list Unsubscribe: http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com