Bug introduced in 10.0.1 and fixed in 10.0.2
In Mathematica 10, the documentation still states that a symbol with attribute Temporary
will automatically be removed when it is no longer needed. Now consider
Module[{a}, Information[a]]
=> (* Global\`a$105933 Attributes[a$105933]={Temporary} *)
This a$
variable is not exported from the Module
and therefore not needed any more. However, in Mathematica 10 it is not removed:
Names["Global`a$*"]
=> (* {a$105933} *)
This looks like a minor bug to me.
Ìnformation
only (?). If you try the example given in the Doc for Temporary, i.e :Module[{b}, Print[b]; Attributes[b]]
, andNames["Global
b$*"], the symbol
b` was removed ... $\endgroup$a$
, in mineb$
. This is true for v9 or v10 ! (This is related to the already reported "Suggestion Bar bug"). $\endgroup$