Martin Panter added the comment:

Illustration of why I think removing the attribute on errors is bad:

>>> class Foo:
...   @property
...   def bar(self): return self._bar
...   @bar.setter
...   def bar(self, value): self._bar = value
... 
>>> f = Foo()
>>> f.bar = ...  # Tab completion fails in this case

----------

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

Reply via email to