bpo-15999: Accept arbitrary values for boolean parameters. (#15609)
builtins and extension module functions and methods that expect boolean values for parameters now accept any Python object rather than just a bool or int type. This is more consistent with how native Python code itself behaves.
S
Serhiy Storchaka committed
a87c46eab3c306b1c5b8a072b7b30ac2c50651c0
Parent: c68573b
Committed by GitHub <noreply@github.com>
on 12/3/2022, 7:52:21 PM