[issue31938] Convert selectmodule.c to Argument Clinic

Serhiy Storchaka report at bugs.python.org
Tue Jun 23 16:47:36 EDT 2020


Serhiy Storchaka <storchaka+cpython at gmail.com> added the comment:

There is no need to change default-value signatures. The root problem is that select.epoll.register does not have the __module__ attribute.

Well, seems that all method objects do not have the __module__ attribute. There are two solutions:

1. Make inspect falling back to __objclass__.__module__.
2. Set __module__ for method objects.

But this is a separate issue.

----------

_______________________________________
Python tracker <report at bugs.python.org>
<https://bugs.python.org/issue31938>
_______________________________________


More information about the Python-bugs-list mailing list