Message215105
| Author |
cvrebert |
| Recipients |
cvrebert, docs@python |
| Date |
2014年03月29日.02:02:11 |
| SpamBayes Score |
-1.0 |
| Marked as misclassified |
Yes |
| Message-id |
<1396058532.4.0.747084200104.issue21092@psf.upfronthosting.co.za> |
| In-reply-to |
| Content |
Python 3.3.4 (default, Feb 21 2014, 18:00:34)
[GCC 4.2.1 Compatible Apple LLVM 5.0 (clang-500.2.79)] on darwin
Type "help", "copyright", "credits" or "license" for more information.
>>> from json import dumps
>>> dumps({True: True, False: False, None: None, 42: 42})
'{"false": false, "true": true, "42": 42, "null": null}'
>>>
This implicit stringification of non-string dictionary keys does not currently appear to be documented. |
|
History
|
|---|
| Date |
User |
Action |
Args |
| 2014年03月29日 02:02:12 | cvrebert | set | recipients:
+ cvrebert, docs@python |
| 2014年03月29日 02:02:12 | cvrebert | set | messageid: <1396058532.4.0.747084200104.issue21092@psf.upfronthosting.co.za> |
| 2014年03月29日 02:02:12 | cvrebert | link | issue21092 messages |
| 2014年03月29日 02:02:11 | cvrebert | create |
|