-
-
Notifications
You must be signed in to change notification settings - Fork 532
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
Store lazy import caches in .sage/cache/ rather than in .sage #12670
Comments
(Sage library) |
comment:1
Attachment: trac_12670-lazy-cache.patch.gz |
comment:2
Hi John, I noticed the same for me. Thanks for tacking care of that. By the way, in my Florent |
comment:3
Hi Florent, My files are only 6 bytes long, too. I don't know anything about the actual code involved in the caches, so I don't know if they're working. (I think they may be the first step toward something more significant, but I'm not sure.) In any case, it's certainly ridiculous to have files with ugly names over 80 characters long, especially if they only contain 6 bytes, stored in a semi-public place. |
comment:4
Sure ! I'm reviewing your code and ask for those file on sage-devel. Right no I think it is ready to go I just want to wait the results of the tests. Florent |
Reviewer: Florent Hivert |
comment:5
The only calls to |
comment:6
The test passes and the code looks good so I'm ok to set the positive review. However, something else has to be done: either to expand the cases where the cache is used or simply to remove it at all. In the mean time I feel that the patch here should enter sage. |
Merged: sage-5.0.beta10 |
After building and running many versions of Sage, my
.sage
directory is littered with files with names likeWe should instead store these in a subdirectory of
.sage
. The attached patch makes this change.Component: misc
Author: John Palmieri
Reviewer: Florent Hivert
Merged: sage-5.0.beta10
Issue created by migration from https://trac.sagemath.org/ticket/12670
The text was updated successfully, but these errors were encountered: