/opt/alt/python27/lib64/python2.7/site-packages/sqlalchemy/event
Edit: /opt/alt/python27/lib64/python2.7/site-packages/sqlalchemy/event/registry.pyc (7651B)
σ
ΓΜ4]c @@ sΏ d Z d d l m Z d d l Z d d l Z d d l Z d d l m Z d d l m Z e j e
Z e j e
Z d Z
d Z d Z d
Z d Z d e f d
YZ d S( sJ Provides managed registration services on behalf of :func:`.listen`
arguments.
By "managed registration", we mean that event listening functions and
other objects can be added to various collections in such a way that their
membership in all those collections can be revoked at once, based on
an equivalent :class:`._EventKey`.
i ( t absolute_importNi ( t exc( t utilc C@ s} t s | t k r d St j | } xP | j D]B } | t k r3 t | } | j | | su t j | qu q3 q3 Wd S( N( t _collection_to_keyt popt valuest _key_to_collection( t reft listener_to_keyt keyt dispatch_reg( ( sL /opt/alt/python27/lib64/python2.7/site-packages/sqlalchemy/event/registry.pyt _collection_gced5 s
c C@ s` | j } t | } | j } t j | j } | | k r> t S| | |