Feature or enhancement
Proposal:
In PyObject_RichCompareBool there is a fast path for the common case where PyObject_RichCompare returns a bool. In that path there is no need to decref the result, since bool values are immortal.
Has this already been discussed elsewhere?
No response given
Links to previous discussion of this feature:
No response
Linked PRs
Feature or enhancement
Proposal:
In
PyObject_RichCompareBoolthere is a fast path for the common case wherePyObject_RichComparereturns abool. In that path there is no need to decref the result, sinceboolvalues are immortal.Has this already been discussed elsewhere?
No response given
Links to previous discussion of this feature:
No response
Linked PRs