[Yum-devel] [PATCH] setup: make build work on python 3
Zdenek Pavlas
zpavlas at redhat.com
Fri Apr 5 13:56:53 UTC 2013
> In python 3, the string module doesn't have 'split' function anymore
> and users are encouraged to use '.split()' on the string itself. Also
> 'map()' is lazy and returns an iterable map object, but setup expects
> only a list, so it has to be wrapped in 'list()'. All of this works
> with python2 as well.
ACK, thanks! Merged, since it's obviously correct.. But I'd consider
it a bug that distutils does not accept an iterable.
More information about the Yum-devel
mailing list