Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]
Groups > comp.lang.python > #109055
| From | "thomas povtal.org" <thomas@povtal.org> |
|---|---|
| Newsgroups | comp.lang.python |
| Subject | Spurious issue in CPython 2.7.5 |
| Date | 2016-05-24 12:22 +0200 |
| Message-ID | <mailman.52.1464090460.20402.python-list@python.org> (permalink) |
| References | <779717266.18172.1464085350716.JavaMail.open-xchange@ox.netsite.dk> |
Hi, Please excuse me if this is not the right place, but I have some issues with CPython on a NUMA machine. 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). Now, I've searched somewhat on google for indications on when this warning can be seen. However, I haven't really been able to understand why and even if it's significant or not. (At face value I'm nervous the Python runtime environment is corrupted for that process). 2: In my process later on I get: "OverflowError: long too big to convert". This happens in different places and seems to always relate to obtaining a length of something (dict or list created by list comprehension). Fx "for i in xrange(0, len_of_stuff, max_section_size):" en_of_stuff is always less than the max long (around 600). We're using gevent and I'm suspecting some "threading" could cause this, as I'm able to replicate it locally with the same data. Kind regards, Thomas
Back to comp.lang.python | Previous | Next — 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