I have to say I agree with Neil here. I was trying to think about what
other reasons an attribute might be unsettable, and did not quickly come up
with that list.

And after reading your list, I tried to imagine what I’d tell my beginning
students !

But if the error message is indeed unique then yes:

 "can't set property 'f'"

Would be far more clear message.

-CHB

-- 
Christopher Barker, PhD (Chris)

Python Language Consulting
  - Teaching
  - Scientific Software Development
  - Desktop GUI and Web Development
  - wxPython, numpy, scipy, Cython
_______________________________________________
Python-ideas mailing list -- python-ideas@python.org
To unsubscribe send an email to python-ideas-le...@python.org
https://mail.python.org/mailman3/lists/python-ideas.python.org/
Message archived at 
https://mail.python.org/archives/list/python-ideas@python.org/message/A3A5ZZGBRTMQ5WKKKRIEMFQFOQSG4E43/
Code of Conduct: http://python.org/psf/codeofconduct/

Reply via email to