See `PyTraceback` type. It is writable at lease since Python 3.10 (I didn't track it down if it is changed or not) #3862 requires this feature