srna_from_self had logic to replace the exception unless there was already an exception set. This logic isn't needed, except in some disabled code which has been updated. If srna_from_self ran with an exception set it would leak memory in Python 3.12.