Bob Ippolito <b...@redivi.com> added the comment:

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.

----------

_______________________________________
Python tracker <rep...@bugs.python.org>
<https://bugs.python.org/issue29992>
_______________________________________
_______________________________________________
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com

Reply via email to