Amaury Forgeot d'Arc added the comment: Hi, The Python bug tracker is not designed to get help. Please ask your questions on the python-list mailing list, or the comp.lang.python newsgroup.
A hint though: when there is an exception the "num = " part is not even executed, so num contains its previous value. ---------- nosy: +amaury.forgeotdarc resolution: -> invalid status: open -> closed _______________________________________ Python tracker <rep...@bugs.python.org> <http://bugs.python.org/issue17520> _______________________________________ _______________________________________________ Python-bugs-list mailing list Unsubscribe: http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com