row speedups

This commit is contained in:
Michele Comitini
2013-07-04 15:57:05 +02:00
parent 0c013f6b59
commit a974c90dcf
+5
View File
@@ -6869,6 +6869,11 @@ class Row(object):
def __getitem__(self, k):
key=str(k)
#_extra = self.__dict__.get('_extra', None)
#if _extra:
# v = _extra.get(key, None)
# if v:
# return v
if key in self.get('_extra',{}):
return self._extra[key]
m = REGEX_TABLE_DOT_FIELD.match(key)