Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > comp.lang.python > #109055

Spurious issue in CPython 2.7.5

Path csiph.com!fu-berlin.de!uni-berlin.de!not-for-mail
From "thomas povtal.org" <thomas@povtal.org>
Newsgroups comp.lang.python
Subject Spurious issue in CPython 2.7.5
Date Tue, 24 May 2016 12:22:30 +0200 (CEST)
Lines 29
Message-ID <mailman.52.1464090460.20402.python-list@python.org> (permalink)
References <779717266.18172.1464085350716.JavaMail.open-xchange@ox.netsite.dk>
Reply-To "thomas povtal.org" <thomas@povtal.org>
Mime-Version 1.0
Content-Type text/plain; charset="UTF-8"
X-Trace news.uni-berlin.de iLIf3Xudc08piRV884XwBAgP/n8g8fumD5xFfkWERG1g==
Return-Path <thomas@povtal.org>
X-Original-To python-list@python.org
Delivered-To python-list@mail.python.org
X-Spam-Status OK 0.058
X-Spam-Evidence '*H*': 0.88; '*S*': 0.00; 'cpython': 0.05; '"if': 0.09; 'runtime': 0.09; 'python': 0.10; '(at': 0.13; '(around': 0.16; 'indications': 0.16; 'received:io': 0.16; 'received:psf.io': 0.16; 'subject:issue': 0.16; 'later': 0.16; 'variable': 0.18; 'seems': 0.23; "haven't": 0.24; "i've": 0.25; 'not.': 0.27; 'received:dk': 0.29; 'environment': 0.29; "i'm": 0.30; "we're": 0.30; 'foo': 0.33; 'machine.': 0.33; 'list': 0.34; 'could': 0.35; 'something': 0.35; 'but': 0.36; 'too': 0.36; 'url:org': 0.36; 'created': 0.36; 'data.': 0.36; 'to:addr:python-list': 0.36; 'really': 0.37; 'hi,': 0.38; 'google': 0.39; 'why': 0.39; "didn't": 0.39; 'to:addr:python.org': 0.40; 'where': 0.40; 'some': 0.40; 'different': 0.63; 'face': 0.64; 'places': 0.64; 'url:xhtml1': 0.67; 'header:Reply-To:1': 0.67; 'url:dtd': 0.76; '(global': 0.84; 'seen.': 0.84; 'suspecting': 0.84; 'relate': 0.91
DKIM-Signature v=1; a=rsa-sha256; c=relaxed/simple; d=povtal.org; s=netsite1; t=1464085351; bh=i7V1oFwy4R7fPvTfF6whYEA+yepTbmxMaxu4XQ/W4pA=; h=Date:From:Reply-To:To:Subject; b=Le5Z9VSaFX85ioLb9TNwN6W/RUQfMjxE9PPNgLvVBxwru9Ym/rvYUW9KURdWXDH0l MoLUER+iTtTXtkSj7bGsogvwXTJnL+Dx1BrTgPi9bpO5+xtVoKtB+9tlsTM5JaKE0J wejhhcWRzYoQXz671p6OM5vyAOCVwk1IpNGb74GGs8KghCW4iizzI/2YzA5dtTmXJ4 qTGYqm3QO0XtrWe4K4pHGXGZO/CJpzlMNNABGeJ+Sp5kmreojt/J4CzCbLBU2q+o2w WT06Q3b0E/TtIUftm9k+mngEnHI0+RnhcDWkRcteeCOhIuLBe9SVgm759kMaPQkE4k ADVBoWpozeerA==
X-Priority 3
Importance Medium
X-Mailer Open-Xchange Mailer v7.6.3-Rev11
X-Originating-Client open-xchange-appsuite
X-Mailman-Approved-At Tue, 24 May 2016 07:47:34 -0400
X-Content-Filtered-By Mailman/MimeDel 2.1.22
X-BeenThere python-list@python.org
X-Mailman-Version 2.1.22
Precedence list
List-Id General discussion list for the Python programming language <python-list.python.org>
List-Unsubscribe <https://mail.python.org/mailman/options/python-list>, <mailto:python-list-request@python.org?subject=unsubscribe>
List-Archive <http://mail.python.org/pipermail/python-list/>
List-Post <mailto:python-list@python.org>
List-Help <mailto:python-list-request@python.org?subject=help>
List-Subscribe <https://mail.python.org/mailman/listinfo/python-list>, <mailto:python-list-request@python.org?subject=subscribe>
X-Mailman-Original-Message-ID <779717266.18172.1464085350716.JavaMail.open-xchange@ox.netsite.dk>
Xref csiph.com comp.lang.python:109055

Show key headers only | View raw


   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 | NextNext in thread | Find similar | Unroll thread


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