yahoo-eng-team team mailing list archive
-
yahoo-eng-team team
-
Mailing list archive
-
Message #43847
[Bug 1530249] Re: Use six.moves.reduce instead of builtin reduce
** No longer affects: cinder
--
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 Glance:
In Progress
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/glance/+bug/1530249/+subscriptions
References