Message 80906 - Python tracker (original) (raw)
Fair enough - but assertions are still disabled while your "reference count" is >0, which is still while other arbitrary code is running. While I agree this is an improvement, I'm afraid I'm not playing close enough attention to understand why your patch is better than, eg, simply disabling such assertions globally during the test run. Given the patch in , this could be implemented in far less lines of code - certainly less intrusive lines. Would this not achieve the same result?