Six

Comment 2 for bug 653383

Revision history for this message
Sridhar Ratnakumar (srid) wrote : Re: [Bug 653383] Re: Expose `six.moves` API for writing custom moves

On Mon, Oct 4, 2010 at 12:14 PM, Benjamin Peterson <
<email address hidden>> wrote:

> I think a better idea would be to add names which are missing. :)

Well, the thing is there are so many custom moves that are project-specific.
Apart from xmlrpc_client and urlparse, do you think six can officially
support all of the following moves?
    _Module('xmlrpc_client', 'xmlrpclib', 'xmlrpc.client'),
    _Attribute('HTTPError', 'urllib2', 'urllib.error'),
    _Attribute('URLError', 'urllib2', 'urllib.error'),
    _Attribute('Request', 'urllib2', 'urllib.request'),
    _Attribute('urlopen', 'urllib2', 'urllib.request'),
    _Attribute('urllib_version', 'urllib2', 'urllib.request',
'__version__'),
    _Attribute('urlparse', 'urlparse', 'urllib.parse'),