- changed milestone to 0.8.xx
MutableDict does not detect clear() call
Issue #2730
resolved
Seen with SQLAlchemy 0.8.1.
>>> article.aspects
{'colour': 'black'}
>>> article.aspects.clear()
>>> article in meta.Session.dirty
True
>>> meta.Session.is_modified(article)
False
Rewriting the code to use {{{article.aspects = {} }}} is a possible workaround.
Comments (3)
-
repo owner -
repo owner - changed status to resolved
-
repo owner - removed milestone
Removing milestone: 0.8.xx (automated comment)
- Log in to comment
there's probably a lot it doesn't detect...