commit | ac5bbd43bc7b769c13ae0412cb28a3521f4d4ff1 | [log] [tgz] |
---|---|---|
author | Serhiy Storchaka <storchaka@gmail.com> | Sun May 28 15:31:49 2017 +0300 |
committer | GitHub <noreply@github.com> | Sun May 28 15:31:49 2017 +0300 |
tree | 7f75690d054fb8619b9ac33ad7dcae989617c4fd | |
parent | 4a8bcdf79cdb3684743fe1268de62ee88bada439 [diff] |
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.