bpo-15999: Clean up of handling boolean arguments. by serhiy-storchaka · Pull Request #15610 · python/cpython
* Use the 'p' format unit instead of manually called PyObject_IsTrue(). * Pass boolean value instead 0/1 integers to functions that needs boolean. * Convert some arguments to boolean only once.
lisroach pushed a commit to lisroach/cpython that referenced this pull request
Sep 10, 2019DinoV pushed a commit to DinoV/cpython that referenced this pull request
Jan 14, 2020websurfer5 pushed a commit to websurfer5/cpython that referenced this pull request
Jul 20, 2020This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters. Learn more about bidirectional Unicode characters