Message159596
| Author |
Jakob.Simon-Gaarde |
| Recipients |
Jakob.Simon-Gaarde |
| Date |
2012年04月29日.10:34:25 |
| SpamBayes Score |
-1.0 |
| Marked as misclassified |
Yes |
| Message-id |
<1335695665.87.0.370023915793.issue14692@psf.upfronthosting.co.za> |
| In-reply-to |
| Content |
Hi
It seems like the parse_constant keyword parameter for registering a callback function is no longer called in Python 2.7.
http://docs.python.org/library/json.html#json.load
I am using Python 2.7.3 on Ubuntu 12.04
I have created and attached a script that shows the problem.
Output in Python 2.6:
Met an int!
Met a constant!
{u'a': None, u'b': None}
Output in Python 2.7:
Met an int!
{u'a': None, u'b': False}
So parse_int callback still works btw.
Best Regards Jakob Simon-Gaarde |
|
History
|
|---|
| Date |
User |
Action |
Args |
| 2012年04月29日 10:34:25 | Jakob.Simon-Gaarde | set | recipients:
+ Jakob.Simon-Gaarde |
| 2012年04月29日 10:34:25 | Jakob.Simon-Gaarde | set | messageid: <1335695665.87.0.370023915793.issue14692@psf.upfronthosting.co.za> |
| 2012年04月29日 10:34:25 | Jakob.Simon-Gaarde | link | issue14692 messages |
| 2012年04月29日 10:34:25 | Jakob.Simon-Gaarde | create |
|