On Tuesday, May 24, 2016 at 5:47:55 AM UTC-6, thomas povtal.org wrote:
...
>    1: I get "RuntimeWarning: tp_compare didn't return -1 or -2 for
>    exception". It's a line like:
> 
>    "if Foo = False:" where Foo is a global variable (global Foo).
...

Are you really using "if Foo = False:"?
If so, it should be "if Foo == False:"
"==" for equivalence rather than "=" for assignment.
-- 
https://mail.python.org/mailman/listinfo/python-list

Reply via email to