Message142360
I think this is because dumps() uses the C encoder. Making the C encoder incremental (i.e. iterator-based) like the Python encoder would solve this.
I actually looked into doing this for issue #12134, but it didn't seem so simple; Since C has no yield, I think the iterator would need to maintain its own stack to keep track of where it is in the object tree it's encoding...
If there is interest though, I may be able to write a patch when I have some time off again... |
|
Date |
User |
Action |
Args |
2011-08-18 16:35:02 | poq | set | recipients:
+ poq, rhettinger, pitrou, ezio.melotti |
2011-08-18 16:35:01 | poq | set | messageid: <1313685301.93.0.0781202777777.issue12778@psf.upfronthosting.co.za> |
2011-08-18 16:35:01 | poq | link | issue12778 messages |
2011-08-18 16:35:01 | poq | create | |
|