##// END OF EJS Templates
handle simple closures in pickleutil...
handle simple closures in pickleutil It turns out this is pretty straightforward. I'm sure there are plenty of cases where dill / cloud pickle are going to be desirable, but Python 3 makes trivial closures a lot more likely, and this handles those cases easily enough.

File last commit:

r13347:54891794
r16506:e56ff8b2
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 *