Issue 5584: json.loads(u'3.14') fails unexpectedly (minor scanner bug) (original) (raw)
Issue5584
Created on 2009-03-28 05:53 by bob.ippolito, last changed 2022-04-11 14:56 by admin. This issue is now closed.
Messages (4) | ||
---|---|---|
msg84299 - (view) | Author: Bob Ippolito (bob.ippolito) * ![]() |
Date: 2009-03-28 05:53 |
http://code.google.com/p/simplejson/issues/detail?id=43 Need a <= where there's a < in the unicode float scanner. problem only exists when decoding a unicode float that is not in any sort of container (e.g. array or object). | ||
msg84440 - (view) | Author: Bob Ippolito (bob.ippolito) * ![]() |
Date: 2009-03-29 22:35 |
trunk fix for 2.7 is in r70702 -- unsure about how to port this to 3.1 | ||
msg99808 - (view) | Author: Joel Pearson (joel.pearson) | Date: 2010-02-22 18:39 |
The fix for this bug was included in r72194. I verified that the fix is included in trunk, the release31-maint branch, and the py3k branch. I also verified that json.loads(u'3.14') works in 2.7a3, and that json.loads('3.14') works in 3.1.1, so I believe that this bug can be closed. | ||
msg99830 - (view) | Author: Ezio Melotti (ezio.melotti) * ![]() |
Date: 2010-02-22 20:55 |
I tried json.loads(u'3.14') on trunk and release26-maint and it worked fine, on py3k and release31-maint json.loads('3.14') works too, so I'm closing this issue. |
History | |||
---|---|---|---|
Date | User | Action | Args |
2022-04-11 14:56:47 | admin | set | github: 49834 |
2010-02-22 20:55:39 | ezio.melotti | set | status: open -> closednosy: + ezio.melottimessages: + resolution: accepted -> out of datestage: needs patch -> resolved |
2010-02-22 18:39:09 | joel.pearson | set | nosy: + joel.pearsonmessages: + |
2009-04-22 12:46:23 | ajaksu2 | set | priority: highversions: - Python 2.7 |
2009-03-29 22:35:23 | bob.ippolito | set | messages: + |
2009-03-29 21:46:40 | bob.ippolito | set | resolution: accepted |
2009-03-28 05:54:01 | bob.ippolito | set | components: + Library (Lib) |
2009-03-28 05:53:33 | bob.ippolito | create |