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

r7542:39d2bbd9
r13706:e6f14d5a
Show More
__init__.py
18 lines | 664 B | text/x-python | PythonLexer
# encoding: utf-8
__docformat__ = "restructuredtext en"
#-------------------------------------------------------------------------------
# Copyright (C) 2008 The IPython Development Team
#
# Distributed under the terms of the BSD License. The full license is in
# the file COPYING, distributed as part of this software.
#-------------------------------------------------------------------------------
#-------------------------------------------------------------------------------
# Imports
#-------------------------------------------------------------------------------
from .application import *
from .configurable import *
from .loader import Config