You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
On HP-UX, sys.getfilesystemencoding returns None. On line 993 of genutils.py, the result of calling that function is decoded without first checking the return value.
Rather than not decoding it, does it make sense to assume a default encoding of some sort, so that we're always returning a path in unicode? Is it possible to include any non-ascii characters in an HP-UX filename? And if so, what do they show up as in Python?
On HP-UX, sys.getfilesystemencoding returns None. On line 993 of genutils.py, the result of calling that function is decoded without first checking the return value.
This small patch solved it for me.
The text was updated successfully, but these errors were encountered: