Steven Bethard <steven.beth...@gmail.com> added the comment:

Given that the one obvious way of using dict-style syntax given a Python object 
is to call vars(), I thing adding a __getitem__ is probably a bad idea.

----------

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

Reply via email to