Open pedritomelenas opened 7 years ago
But that's the usual behavior of GAP -- I am not sure what JupyterKernel could or should do about this...
@pedritomelenas what does
Filtered(NamesGVars(), x -> not IsBoundGlobal(x));
return?
[ "CambridgeMaps", "CurrentThread", "DEFAULT_INPUT_STREAM", "DEFAULT_OUTPUT_STREAM",
"ENABLE_AUTO_RETYPING", "GET_RANDOM_SEED_COUNTER", "HELPBOOKINFOSIXTMP",
"HPCGAP", "INFODATA_DEFAULT_HANDLER", "IO_FuncToUnpickle", "IO_PkgThingsToRead",
"IsomorphismTypeInfoFiniteSimpleGroup_fun", "MANEXreadobs", "MULTI_SESSION",
"NEW_REGION", "OPERATIONS_REGION", "OnCharReadHookActive", "READ_SMALL_LIB",
"RecogsFunnyNameFormatterFunction", "RecogsFunnyWWWURLFunction", "THREAD_UI",
"ThreadLocalRecord", "_EVALSTRINGTMP", "_IO_Defines_ChangeDirectoryCurrent", "_PATH_SO",
"_RecogsFunnyNameFormatterFunction", "_RecogsFunnyWWWURLFunction", "_STANDREWS",
"_ViewStringForSemigroups", "_ViewStringForSemigroupsGroups", "__GAPZEROMQ_C", "last3", "p" ]
This is normal behaviour, not an issue with the JupyterKernel - although the output of Filtered(NamesGVars(), x -> not IsBoundGlobal(x));
may point to some "interesting" things elsewhere that might need to be removed or made write protected.
NamesUserGVars();
outputs many variables that where not "defined" by the user in the prompt. In fact the user unintentially defines them when launching the kernel.It would be nice to have these cutted down ... Thanks, Pedro