Ticket #421 (closed defect: fixed)
docstrings on "__nonzero__()" method break module-init code in Py3.1
|Reported by:||scoder||Owned by:||dagss|
__nonzero__ is renamed to __bool__ in Py3.1. However, the code that Cython generates to set the docstring tries to access the method through the type dict where it cannot be found in Py3.1 due to the renaming. This leads to an AttributeError on module import.