Martin Panter added the comment:

The patch looks good to me.

This may be a side effect of poor documentation. I guess the documentation at 
<https://docs.python.org/dev/c-api/typeobj.html#c.PyTypeObject.tp_setattro> 
and/or the referenced functions should mention that the they also delete 
attributes when the name argument is null.

----------
nosy: +martin.panter

_______________________________________
Python tracker <rep...@bugs.python.org>
<http://bugs.python.org/issue25691>
_______________________________________
_______________________________________________
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com

Reply via email to