Ram Rachum added the comment:

Another thing I proposed in python-ideas is to have `__getitem__` delegate to 
`.arguments`, so this proposal is similar in spirit, because I want to have 
`__repr__` show information from `.arguments`.

To be honest I don't see the point in having to access `.arguments` manually 
for anything. `BoundArguments` is all about arguments. I don't see a reason to 
waste anyone's time with accessing an attribute on it to get to the arguments. 
There isn't much more to get on the thing. So this applies both to __repr__ and 
__getitem__.

----------

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

Reply via email to