On Sun, Jun 8, 2014 at 2:15 AM, jongiddy <jongi...@gmail.com> wrote: > One problem with your untested code, the superclasses would need to be > checked before using UFCS, so the structure is: > > try: > return super().__getattr__(attr) > except AttributeError: > # resolve using UFCS
And then if UFCS finds nothing, make sure the AttributeError gets reraised. -- https://mail.python.org/mailman/listinfo/python-list