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
_compat.py Use feature detection instead of version detection (#139)
* _compat.py Use feature detection instead of version detection
https://docs.python.org/3/howto/pyporting.html#use-feature-detection-instead-of-version-detection
On `encodings`, given the `return` statement, all other _falsey_ values are just as dangerous as `None`.
* Treat FileNotFoundError as a builtin
* Treat FileNotFoundError as a builtin
* FileNotFoundError = FileNotFoundError
* except _compat.FileNotFoundError:
0 commit comments