[issue8979] OptParse __getitem__

Steven Bethard report at bugs.python.org
Sat Jun 12 22:27:53 CEST 2010


Steven Bethard <steven.bethard at 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 <report at bugs.python.org>
<http://bugs.python.org/issue8979>
_______________________________________


More information about the Python-bugs-list mailing list