Skip to content

Conversation

@mmatera
Copy link
Contributor

@mmatera mmatera commented Aug 24, 2025

This fixes #1481. With this changes:

In[1]:= $TraceBuiltins=False
Out[1]= False

In[2]:= $TraceBuiltins
Out[2]= False

In[3]:= $TraceBuiltins=True
Out[3]= True

In[4]:= $TraceBuiltins
Out[4]= True

In[5]:= $TraceBuiltins=True;$TraceBuiltins=True;$TraceBuiltins=False;ClearTrace[];PrintTrace[]
count     ms Builtin name

In[6]:= 

@rocky
Copy link
Member

rocky commented Aug 24, 2025

LGTM.

With this, are we ready for release?

@mmatera There are some small documentation changes, and I would like to go over the entire mathics.pdf, but other than that and release notes, these are all the changes I envision. And you?

@mmatera
Copy link
Contributor Author

mmatera commented Aug 24, 2025

I think so. There is just another thing I would like to include on this, and is to replace this print() to show the PrintTrace[] results, by a proper (WL) Print.

@mmatera mmatera merged commit 28dd3df into master Aug 24, 2025
13 checks passed
@mmatera mmatera deleted the fix_tracebuiltins branch August 24, 2025 23:13
Sign up for free to 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.

$TraceBuiltins=False does not work after more than one $TraceBuiltins=True uses.

3 participants