PYTHON_MODE in __all__ in

In Ray 1.1.0 (and according to some other sources other versions as well), PYTHON_MODE is in the variable all defined in but PYTHON_MODE is not defined anywhere else in Ray. Therefore, if you say “from ray import *” from some other Python file (which uses all to get the list of names to import) then you get an AttributeError.

Thanks, do you mind filling an issue about this on github? this sounds like an oversight since we typically don’t use that pattern for importing ray. :stuck_out_tongue:

Made it easy on you and just made a PR.