Message 258538 - Python tracker (original) (raw)
It looks like this should be fixed in the mock module, as special casing it in inspect doesn't look right. Unfortunately, I can't review this patch, as I don't know the mock module internals and I don't think I understand all consequences of this patch.
Michael, what do you think?