| FazBrowse GitHub Viewer | Trending | | Home |
| Tools: [Download Repo ZIP] [Original HTTPS Page] |
| } | ||
|
|
||
|
|
||
| def _get_default_compiler(): |
There was a problem hiding this comment.
Minimalized ported version from
cpython/Lib/distutils/ccompiler.py
Lines 937 to 956 in f4c0348
Sorry, something went wrong.
There was a problem hiding this comment.
It may be worth having a short comment indicating this was derived from the distutils code.
Sorry, something went wrong.
|
|
||
|
|
||
| def _get_default_compiler(): | ||
| if re.match('cygwin.*', sys.platform) is not None: |
There was a problem hiding this comment.
You can just remove cygwin as it is unsupported.
Sorry, something went wrong.
There was a problem hiding this comment.
Are you sure?
Sorry, something went wrong.
There was a problem hiding this comment.
We have a bunch of Cygwin-related codes (__CYGWIN__) in CPython code base, Did we decide to remove them?
Even if PEP 11 defined tier-based platforms, I don't interpret them as removing all unsupported platform codes.
Sorry, something went wrong.
There was a problem hiding this comment.
Cygwin is certainly still alive to some extent, so I'd say let's not worry about that in the PR.
Sorry, something went wrong.
There was a problem hiding this comment.
If you remove cygwin branch, it will fallback to unix which is better than special casing it but it's minor and you can ignore this too.
Sorry, something went wrong.
There was a problem hiding this comment.
If you remove cygwin branch, it will fallback to unix which is better than special casing it but it's minor and you can ignore this too.
It's care about Windows/Cygwin case, see: https://docs.python.org/3/library/sys.html.
It can be gone to the wrong fallback logic.
Sorry, something went wrong.
There was a problem hiding this comment.
LGTM
Sorry, something went wrong.
| Back | FazBrowse Home | New Git URL |
Uh oh!
There was an error while loading. Please reload this page.
Sorry, something went wrong.
Uh oh!
There was an error while loading. Please reload this page.