zopefoundation / BTrees

Other
80 stars 28 forks source link

Fix setting class attributes on BTree subclasses. #169

Closed jamadden closed 3 years ago

jamadden commented 3 years ago

This was broken by #166.

Fixes #168. Instead of directly raising the TypeError ourself for an unknown attribute, defer to PyType_Type.tp_setatro if we don't know the attribute.

This was a surprise breakage. I'd be grateful if anyone can review this quickly.

jamadden commented 3 years ago

Thank you @freddrake. I am grateful!

The appveyor failure was an unrelated error to resolve github.com.