Serhiy Storchaka <storchaka+cpyt...@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 <rep...@bugs.python.org>
<https://bugs.python.org/issue31938>
_______________________________________
_______________________________________________
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com

Reply via email to