deprecate StrongInstanceDict

Issue #1473 resolved
Philip Jenvey created an issue

StrongInstanceDict.prune shuffles its contents into a WeakValueDictionary in order to immediately prune objects without any strong refs (line 215 on trunk r6130, pretty much the same code on the 0.6 branch)

http://www.sqlalchemy.org/trac/browser/sqlalchemy/trunk/lib/sqlalchemy/orm/identity.py?rev=6130#L215

This breaks orm.test_session test_prune which I've disabled for zxjdbc in the meantime

Comments (7)

  1. Mike Bayer repo owner
    • changed milestone to 0.6.0

    id almost favor just dumping prune/stronginstancedict at this point. its not really needed.

  2. Philip Jenvey reporter

    +1 since I haven't thought of a way to do it in Jython without a bunch of gc.collects

  3. Mike Bayer repo owner

    I'm not in the mood to "remove" this right now. we'll figure out what to do with it over the course of 0.6.xx but i think it should just stay as a lesser feature for now that just isn't for general / jython use.

  4. Log in to comment