tencentyun / cos-python-sdk

对象存储服务(Cloud Object Service)Python SDK使用说明
https://www.qcloud.com/doc/product/227/3385
MIT License
20 stars 8 forks source link

增加 python3 支持。 #6

Closed laurence6 closed 8 years ago

zxdvd commented 9 years ago

I also want python 3 support. But you'll remove python 2 support while adding python 3 support. You should use following style:

try:
    import urlparse
except ImportError:
    import urllib.parse as urlparse