We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 9f9c5b8 commit 562aeddCopy full SHA for 562aedd
mathics/core/definitions.py
@@ -169,7 +169,13 @@ def __init__(
169
if name.startswith("Global`"):
170
raise ValueError("autoload defined %s." % name)
171
172
- self.builtin.update(self.user)
+ # Move symbols defined in autoload modules
173
+ # to Builtin definitions.
174
+ # This seems important for Export and Import...
175
+ # TODO: check why
176
+ for name in self.user:
177
+ self.builtin[name] = self.get_definition(name)
178
+
179
self.user = {}
180
self.clear_cache()
181
0 commit comments