##// END OF EJS Templates
Backport PR #10030: Fix running %run -d twice...
Backport PR #10030: Fix running %run -d twice I suspect this is a bug in pdb; I'll try to get it fixed there too, but deleting `deb.curframe` seems to work around the issue. Closes 10028 . Signed-off-by: Thomas Kluyver <thomas@kluyver.me.uk>

File last commit:

r13347:54891794
r23148:73bd84e4
Show More
tokenize2.py
9 lines | 160 B | text/x-python | PythonLexer
"""Load our patched versions of tokenize.
"""
import sys
if sys.version_info[0] >= 3:
from ._tokenize_py3 import *
else:
from ._tokenize_py2 import *