Ńň śTJJc @ s_ d Z d d k l Z l Z d d k Z d Z d d Z d Z d d Z d Z d S( s Class advice. This module was adapted from 'protocols.advice', part of the Python Enterprise Application Kit (PEAK). Please notify the PEAK authors (pje@telecommunity.com and tsarna@sarna.org) if bugs are found or Zope-specific changes are required, so that the PEAK version of this module can be kept in sync. PEAK is a Python application framework that interoperates with (but does not require) Zope 3 and Twisted. It provides tools for manipulating UML models, object-relational persistence, aspect-oriented programming, and more. Visit the PEAK home page at http://peak.telecommunity.com for more information. $Id: advice.py 25177 2004-06-02 13:17:31Z jim $ i˙˙˙˙( t ClassTypet FunctionTypeNc C s | i } | i } | | j } d | j } d | j } | o | } | o | d | d j } | o t i i | d p d } | o | i | j } | p d } nJ | o | o d } n1 | o | o d } n | p d } n d } | | | | f S( s Return (kind,module,locals,globals) for a frame 'kind' is one of "exec", "module", "class", "function call", or "unknown". t __module__t __name__t exect modulet classs function callt unknownN( t f_localst f_globalst syst modulest gett Nonet __dict__( t frameR R t sameNamespacet hasModulet hasNamet sameNameR t namespaceIsModulet kind( ( s; /usr/lib64/python2.6/site-packages/zope/interface/advice.pyt getFrameInfo! s&