##// 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:

r11067:5076556c
r13706:e6f14d5a
Show More
nonascii2.py
4 lines | 155 B | text/x-python | PythonLexer
# coding: iso-8859-5
# (Unlikely to be the default encoding for most testers.)
# БЖџрстуфхцчшщъыьэюя <- Cyrillic characters
'Ўт№Ф'