If you're interested in employing the Twisted event loop
(http://twistedmatrix.com), you can use the persistent dictionary
feature of my sAsync add-on to SQLAlchemy.

See http://foss.eepatents.com/sAsync/browser/trunk/sasync/pdict.py.

Even if you don't want to use Twisted, you can probably make use of some
of the concepts or code, consistent with the GPL licensing of sAsync.

Best regards, Ed

Bernd Dorn wrote:
> hello list
>
> in section "Custom List Classes" of the online documentation
> http://www.sqlalchemy.org/docs/
> adv_datamapping.myt#advdatamapping_properties_customlist
>
> there is away defined create dictionary like attributes on classes
>
> but the __iter__ method returns the values, which is not the normal
> python dictionary behaviour which is to return the keys
>
> is this special behaviour needed by the underlying implementation?
>
> or better question, what's the best way to have real dictionary
> behaviour?
>
> thanks in advance, Bernd



Using Tomcat but need to do more? Need to support web services, security?
Get stuff done quickly with pre-integrated technology to make your job easier
Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642
_______________________________________________
Sqlalchemy-users mailing list
Sqlalchemy-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/sqlalchemy-users

Reply via email to