-
-
Notifications
You must be signed in to change notification settings - Fork 482
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Trac #31292: sage.features.Executable: Add method absolute_filename
We refactor `Executable` and `StaticFile` through a base class `FileFeature`. The method `absolute_filename` replaces `StaticFile.absolute_path` and is now also available for `Executable`. (This is for #33440/#31296/#30818.) The renaming from `StaticFile.absolute_path` to `absolute_filename` (with deprecation) is preparation for reclaiming the name `absolute_path` for a method that returns a `Path` instead of a `str`. We also add some type annotations. Follow-up: #31296 URL: https://trac.sagemath.org/31292 Reported by: mkoeppe Ticket author(s): Matthias Koeppe Reviewer(s): Tobias Diez
- Loading branch information
Showing
5 changed files
with
137 additions
and
29 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters