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
Generic filename extension for shared libraries #17682
Comments
This comment has been minimized.
This comment has been minimized.
Branch: u/gouezel/dll_extension |
Commit: |
comment:3
I put the definition of the generic filename extension in sage.misc.sageinspect, since its use is relevant for introspection. Tell me if there is a better place! New commits:
|
Author: Sebastien Gouezel |
comment:6
(and myself) |
Branch pushed to git repo; I updated commit sha1. New commits:
|
comment:8
Ahem, I do not completely understand what the patch does (i'm new to sage/python); snip:
|
comment:9
Replying to @sagetrac-jakobkroeker: Short answer: the code you show is fine, no need to change anything. Long answer: shared libraries usually have the extension There is yet another difference on MacOS, where the extension for shared libraries can be |
comment:10
Replying to @sagetrac-gouezel:
It's more subtle than that. On OS X, both On Linux, this difference simply doesn't exist. |
Changed branch from u/gouezel/dll_extension to u/gouezel/dll_extension2 |
comment:12
I dislike the complete lack of documentation. Given that constants are hard to document, it's probably better to make it a function |
comment:13
Also: can you replace |
Branch pushed to git repo; I updated commit sha1. New commits:
|
comment:15
Converted |
comment:16
I think all this
can be replaced by
|
Reviewer: Jeroen Demeyer |
comment:17
Can you replace the terminology |
Branch pushed to git repo; I updated commit sha1. New commits:
|
Changed branch from u/gouezel/dll_extension2 to |
Some places in the code and some doctests assume that the filename extension for shared libraries is
.so
, while it is.dll
in cygwin. The attached patch defines once and for all the correct extension depending on the platform, and uses it where necessary.CC: @jpflori
Component: porting: Cygwin
Author: Sebastien Gouezel
Branch/Commit:
ad478d3
Reviewer: Jeroen Demeyer
Issue created by migration from https://trac.sagemath.org/ticket/17682
The text was updated successfully, but these errors were encountered: