From: Leandro Lucarella Date: Sun, 7 Oct 2007 22:01:45 +0000 (-0300) Subject: Bugfix: make rollback to work. X-Git-Url: https://git.llucax.com/software/pymin.git/commitdiff_plain/7012b07c7b88ece1a0a08c53ca5a07c81209d2e6?ds=inline;hp=7012b07c7b88ece1a0a08c53ca5a07c81209d2e6 Bugfix: make rollback to work. Rollback did never worked right on composed handlers (handlers with sub-handlers) because when the class attributes were unpickled, they were bounded to a new object instance, and the sub-handlers references were never updated (the sub-handler referenced directly the handler attributes). Now all sub-handlers references the handler object itself (called parent) so when the unpikle is done, all can reference to the same objects. ---