Fix warn_invalid_escape_sequence()
Issue #28691: Fix warn_invalid_escape_sequence(): handle correctly DeprecationWarning raised as an exception. First clear the current exception to replace the DeprecationWarning exception with a SyntaxError exception. Unit test written by Serhiy Storchaka.
V
Victor Stinner committed
f9cca365c72eaa932f1bee6407fbbbc3b4ed96f0
Parent: de40e12