On Thu, Jul 26, 2012 at 3:32 PM, Toshio Kuratomi <[email protected]> wrote: > On Thu, Jul 26, 2012 at 01:37:54PM +0200, Zdeněk Pavlas wrote: > >> [PATCH 4/4] python3-compat: handle renamed modules and types >> >> Handle the random renaming of python modules. > > This one's ugly but I don't know a way around it. It shouldn't interfere > with python-2.4 compat if needed. > Okay -- for some of these, there actually is a better solution if you're willing to add another dep:
http://packages.python.org/six/#module-six.moves urllib/urllib2 is noticably absent (as explained on that page) from the standard things handled there but it is easy to add them via the six.add_moves() method. -Toshio _______________________________________________ Yum-devel mailing list [email protected] http://lists.baseurl.org/mailman/listinfo/yum-devel
