Changes between Initial Version and Version 1 of Ticket #10963, comment 267


Ignore:
Timestamp:
01/05/14 19:07:07 (6 years ago)
Author:
SimonKing
Comment:

Legend:

Unmodified
Added
Removed
Modified
  • Ticket #10963, comment 267

    initial v1  
    88}}}
    99I guess it is wrong to do `hasattr` here, since this triggers the (re!)computation of the lazy class attribute. What we should do instead is to look up `nested_cls.__dict__`!!
     10
     11EDIT: That's to say
     12{{{
     13#!python
     14    try:
     15        axiom =nested_cls.__dict__["_base_category_class_and_axiom"][1]
     16    except KeyError:
     17        ...
     18}}}