| FazBrowse GitHub Viewer | Trending | | Home |
| Tools: [Download Repo ZIP] [Original HTTPS Page] |
Sorry, something went wrong.
Check for functionality via imports rather than checking sys.platform specifically for Windows
There was a problem hiding this comment.
LGTM.
Sorry, something went wrong.
| try: | ||
| import msvcrt | ||
| import _winapi | ||
| _mswindows = True |
There was a problem hiding this comment.
Shouldn't this be in the "else" block?
Sorry, something went wrong.
There was a problem hiding this comment.
The _mswindows = True? sure, it could be. But it doesn't matter.
Sorry, something went wrong.
| Back | FazBrowse Home | New Git URL |
Check for functionality via imports rather than checking sys.platform
specifically for Windows
https://bugs.python.org/issue8110