Eric V. Smith <[email protected]> added the comment:
With Pablo's changes, the error now reads (in 3.11):
obj.b
^^^^^
AttributeError: 'Example' object has no attribute 'b'
Which is a vast improvement!
I'm working on a PR to initialize obj.b in __init__.
----------
_______________________________________
Python tracker <[email protected]>
<https://bugs.python.org/issue44649>
_______________________________________
_______________________________________________
Python-bugs-list mailing list
Unsubscribe:
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com