New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Output dylib file hardcoded with ".so" in filename #512
Comments
What do you mean by this? Can you elaborate? |
@vheon I'm using Gentoo Prefix https://wiki.gentoo.org/wiki/Project:Prefix as my package manager on OS X, of which they decide to patch and remove support for I'm not sure about all other OS X package managers out there. Some notable examples: |
This issue should be reported to the Gentoo Prefix maintainers because I am sure that
Calling |
In https://github.com/Valloric/ycmd/blob/master/cpp/ycm/CMakeLists.txt#L426 it assumed that ".so" is always recognized as a valid Python C module extension. But it's not always the case. Some heavy patched Python installation may use other extensions as valid extension.
Not to argue whether it's right to remove ".so" as a valid C module extension, I think it should read supported extensions from
imp.get_suffixes()
.FYI here's the output on my system:
[('.so', 'rb', 3), ('module.so', 'rb', 3), ('.py', 'U', 1), ('.pyc', 'rb', 2)]
[('.bundle', 'rb', 3), ('module.bundle', 'rb', 3), ('.py', 'U', 1), ('.pyc', 'rb', 2)]
[('.cpython-35-darwin.bundle', 'rb', 3), ('.abi3.bundle', 'rb', 3), ('.bundle', 'rb', 3), ('.py', 'r', 1), ('.pyc', 'rb', 2)]
The text was updated successfully, but these errors were encountered: