Sublime Forum

SublimeREPL Console

#1

If I open a SublimeRepl: Python - Sublime Text Console I do not have the same modules loaded as when I open a native Sublime Console.

SublimeRepl: Python - Sublime Text Console

>>> dir()
'__builtins__', '__doc__', '__name__', '__package__']

Native Sublime Console

>>> dir()
'__builtins__', '__doc__', '__loader__', '__name__', '__package__', 'sublime', 'view', 'window']

I have both ST2 & ST3 installed and have the same behavior in both.
I’m presuming that this is not expected behavior since the modules ‘sublime’, ‘view’ and ‘window’ are missing.

Can anyone else confirm this?

Thanks

0 Likes

#2

I can. Fixed in 2.0.7.
At least as much as it can be, considering that SublimeREPL’s tab will be the active view almost all the time.

Also, next time try to open a github issue instead of a forum topic, It’s easier for me to track :smile:

0 Likes

#3

Thanks

next time an issue will be coming your way :wink:

0 Likes