Your message dated Mon, 4 Apr 2011 14:18:39 -0400
with message-id <[email protected]>
has caused the   report #620859,
regarding cython: MemoryError swallows error message
to be marked as having been forwarded to the upstream software
author(s) [email protected]

(NB: If you are a system administrator and have no idea what this
message is talking about, this may indicate a serious mail system
misconfiguration somewhere. Please contact [email protected]
immediately.)


-- 
620859: http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=620859
Debian Bug Tracking System
Contact [email protected] with problems
--- Begin Message ---
Dear Cython people,

could you please clarify this regression for a Debian "user": message of
MemoryError gets swallowed

could possibly related to 0.14.1's:
 * raise MemoryError() is now safe to use as Cython replaces it with the
   correct C-API call.

Thank you in advance for clarifications

On Mon, 04 Apr 2011, Jakub Wilk wrote:

> Package: cython
> Version: 0.14.1-4
> Severity: normal

> If you raise MemoryError, the error message doesn't show up:

> $ cython test_oom.pyx
> $ gcc $(python-config --cflags) test_oom.c -shared -o test_oom.so
> $ python -c 'import test_oom'
> Traceback (most recent call last):
>   File "<string>", line 1, in <module>
>   File "test_oom.pyx", line 1, in init test_oom (test_oom.c:511)
>     raise MemoryError('punt')
> MemoryError


> This used to work fine in 0.12.1-1.1:

> $ cython test_oom.pyx
> $ gcc $(python-config --cflags) test_oom.c -shared -o test_oom.so
> $ python -c 'import test_oom'
> Traceback (most recent call last):
>   File "<string>", line 1, in <module>
>   File "test_oom.pyx", line 1, in init test_oom (test_oom.c:503)
>     raise MemoryError('punt')
> MemoryError: punt


> -- System Information:
> Debian Release: wheezy/sid
>   APT prefers unstable
>   APT policy: (990, 'unstable'), (500, 'experimental')
> Architecture: i386 (x86_64)

> Kernel: Linux 2.6.38-2-amd64 (SMP w/2 CPU cores)
> Locale: LANG=C, LC_CTYPE=pl_PL.UTF-8 (charmap=UTF-8)
> Shell: /bin/sh linked to /bin/dash

> Versions of packages cython depends on:
> ii  libc6                         2.11.2-11  Embedded GNU C Library: Shared 
> lib
> ii  python                        2.6.6-13   interactive high-level 
> object-orie
> ii  python-support                1.0.12     automated rebuilding support for 
> P
> ii  python2.6                     2.6.6-8+b1 An interactive high-level 
> object-o

> Versions of packages cython suggests:
> ii  gcc                           4:4.5.2-5  The GNU C compiler
> ii  python-dev                    2.6.6-13   header files and a
> static library
-- 
=------------------------------------------------------------------=
Keep in touch                                     www.onerussian.com
Yaroslav Halchenko                 www.ohloh.net/accounts/yarikoptic


--- End Message ---

Reply via email to