Commits

Stefan H. Holek  committed 40bf711

Python 3.0 has no surrogateescape.

  • Participants
  • Parent commits cfc7165

Comments (0)

Files changed (1)

File 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'