Martin Panter added the comment:

Serhiy: Yes I was also thinking it might be time for a common helper function.

Milap: I think changes like you mentioned (originally by me) would be fine. 
Another variation was done for Issue 10838: revision 10b0a8076be8, which 
expects each object that is not a module object (e.g. not from “import sys”), 
rather than expecting each object that is a function or class defined in the 
module. It might depend on the particular circumstance which technique is 
superior.

----------

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

Reply via email to