Unhandled exception in unicode_utils #486
Closed
Comments
jaraco
added a commit
that referenced
this issue
Apr 4, 2016
jaraco
added a commit
that referenced
this issue
Apr 4, 2016
This issue was closed.
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Originally reported by: bra (Bitbucket: bra, GitHub: bra)
Hi,
According to the python docs, sys.getfilesystemencoding() can return None.
But the code here:
https://bitbucket.org/pypa/setuptools/src/cf547c694dc5a4f51623e4c5f944322ef9093e16/setuptools/unicode_utils.py?at=default&fileviewer=file-view-default#unicode_utils.py-31
gets TypeError instead of UnicodeDecodeError if None is supplied:
Which doesn't handled, so the code fails on it when sys.getfilesystemencoding() is None.
The text was updated successfully, but these errors were encountered: