[python/cpython] ac5bbd: bpo-30248: Convert boolean arguments only once in ...
May 28, 2017
12:31 p.m.
Branch: refs/heads/master Home: https://github.com/python/cpython Commit: ac5bbd43bc7b769c13ae0412cb28a3521f4d4ff1 https://github.com/python/cpython/commit/ac5bbd43bc7b769c13ae0412cb28a3521f4... Author: Serhiy Storchaka <storchaka@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.
3210
Age (days ago)
3210
Last active (days ago)
0 comments
1 participants
participants (1)
-
GitHub