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 <>
It seems like the parse_constant keyword parameter for registering a callback function is no longer called in Python 2.7.

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
Date User Action Args
2012-04-29 10:34:25Jakob.Simon-Gaardesetrecipients: + Jakob.Simon-Gaarde
2012-04-29 10:34:25Jakob.Simon-Gaardesetmessageid: <>
2012-04-29 10:34:25Jakob.Simon-Gaardelinkissue14692 messages
2012-04-29 10:34:25Jakob.Simon-Gaardecreate