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 pitrou
Recipients ezio.melotti, pitrou, poq, python-dev, rhettinger
Date 2011-08-19.18:28:30
SpamBayes Score 0.004708709
Marked as misclassified No
Message-id <1313778377.3549.12.camel@localhost.localdomain>
In-reply-to <1313777658.11.0.0279691971926.issue12778@psf.upfronthosting.co.za>
Content
> > It would just need to call a given callable (fp.write) at regular
> intervals and that would be enough to C-accelerate dump().
> 
> True, but that would just special case dump(), just like dumps() is
> special-cased now. Ideally JSONEncoder.iterencode() would be
> accelerated, so you wouldn't need any special cases. Or deprecate
> iterencode() and replace it with a callback interface...

Is iterencode() used much? I would think dump() and dumps() see the most
use.
History
Date User Action Args
2011-08-19 18:28:31pitrousetrecipients: + pitrou, rhettinger, ezio.melotti, python-dev, poq
2011-08-19 18:28:30pitroulinkissue12778 messages
2011-08-19 18:28:30pitroucreate