[issue24313] json fails to serialise numpy.int64

2016-01-04 Thread Thomas Arildsen
Thomas Arildsen added the comment: Thanks for the clarification. -- versions: -Python 3.6 ___ Python tracker <http://bugs.python.org/issue24313> ___ ___ Pytho

[issue24313] json fails to serialise numpy.int64

2016-01-04 Thread Thomas Arildsen
Thomas Arildsen added the comment: Is there any possibility that json could implement special handling of NumPy types? This "lack of a feature" seems to have propagated back into Python 2.7 now in some recent update... -- ___ Python trac

[issue24313] json fails to serialise numpy.int64

2015-05-28 Thread Thomas Arildsen
New submission from Thomas Arildsen: When I run the attached example in Python 2.7.9, it succeeds. In Python 3.4, it fails as shown below. I use json 2.0.9 and numpy 1.9.2 with both versions of Python. Python and all packages provided by Anaconda 2.2.0. The error seems to be caused by the