-
-
Notifications
You must be signed in to change notification settings - Fork 482
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
Prepare use of sage.all in sage.structure.factory.lookup_global for modularized distributions #32586
Comments
comment:1
It looks to me you need here the "sage global namespace". In a situation where sagelib is really just purely a python package, there is no such thing. So this code would need to be disabled in that case. Alternatively, you build something that acts as a substitute for the "sage global namespace". Candidates: Quite frankly, in a modularized setup, pickles will be disastrous anyway, since this Have we found a cycle in the dependency graph that makes sagelib monolithic yet? |
comment:2
Replying to @nbruin:
Well, the idea would be that unpickling can lead to an error. We already have good infrastructure ( |
comment:3
Replying to @nbruin:
Lots! And fixed many of them already back last year in the 9.2 development cycle. See #29869, #29873, #29892, #29883, #16351, #29881, #29880, #29916, #29922 The dependencies can exist on 3 levels: Compile time, module-import time, run time. Cycles can arise at module-import time and run time. In #29865 I have two subset distributions, In #32432 I'm prototyping another subset distribution, |
comment:4
Replying to @nbruin:
Thanks for the explanation, yes, I agree. So it should really be In |
This function is problematic when
sage.all
is not available (in modularized subset distributions):CC: @kliem
Component: pickling
Issue created by migration from https://trac.sagemath.org/ticket/32586
The text was updated successfully, but these errors were encountered: