Ronald Oussoren added the comment: I agree that there's probably no good solution here.
Catching TypeError would require emitting a lot more byte code, and would change the semantics of augmented assignment, in particular it wouldn't really be an assignment statement anymore (and hides some flow control). ---------- _______________________________________ Python tracker <rep...@bugs.python.org> <http://bugs.python.org/issue17973> _______________________________________ _______________________________________________ Python-bugs-list mailing list Unsubscribe: http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com