[Pyrex] Unknown variable "class_name" in Symtab.ModuleScope.declare_c_class

Stefan Behnel behnel_ml at gkec.informatik.tu-darmstadt.de
Sun Jul 2 12:55:43 UTC 2006


Hi,

there's a bug in the above method that raises a NameError on inconsistent
class declarations in 0.9.4.1, instead of reporting the problem. Here's the
(trivial) patch. PyChecker, PyLint, etc. usually prevent these kind of bugs
when asked before releasing.

Stefan
-------------- next part --------------
A non-text attachment was scrubbed...
Name: error-message-fix.patch
Type: text/x-patch
Size: 758 bytes
Desc: not available
Url : http://lists.copyleft.no/pipermail/pyrex/attachments/20060702/56d4bb38/attachment.bin 


More information about the Pyrex mailing list