##// END OF EJS Templates
re-cast int/float subclasses to int/float in json_clean...
re-cast int/float subclasses to int/float in json_clean Protects against custom `__str__` in int subclasses (e.g. enums). Works around a [bug in the stdlib](http://bugs.python.org/issue12657). closes #4598

File last commit:

r13348:e6afea51
r13706:e6f14d5a
Show More
print_argv.py
3 lines | 69 B | text/x-python | PythonLexer
from __future__ import print_function
import sys
print(sys.argv[1:])