Today I tried 13.3.0 and immediately find that global name context again is not empty, i.e.

Names["Global`" <> "*"]
(*out*) {"res"}

(*out *) 13.3.0 for Linux x86 (64-bit) (June 3, 2023)

It is not a first time when this happens. See for example, here and links therein.

Since when developing package as a last line I include check if private and global symbols don't overlap

If[Names["Global`" <> "*"] =!= {}, Print["wrong"]]

this becomes a bit irritating. Can anybody confirm this is indeed the case or some catching byproduct?

  • $\begingroup$ MMA 13.3 Windows 10: Global contains: {res,"WriteStatusLine","SetNotebookStatusLine",x} $\endgroup$ Aug 29 at 13:55
  • $\begingroup$ The result on my MMA 13.3.0 Win10-64 is {"dir", "res"}. $\endgroup$
    – MarcoB
    Aug 29 at 14:40
  • $\begingroup$ I see {next}. You can always start with Remove["Global`*"] $\endgroup$
    – Bob Hanlon
    Aug 29 at 16:13
  • 1
    $\begingroup$ I also get {"res"} in version 13.3 on Windows 11. Looks like one of the devs made a small mistake. $\endgroup$ Aug 29 at 17:09
  • 1
    $\begingroup$ The diversity of responses here is certainly curious, however. $\endgroup$ Aug 29 at 17:10


Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge that you have read and understand our privacy policy and code of conduct.

Browse other questions tagged or ask your own question.