[Cython] Control Flow

Stefan Behnel stefan_ml at behnel.de
Sat May 28 17:42:41 CEST 2011


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
         if value is None and traceback is None:
             raise type
         else:
             raise type, value, traceback

src/lxml/lxml.etree.pyx:277:12: Unused entry 'type'

I guess that's just a missing marker in RaiseStatNode.

Stefan


More information about the cython-devel mailing list