SIGN IN SIGN UP

[3.13] gh-106287: Do not write objects after an unmarshalling error (GH-132715) (GH-143833)

Writing out an object may involve a slot lookup, which is not safe to do with
an exception raised. In debug mode an assertion failure will occur if this
happens.
(cherry picked from commit ce8f5f98c6fc95a1704360d986a4d0281eeada79)

Co-authored-by: Duane Griffin <duaneg@dghda.com>
M
Miss Islington (bot) committed
8c6d87693b87672eaef359dc53e01e8918d484c6
Parent: 5f7a49a
Committed by GitHub <noreply@github.com> on 1/14/2026, 11:48:52 AM