Re: Spurious issue in CPython 2.7.5

2016-05-25 Thread thomas povtal.org
Hi! Thanks. It was an example... I get the very same exception text (the one that appears to be cut off) in this line in our own code: if Foo == False: (where Foo is global Foo = False.) :) T Den 25. maj 2016 klokken 14:13 skrev Tim Golden : On 25/05/2016 13:04, th

Re: Spurious issue in CPython 2.7.5

2016-05-25 Thread Tim Golden
On 25/05/2016 13:04, thomas povtal.org wrote: > 2016-05-24_08:15:40.84187 File "checkrc.pxd", line 14, in > zmq.core.checkrc._check_rc (zmq/core/socket.c:5932) > 2016-05-24_08:15:40.84187 OverflowError: long too big to convert That exception is arising from ZeroMQ's own code, by the look of it. (O

Re: Spurious issue in CPython 2.7.5

2016-05-25 Thread thomas povtal.org
Hi! Thanks. Replies in-line > Den 24. maj 2016 klokken 19:12 skrev Steven D'Aprano : > > On Tue, 24 May 2016 08:22 pm, thomas povtal.org wrote: > > > Hi, > > > > Please excuse me if this is not the right place, but I have some issues > > with CPython on a NUMA machine. > > Do you mean a Non-Un

Re: Spurious issue in CPython 2.7.5

2016-05-24 Thread Chris Angelico
On Wed, May 25, 2016 at 3:12 AM, Steven D'Aprano wrote: >>2: In my process later on I get: "OverflowError: long too big to >>convert". > > Can you copy and paste the actual traceback rather than retyping it from > memory? I think you're missing something, namely what the long is being > co

Re: Spurious issue in CPython 2.7.5

2016-05-24 Thread Steven D'Aprano
On Tue, 24 May 2016 08:22 pm, thomas povtal.org wrote: >Hi, > >Please excuse me if this is not the right place, but I have some issues >with CPython on a NUMA machine. Do you mean a Non-Uniform Memory Access machine? Can you be more specific about the actual machine and OS used?

Re: Spurious issue in CPython 2.7.5

2016-05-24 Thread thomas povtal.org
Hi! Thanks for the reply. Unfortunately I missed a 'not'. I'm not able to reproduce it locally :( The corrupted .pyc file experience: I suppose that effect the behaviour both if the .pyc file is the main file or as an something that gets imported. :) T Den 24. maj 201

Re: Spurious issue in CPython 2.7.5

2016-05-24 Thread thomas povtal.org
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 : On Tuesday, May 24, 2016 at 5:47:55 AM UTC-6, thomas povtal.org wrote: ... > 1: I get "Runtim

Re: Spurious issue in CPython 2.7.5

2016-05-24 Thread Novocastrian_Nomad
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 s

Re: Spurious issue in CPython 2.7.5

2016-05-24 Thread Chris Angelico
On Tue, May 24, 2016 at 8:22 PM, thomas povtal.org wrote: > Please excuse me if this is not the right place, but I have some issues >with CPython on a NUMA machine. > >We're using gevent and I'm suspecting some "threading" could cause this, >as I'm able to replicate it locally with th

Spurious issue in CPython 2.7.5

2016-05-24 Thread thomas povtal.org
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