This issue tracker has been migrated to GitHub, and is currently read-only.
For more information, see the GitHub FAQs in the Python's Developer Guide.

Author miscjunk
Recipients miscjunk
Date 2013-06-25.22:11:04
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <1372198264.59.0.446980060787.issue18303@psf.upfronthosting.co.za>
In-reply-to
Content
numpy.ndarray is also not serializable by json.dumps()

import numpy as np
import json

a = np.array([1,2,3,4])
json.dumps(a) #crash
json.dumps(a[0]) #this works!
History
Date User Action Args
2013-06-25 22:11:04miscjunksetrecipients: + miscjunk
2013-06-25 22:11:04miscjunksetmessageid: <1372198264.59.0.446980060787.issue18303@psf.upfronthosting.co.za>
2013-06-25 22:11:04miscjunklinkissue18303 messages
2013-06-25 22:11:04miscjunkcreate