New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Deprecating automatic variable transfer #253
Comments
I think it is good idea to make the transfer explicit. It's not lots of typing and it would be nice to explicitly declare all global variables. |
It is ok to remove auto transfer, but do you like the %global magic? Is this a good name? |
I think it is a good name; otherwise |
It is a bit awkward to remove a feature that I have been introducing in my talks, but I think explicit is better than implicit, especially because we are in Python camp. Note that the implicit stuff was inspired by Beaker Notebooks, and it is the only method there. |
However, the
if will be a double in R, and if we switch back then |
Basically if the users only defines |
We currently have a feature that variables with names starting with
sos
are transferred implicitly.This looks like a decent feature but it comes at a cost that all languages need to check if there are variables with names starting with
sos
, each time when a kernel switch happens. This can be a performance issue, and it makes it a bit difficult to implement language modules since not all languages can check variables easily.I am wondering if we can disable this feature, and/or replace it with something like
to have explicit specification of "cross kernel" variables.
The text was updated successfully, but these errors were encountered: