Skip to content

decoupling from mathics.builtin.builtins - #1155

Closed
mmatera wants to merge 6 commits into
mathics:masterfrom
mmatera:informationfix
Closed

decoupling from mathics.builtin.builtins#1155
mmatera wants to merge 6 commits into
mathics:masterfrom
mmatera:informationfix

Conversation

@mmatera

Copy link
Copy Markdown
Contributor

This PR has the aim of continuing to remove hard-linked objects in the mathics core. In particular, this removes mathics.builtin.builtins
This dictionary was used in some formating operations, the definition of certain Test symbols, and in the doctest mechanism. The problem with this comes up when we implemented the pymathics mechanism. Then, to fulfill the functionality of true built-in symbols, the global dictionary should be modified, which also has consequences if we want to make to coexist two instances of MathicsSession objects.
In any case, with the present changes, this global object would be not necessary anymore.

Comment threadmathics/builtin/system.py Outdated
@mmaterammatera mentioned this pull request Feb 21, 2021
@mmatera

Copy link
Copy Markdown
ContributorAuthor

Already included in PR #1140

@mmaterammatera closed this Mar 4, 2021
Sign up for freeto join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants

@mmatera@rocky