Fixed bug in Set.reverse_remove() if item was just created and not stored in db yet
Bugfix: remove duplicate collection clearing
Entity delete bug fixed: modifications of collection attributes now correctly stored to the database
Do not clear attribute values of objects which are prepared to delete
Optimization
Bug fixed: correct cleaning of canceled objects
Bug fixed: incorrect assertion was removed
Optimization: use entity.__dict__['_pk_'] isntead of entity._pk_ to avoid calling descriptor method Attribute.__get__()
Deletion of previously deleted object should not generate exception, deletion is idempotent operation
Update tests
Refactoring: added 'statuses', 'del_statuses' sets
Refactoring: throw_object_was_deleted(obj) function introduced
Refactoring: created_or_deleted_statuses set introduced
Refactoring: throw_obsolete_cache(obj) function introduced
Typo in regex, closes #1
Use connection.set_client_encoding('UTF8') instead of 'encoding' parameter of connect() function
Merge master to orm: bug fixes