Ethan Furman added the comment:
The error in the example code was in
def __init__(self):
self.data = ...
In order to get around that issue, either `data` needs to be declared at class
scope, or special cased in __getattr__.
----------
nosy: +ethan.furman
resolution: -> not a bug
title: Unappropriate issue -> Customized attribute access causes infinite loop
_______________________________________
Python tracker <[email protected]>
<http://bugs.python.org/issue24590>
_______________________________________
_______________________________________________
Python-bugs-list mailing list
Unsubscribe:
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com