Change by Tony Hirst :
--
components: Library (Lib)
nosy: Tony Hirst
priority: normal
severity: normal
status: open
title: json serialiser errors with numpy int64
versions: Python 3.7
___
Python tracker
<https://bugs.python.org/issue39
New submission from Tony Hirst :
import json
import numpy as np
json.dumps( {'int64': np.int64(1)})
TypeError: Object of type int64 is not JSON serializable
---
TypeError
Tony Hirst added the comment:
Apols - this is probably strictly a numpy issue.
See: https://github.com/numpy/numpy/issues/12481
--
___
Python tracker
<https://bugs.python.org/issue39
Tony Hirst added the comment:
Previously posted issue: https://bugs.python.org/issue22107
--
___
Python tracker
<https://bugs.python.org/issue39258>
___
___
Tony Hirst added the comment:
Argh: previous was incorrect associated issue: correct issue:
https://bugs.python.org/issue24313
--
___
Python tracker
<https://bugs.python.org/issue39