Only avoid SetPropogatingDict in the builtin shell in Python 2
The issues with using a custom dict subclass to eval/exec are fixed in Python 3. Without this, local functions in the shell cannot access global variables (for instance, inside of list comprehensions). See the discussion on issues #166 and #103.
Loading
Please sign in to comment