Message292124
> I am surprised that dumping to a string and to a file give different answers.
This is a difference between Python and C implementations.
An iterable with fake __len__ looks breaking the invariants, but if a collection with overridden __bool__() is considered as more legitimate, the proposed patch fixes Python implementation of json for that case. |
|
Date |
User |
Action |
Args |
2017-04-22 16:20:42 | serhiy.storchaka | set | recipients:
+ serhiy.storchaka, rhettinger, terry.reedy, bob.ippolito, ezio.melotti, r.david.murray, SilentGhost, altvod |
2017-04-22 16:20:42 | serhiy.storchaka | set | messageid: <1492878042.0.0.601625485964.issue27613@psf.upfronthosting.co.za> |
2017-04-22 16:20:41 | serhiy.storchaka | link | issue27613 messages |
2017-04-22 16:20:41 | serhiy.storchaka | create | |
|