Spurious issue in CPython 2.7.5
Novocastrian_Nomad
gregory.j.baker at gmail.com
Tue May 24 11:05:35 EDT 2016
More information about the Python-list mailing list
Tue May 24 11:05:35 EDT 2016
- Previous message (by thread): Spurious issue in CPython 2.7.5
- Next message (by thread): Spurious issue in CPython 2.7.5
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
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.
- Previous message (by thread): Spurious issue in CPython 2.7.5
- Next message (by thread): Spurious issue in CPython 2.7.5
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
More information about the Python-list mailing list