Add assertion to _PyTuple_CAST(op) (GH-10712)
Add "assert(PyTuple_Check(op));" to _PyTuple_CAST() to check that the argument is a tuple object in debug mode. PyTuple_GET_SIZE() now uses _PyTuple_CAST() to get its assertion.
V
Victor Stinner committed
df108dc6610e41c54ed064a854e3903c143f0d77
Parent: c2e1607
Committed by GitHub <noreply@github.com>
on 11/26/2018, 12:37:13 PM