Hacker News
new
|
past
|
comments
|
ask
|
show
|
jobs
|
submit
login
udp
on Dec 28, 2012
|
parent
|
context
|
favorite
| on:
Json ⊄ js
If Python's JSON library accepts Infinity by default, that's a bug and should be reported.
JulianWasTaken
on Dec 28, 2012
|
next
[–]
It isn't. It's documented behavior. See
http://docs.python.org/2/library/json.html
. (simple)JSON deviates from the spec in a few minor ways.
andrewcooke
on Dec 28, 2012
|
parent
|
next
[–]
more exactly, it's an option you can disable.
enaeseth
on Dec 28, 2012
|
prev
[–]
You can try to report it as a bug, but the docs indicate that this is by design.
Consider applying for YC's Fall 2025 batch! Applications are open till Aug 4
Guidelines
|
FAQ
|
Lists
|
API
|
Security
|
Legal
|
Apply to YC
|
Contact
Search: