Re: [Cython] Control Flow

2011-05-28 Thread Vitja Makarov
2011/5/28 Robert Bradshaw rober...@math.washington.edu: On Fri, May 27, 2011 at 7:27 AM, Vitja Makarov vitja.maka...@gmail.com wrote: I've recently fixed some issues:  - closure variables were not tracked  - scoped expression variables were initialized to None So, I should fix broken

Re: [Cython] Control Flow

2011-05-28 Thread Stefan Behnel
Vitja Makarov, 28.05.2011 16:58: 2011/5/28 Stefan Behnel: Vitja Makarov, 28.05.2011 14:12: 2011/5/28 Stefan Behnel: Ok, I think we're done then, right? Anything else to do before merging it back? I hope so ;) I gave your branch a test with lxml and it spit out a couple of missing

Re: [Cython] Control Flow

2011-05-28 Thread Stefan Behnel
Vitja Makarov, 28.05.2011 16:58: -Wextra enables maybe uninitialized warning and unused entry. Interesting: cdef int _raise_if_stored(self) except -1: if self._exc_info is None: return 0 type, value, traceback = self._exc_info self._exc_info = None

Re: [Cython] Redundant Cython exception message strings

2011-05-28 Thread Robert Bradshaw
On Sat, May 28, 2011 at 1:15 AM, Vitja Makarov vitja.maka...@gmail.com wrote: 2011/5/28 Robert Bradshaw rober...@math.washington.edu: On Fri, May 27, 2011 at 3:32 PM, Stefan Behnel stefan...@behnel.de wrote: Hi, I recently stumbled over a tradeoff question with AttributeError, and now found

Re: [Cython] Redundant Cython exception message strings

2011-05-28 Thread Robert Bradshaw
On Sat, May 28, 2011 at 2:37 AM, Stefan Behnel stefan...@behnel.de wrote: Robert Bradshaw, 28.05.2011 00:39: On Fri, May 27, 2011 at 3:32 PM, Stefan Behnel wrote: I recently stumbled over a tradeoff question with AttributeError, and now found the same situation for UnboundLocalError in