[Python-checkins] [python/cpython] ac5bbd: bpo-30248: Convert boolean arguments only once in ...
GitHub
noreply at github.com
Sun May 28 08:31:50 EDT 2017
Branch: refs/heads/master
Home: https://github.com/python/cpython
Commit: ac5bbd43bc7b769c13ae0412cb28a3521f4d4ff1
https://github.com/python/cpython/commit/ac5bbd43bc7b769c13ae0412cb28a3521f4d4ff1
Author: Serhiy Storchaka <storchaka at gmail.com>
Date: 2017-05-28 (Sun, 28 May 2017)
Changed paths:
M Modules/_json.c
Log Message:
-----------
bpo-30248: Convert boolean arguments only once in _json. (#1423)
Rather than saving the Python object and calling PyObject_IsTrue()
every time when the boolean argument is used, call it only once and
save C boolean value.
More information about the Python-checkins
mailing list