Message320570
| Author | Vayel |
|---|---|
| Recipients | Vayel |
| Date | 2018-06-27.10:26:14 |
| SpamBayes Score | -1.0 |
| Marked as misclassified | Yes |
| Message-id | <1530095174.89.0.56676864532.issue33979@psf.upfronthosting.co.za> |
| In-reply-to |
| Content | |
|---|---|
When we call `json.dumps` on a non JSON serializable object, we obtain an error: ``` TypeError: 4 is not JSON serializable ``` Here, 4 was actually a `numpy.int64` object and not a native int. But it is not explicit in the error message. We should mention the type of the object as well: ``` TypeError: 4 of type numpy.int64 is not JSON serializable ``` |
|
| History | |||
|---|---|---|---|
| Date | User | Action | Args |
| 2018-06-27 10:26:14 | Vayel | set | recipients: + Vayel |
| 2018-06-27 10:26:14 | Vayel | set | messageid: <1530095174.89.0.56676864532.issue33979@psf.upfronthosting.co.za> |
| 2018-06-27 10:26:14 | Vayel | link | issue33979 messages |
| 2018-06-27 10:26:14 | Vayel | create | |