##// END OF EJS Templates
Merge pull request #4412 from jdfreder/traitlet_notify_fix...
Merge pull request #4412 from jdfreder/traitlet_notify_fix Fix traitlet _notify_trait by-ref issue This fixes a problem with the existing traitlet machinery, where anytrait values get added to the notifiers list every time the _notify_trait function is called. The bug is that each time the traitlet changes, the anytrait callbacks will each be called N times, where N is the number of times the traitlet has been changed (in the current application instance).

File last commit:

r10110:30fce8a6
r13151:4788e78a merge
Show More
tokenize2.py
9 lines | 158 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 *