You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
__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.
@dagss changed resolution to fixed status from new to closed
commented
The problem is with the autotestdict code (and the docstring is actually fetched). A better approach is needed in general, so for 0.12 we're blacklisting slots that cause problems.
__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 anAttributeError
on module import.Migrated from http://trac.cython.org/ticket/421
The text was updated successfully, but these errors were encountered: