summaryrefslogtreecommitdiff
path: root/test/dialect/test_postgresql.py
diff options
context:
space:
mode:
authorMike Bayer <mike_mp@zzzcomputing.com>2013-04-20 02:45:08 -0400
committerMike Bayer <mike_mp@zzzcomputing.com>2013-04-20 02:45:08 -0400
commit6c1972e4ecd7f2d738aa1578bc95d4a77820278d (patch)
treeb65f3b060672c1adda23a0bacaff41e6b5f626e0 /test/dialect/test_postgresql.py
parent15b3d2f5bd3ff24b06945a3243eef0d3f523db15 (diff)
downloadsqlalchemy-6c1972e4ecd7f2d738aa1578bc95d4a77820278d.tar.gz
Improved the behavior of instance management regarding
the creation of strong references within the Session; an object will no longer have an internal reference cycle created if it's in the transient state or moves into the detached state - the strong ref is created only when the object is attached to a Session and is removed when the object is detached. This makes it somewhat safer for an object to have a `__del__()` method, even though this is not recommended, as relationships with backrefs produce cycles too. A warning has been added when a class with a `__del__()` method is mapped. [ticket:2708]
Diffstat (limited to 'test/dialect/test_postgresql.py')
0 files changed, 0 insertions, 0 deletions