On deactivate release in-slots objects only for classes that don't override __new__
Commit fe2219f4 taught Persistent to release in-slots objects on deactivation. That however broke pure-python implementation of many things because they were using __slots__ as a place which survive deactivation. As per discussion in https://github.com/zopefoundation/persistent/pull/44 and resolution: https://github.com/zopefoundation/persistent/pull/44#issuecomment-261019084 let's try to preserve backward compatibility by not releasing slots for classes that override __new__ /proposed-by-and-helped @jimfulton
Showing
Please register or sign in to comment