Changes between Initial Version and Version 1 of Ticket #17232, comment 2
- Timestamp:
- Nov 15, 2011, 9:32:59 AM (13 years ago)
Legend:
- Unmodified
- Added
- Removed
- Modified
-
Ticket #17232, comment 2
initial v1 1 '''[Edit: My paste buffer had the wrong version of the second feeble attempt -- I've updated it]''' 2 1 3 I'm not sure about the assertion -- other than the "id" field, which is true should be duplicated for each level, the other "naked" fields would seem to imply only one representation in a shared base class. I'm not sure exactly how AutoFields deal with single inheritance otherwise -- they are potentially multiple "id" fields stacked on different classes. 2 4 … … 24 26 for field in cache: 25 27 if field not in recache: 26 recache.append(field) 28 recache.remove(field) 29 recache.append(field) 27 30 self._field_cache = tuple(recache) 28 31