This issue tracker has been migrated to GitHub, and is currently read-only.
For more information, see the GitHub FAQs in the Python's Developer Guide.

Author bob.ippolito
Recipients Adrián Orive, Levi Cameron, bob.ippolito, ezio.melotti, oberstet, rhettinger, serhiy.storchaka
Date 2018-01-11.18:21:12
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <1515694872.81.0.467229070634.issue29992@psf.upfronthosting.co.za>
In-reply-to
Content
Generally speaking, parsing some things as decimal or datetime are schema dependent. It's unlikely that you would want to parse every string that looks enough like a decimal as a decimal, or that you would want to pay the cost of checking every string in the whole document to see if it's a decimal. This use case is probably better served using something like object_pairs_hook where you have some context available.

Ultimate flexibility is not the goal of this interface. It's grown a bit too much of that over time. At this point I'm a lot more interested in proposals that remove options rather than add them.

In order to provide maximal flexibility it would be much nicer to have a streaming interface available (like SAX for XML parsing), but that is not what this is.
History
Date User Action Args
2018-01-11 18:21:12bob.ippolitosetrecipients: + bob.ippolito, rhettinger, ezio.melotti, oberstet, serhiy.storchaka, Levi Cameron, Adrián Orive
2018-01-11 18:21:12bob.ippolitosetmessageid: <1515694872.81.0.467229070634.issue29992@psf.upfronthosting.co.za>
2018-01-11 18:21:12bob.ippolitolinkissue29992 messages
2018-01-11 18:21:12bob.ippolitocreate