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:25Jakob.Simon-Gaardesetrecipients: + Jakob.Simon-Gaarde
2012-04-29 10:34:25Jakob.Simon-Gaardesetmessageid: <1335695665.87.0.370023915793.issue14692@psf.upfronthosting.co.za>
2012-04-29 10:34:25Jakob.Simon-Gaardelinkissue14692 messages
2012-04-29 10:34:25Jakob.Simon-Gaardecreate