Roger Serwy <roger.se...@gmail.com> added the comment:

The attached patch fixes the bug. The bug occurs in "get_entity" which is used 
to get the object. Then "get_argspec" determines the calltip text. 

The calltip can be prevented for strings by having get_argspec check if the 
object has a "__call__" method. I opted for adding "not callable" to the 
calltip initially for testing, but setting argspec="" will prevent the calltip 
altogether.

----------
keywords: +patch
nosy: +serwy
Added file: http://bugs.python.org/file24071/issue12510.patch

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

Reply via email to