New submission from Jakob Simon-Gaarde <jako...@gmail.com>: 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 ---------- components: Extension Modules files: test_parse_constant.py messages: 159596 nosy: Jakob.Simon-Gaarde priority: normal severity: normal status: open title: json.joads parse_constant callback not working anymore type: behavior versions: Python 2.7 Added file: http://bugs.python.org/file25405/test_parse_constant.py _______________________________________ Python tracker <rep...@bugs.python.org> <http://bugs.python.org/issue14692> _______________________________________ _______________________________________________ Python-bugs-list mailing list Unsubscribe: http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com