First version where test suite validates. Caching is still not fully active (especially attribute lookup), OOBhandler is untested.

This commit is contained in:
Griatch 2013-09-22 22:57:03 +02:00
parent 8b1afa7043
commit 272a6ddc2d
3 changed files with 7 additions and 9 deletions

View file

@ -766,7 +766,6 @@ class TypedObject(SharedMemoryModel):
#
#
# these are identifiers for fast Attribute access and caching
_typeclass_paths = settings.OBJECT_TYPECLASS_PATHS
def __eq__(self, other):
@ -1001,7 +1000,7 @@ class TypedObject(SharedMemoryModel):
logger.log_trace()
return typeclass
def is_typeclass(self, typeclass, exact=False):
def is_typeclass(self, typeclass, exact=True):
"""
Returns true if this object has this type
OR has a typeclass which is an subclass of