Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Commit 94e7434

Browse files
committed
5.0 is "a few releases" from 0.11, we can probably remove __IPYHTON__active
1 parent 919ab3e commit 94e7434

1 file changed

Lines changed: 0 additions & 8 deletions

File tree

IPython/core/interactiveshell.py

Lines changed: 0 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -643,14 +643,6 @@ def init_builtins(self):
643643
# IPython at a time.
644644
builtin_mod.__dict__['__IPYTHON__'] = True
645645

646-
# In 0.11 we introduced '__IPYTHON__active' as an integer we'd try to
647-
# manage on enter/exit, but with all our shells it's virtually
648-
# impossible to get all the cases right. We're leaving the name in for
649-
# those who adapted their codes to check for this flag, but will
650-
# eventually remove it after a few more releases.
651-
builtin_mod.__dict__['__IPYTHON__active'] = \
652-
'Deprecated, check for __IPYTHON__'
653-
654646
self.builtin_trap = BuiltinTrap(shell=self)
655647

656648
def init_inspector(self):

0 commit comments

Comments
 (0)