[Python-Dev] Dead code in json/encoder?

anatoly techtonik techtonik at gmail.com
Fri Mar 21 03:35:14 CET 2014


It looks like _one_shot parameter is always called with True argument
and unused. What is the purpose of it?

https://github.com/python/cpython/blob/de1b33f6e6071816a1fc52cd5f0c6cd47d704251/Lib/json/encoder.py#L239-L249

-- 
anatoly t.


More information about the Python-Dev mailing list