yahoo-eng-team team mailing list archive
-
yahoo-eng-team team
-
Mailing list archive
-
Message #44727
[Bug 1530249] Re: Use six.moves.reduce instead of builtin reduce
Submitted https://review.openstack.org/#/c/268059/ in cinder.
** Also affects: cinder
Importance: Undecided
Status: New
** Changed in: cinder
Assignee: (unassigned) => Ankit Agrawal (ankitagrawal)
** Changed in: cinder
Status: New => In Progress
--
You received this bug notification because you are a member of Yahoo!
Engineering Team, which is subscribed to Glance.
https://bugs.launchpad.net/bugs/1530249
Title:
Use six.moves.reduce instead of builtin reduce
Status in Cinder:
In Progress
Status in Glance:
Fix Released
Bug description:
Builtin function 'reduce' in Python 2 has been moved to standard
library module in Python 3 [1]. To make code compatible, we should
replace reduce(expr) with six.moves.reduce(expr)
[1] http://python3porting.com/stdlib.html#moved-builtins
To manage notifications about this bug go to:
https://bugs.launchpad.net/cinder/+bug/1530249/+subscriptions
References