Ticket #4935: jelly.patch
| File jelly.patch, 481 bytes (added by speth, 2 years ago) |
|---|
-
(a) a/jelly.py.orig vs. (b) b/jelly.py
a b 164 164 inst = cls.__new__(cls) 165 165 166 166 if state is not _NO_STATE: 167 inst.__dict__.update(state) # Copy 'instance' behaviour 167 for k,v in inst.__dict__.iteritems(): 168 if k not in state: 169 state[k] = v 170 inst.__dict__ = state 171 168 172 else: 169 173 if state is not _NO_STATE: 170 174 inst = instance(cls, state)
