Author ammar2
Recipients Gabriele Tornetta, ammar2
Date 2020-01-31.10:46:09
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <>
Take a look at

What's happening is that because `a |= x` is treated as an assignment, i.e `a = a | x`. The compiler treats it as a local variable, but since it hasn't been initialized in inner() before it reaches `a |= set(["A"])` it fails with UnboundLocalError.
Date User Action Args
2020-01-31 10:46:09ammar2setrecipients: + ammar2, Gabriele Tornetta
2020-01-31 10:46:09ammar2setmessageid: <>
2020-01-31 10:46:09ammar2linkissue39506 messages
2020-01-31 10:46:09ammar2create