Current Path : /usr/lib/python2.7/dist-packages/zope/interface/ |
Current File : //usr/lib/python2.7/dist-packages/zope/interface/advice.pyc |
Kc @ s d Z d d l m Z y d d l m Z e Z Wn e k rI e Z n Xd d l 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 110699 2010-04-09 08:16:17Z regebro $ i( t FunctionType( t ClassTypeNc C s | j } | j } | | k } d | k } d | k } | o? | } | oY | d | d k } | rx t j j | d p{ d } | o | j | k } | s d } nA | r | r d } n+ | r | r d } n | s 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( ( s9 /usr/lib/python2.7/dist-packages/zope/interface/advice.pyt getFrameInfo' s&