Commits

Anonymous committed 40bf711

Python 3.0 has no surrogateescape.

Comments (0)

Files changed (1)

setuptools/command/upload_docs.py

 except ImportError:
     from setuptools.command.upload import upload
 
-if sys.version_info >= (3,):
+if sys.version_info >= (3, 1):
     errors = 'surrogateescape'
 else:
     errors = 'strict'