[Ipython-tickets] [IPython] #229: don't call object.trait_names() on arbitrary user objects

IPython ipython-tickets@scipy....
Wed Feb 20 15:49:18 CST 2008


#229: don't call object.trait_names() on arbitrary user objects
---------------------+------------------------------------------------------
 Reporter:  dimaqq   |        Owner:  vivainio
     Type:  defect   |       Status:  assigned
 Priority:  normal   |    Milestone:          
Component:  ipython  |      Version:          
 Severity:  normal   |   Resolution:          
 Keywords:           |  
---------------------+------------------------------------------------------
Comment (by vivainio):

 Would it be ok for other devs if I made this an rc options, e.g. you'd
 have to do

 ip.options.find_special_attributes = True

 (the name is up for discussion)

 to attempt finding methods with these attributes?

 The option would be disabled as a default, but I'd add it to
 ipy_user_conf.py, commented out & with explanation.

-- 
Ticket URL: <http://ipython.scipy.org/ipython/ipython/ticket/229#comment:2>
IPython <http://ipython.scipy.org>
The IPython interactive Python system


More information about the Ipython-tickets mailing list