|
Re: Bug? SystemError: error return without exception set: msg#00045python.pyrex
Hello, On Thu, 01 Apr 2004 10:39:11 EST "Gary Bishop" <gb@xxxxxxxxxx> wrote: > I think I may have found a bug in pyrex 0.9 on WindowsXP. I'm writing a > __setitem__ handler for my extension class. When I run it, I get > "SystemError: error return without exception set". Looking at the > generated C, I see that __pyx_r is apparently the return value and it > is not initialized. It gets set near the bottom of the C function like this: I was bitten by same bug with you. Following Pyrex code occasionally causes same exception. cdef class Foo: def __init__(self): return Foo() I attached a patch to avoid exception. This patch works for me but I'm not sure correct patch or not. -------------------------- Atsuo Ishimoto ishimoto@xxxxxxxxxxx Homepage:http://www.gembook.jp
|
|
| <Prev in Thread] | Current Thread | [Next in Thread> |
|---|---|---|
| Previous by Date: | Re[2]: How do I subtype python internal type that is not part of a module?: 00045, Lenard Lindstrom |
|---|---|
| Next by Date: | Quick 'len()' speedup for Pyrex: 00045, Phillip J. Eby |
| Previous by Thread: | Bug? SystemError: error return without exception seti: 00045, Gary Bishop |
| Next by Thread: | Test: 00045, Paul Prescod |
| Indexes: | [Date] [Thread] [Top] [All Lists] |
| News | FAQ | advertise |