Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]
Groups > comp.lang.python > #109063
| From | "thomas povtal.org" <thomas@povtal.org> |
|---|---|
| Newsgroups | comp.lang.python |
| Subject | Re: Spurious issue in CPython 2.7.5 |
| Date | 2016-05-24 17:20 +0200 |
| Message-ID | <mailman.58.1464103261.20402.python-list@python.org> (permalink) |
| References | <779717266.18172.1464085350716.JavaMail.open-xchange@ox.netsite.dk> <mailman.52.1464090460.20402.python-list@python.org> <22d5183b-e1af-4b31-8eea-ea5634c50c60@googlegroups.com> <982441179.18828.1464103253998.JavaMail.open-xchange@ox.netsite.dk> |
Hi!
Thanks! That was a typo. I do '=='.
The rest of the mail is ok (with the corrections from Chris)
:) T
Den 24. maj 2016 klokken 17:05 skrev Novocastrian_Nomad
<gregory.j.baker@gmail.com>:
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
Back to comp.lang.python | Previous | Next — Previous in thread | Next in thread | Find similar | Unroll thread
Spurious issue in CPython 2.7.5 "thomas povtal.org" <thomas@povtal.org> - 2016-05-24 12:22 +0200
Re: Spurious issue in CPython 2.7.5 Novocastrian_Nomad <gregory.j.baker@gmail.com> - 2016-05-24 08:05 -0700
Re: Spurious issue in CPython 2.7.5 "thomas povtal.org" <thomas@povtal.org> - 2016-05-24 17:20 +0200
Re: Spurious issue in CPython 2.7.5 Steven D'Aprano <steve@pearwood.info> - 2016-05-25 03:12 +1000
Re: Spurious issue in CPython 2.7.5 Chris Angelico <rosuav@gmail.com> - 2016-05-25 03:23 +1000
Re: Spurious issue in CPython 2.7.5 "thomas povtal.org" <thomas@povtal.org> - 2016-05-25 14:04 +0200
Re: Spurious issue in CPython 2.7.5 Tim Golden <mail@timgolden.me.uk> - 2016-05-25 13:13 +0100
Re: Spurious issue in CPython 2.7.5 "thomas povtal.org" <thomas@povtal.org> - 2016-05-25 14:26 +0200
csiph-web