[Pyrex] 0.9.2.1 bug
Andreas Kostyrka
andreas at kostyrka.org
Sat May 8 14:58:52 CEST 2004
Hi!
Seems like the new string code doesn't cover rare cases correctly:
class X:
slots = ["", ]
Gives the following nice output:
t.c:56: error: `__pyx_k2p' undeclared here (not in a function)
t.c:56: error: initializer element is not constant
t.c:56: error: (near initialization for `__pyx_string_tab[0].p')
t.c:56: error: initializer element is not constant
t.c:56: error: (near initialization for `__pyx_string_tab[0]')
t.c:57: error: initializer element is not constant
t.c:57: error: (near initialization for `__pyx_string_tab[1]')
t.c: In function `initt':
t.c:85: error: `__pyx_k2p' undeclared (first use in this function)
t.c:85: error: (Each undeclared identifier is reported only once
t.c:85: error: for each function it appears in.)
Andreas
--
Andreas Kostyrka
Josef-Mayer-Strasse 5
83043 Bad Aibling
More information about the Pyrex
mailing list