[issue17499] inspect.Signature and inspect.Parameter objects are mutable

Brett Cannon report at bugs.python.org
Wed Mar 20 22:22:14 CET 2013


Brett Cannon added the comment:

So what do you propose as a solution? Do you want to subclass tuple and then override __getitem__() so they can't index into the underlying tuple? Use __mangled names?

I mean if people are going to break the API to muck with stuff we can't stop them (nor can they complain if their code breaks).

----------
versions:  -Python 3.3

_______________________________________
Python tracker <report at bugs.python.org>
<http://bugs.python.org/issue17499>
_______________________________________


More information about the Python-bugs-list mailing list