Message171409
FWIW, I think Mark's right here. I'm +1 on the implementations being consistent.
Seems like a potentially nasty surprise if you move from one implementation to the other and, lacking awareness of this quirk, design your algorithm around semantics. I think this was Mark's original point.
If the json API doesn't care how the type check is performed, then we get a (probably very small :)) win from the type(o) in (list, tuple) for the Python impl in addition to bringing consistency to the two implementations. |
|
Date |
User |
Action |
Args |
2012-09-28 06:59:55 | thomaslee | set | recipients:
+ thomaslee, pitrou, ezio.melotti, cvrebert, socketpair, alexey-smirnov |
2012-09-28 06:59:55 | thomaslee | set | messageid: <1348815595.44.0.174135728914.issue14886@psf.upfronthosting.co.za> |
2012-09-28 06:59:54 | thomaslee | link | issue14886 messages |
2012-09-28 06:59:54 | thomaslee | create | |
|