DonatShell
Server IP : 180.180.241.3  /  Your IP : 216.73.216.252
Web Server : Microsoft-IIS/7.5
System : Windows NT NETWORK-NHRC 6.1 build 7601 (Windows Server 2008 R2 Standard Edition Service Pack 1) i586
User : IUSR ( 0)
PHP Version : 5.3.28
Disable Function : NONE
MySQL : ON  |  cURL : ON  |  WGET : OFF  |  Perl : OFF  |  Python : OFF  |  Sudo : OFF  |  Pkexec : OFF
Directory :  C:/Program Files (x86)/MySQL/MySQL Workbench 6.1 CE/python/lib/

Upload File :
current_dir [ Writeable ] document_root [ Writeable ]

 

Command :


[ HOME SHELL ]     

Current File : C:/Program Files (x86)/MySQL/MySQL Workbench 6.1 CE/python/lib//inspect.pyc

'Sc	@sdZdZdZddlZddlZddlZddlZddlZddlZddl	Z	ddl
Z
ddlZddlm
Z
ddlmZd^\ZZZZd_\ZZZd`ZdZdZdZdZdZeedr
dZn	dZeedr1dZn	dZdZ dZ!dZ"dZ#dZ$dZ%d Z&d!Z'd"Z(dd#Z*ed$d%Z+d&Z,d'Z-d(Z.d)Z/d*Z0d+Z1d,Z2ed-d.Z3d/Z4d0Z5d1Z6dd2Z7iZ8iZ9dd3Z:d4Z;d5Z<d6e=fd7YZ>d8dad9YZ?d:Z@d;ZAd<ZBd=ZCd>d?ZDed@dAZEdBZFedCdDZGdEZHedFdGZIdHZJdIZKeKdJZLdddeMdKdLdMeKdNZNeMdOdPdQeKdRZOdSZPedTdUZQddVZRdWZSddXZTddYZUeedZrejVZWndd[ZWdd\ZXdd]ZYdS(bsGet useful information from live Python objects.

This module encapsulates the interface provided by the internal special
attributes (func_*, co_*, im_*, tb_*, etc.) in a friendlier fashion.
It also provides some help for examining source code and class layout.

Here are some of the useful functions provided by this module:

    ismodule(), isclass(), ismethod(), isfunction(), isgeneratorfunction(),
        isgenerator(), istraceback(), isframe(), iscode(), isbuiltin(),
        isroutine() - check object types
    getmembers() - get members of an object that satisfy a given condition

    getfile(), getsourcefile(), getsource() - find an object's source code
    getdoc(), getcomments() - get documentation on an object
    getmodule() - determine the module that an object came from
    getclasstree() - arrange classes so as to represent their hierarchy

    getargspec(), getargvalues(), getcallargs() - get info about function arguments
    formatargspec(), formatargvalues() - format an argument spec
    getouterframes(), getinnerframes() - get info about frames
    currentframe() - get the current stack frame
    stack(), trace() - get info about frames on the stack or in a traceback
sKa-Ping Yee <ping@lfw.org>s
1 Jan 2001iN(t
attrgetter(t
namedtupleiiiiii i@icCst|tjS(sReturn true if the object is a module.

    Module objects provide these attributes:
        __doc__         documentation string
        __file__        filename (missing for built-in modules)(t
isinstancettypest
ModuleType(tobject((sIC:\Program Files (x86)\MySQL\MySQL Workbench 6.1 CE\Python\Lib\inspect.pytismodule3scCst|ttjfS(sReturn true if the object is a class.

    Class objects provide these attributes:
        __doc__         documentation string
        __module__      name of module in which this class was defined(RttypeRt	ClassType(R((sIC:\Program Files (x86)\MySQL\MySQL Workbench 6.1 CE\Python\Lib\inspect.pytisclass;scCst|tjS(sReturn true if the object is an instance method.

    Instance method objects provide these attributes:
        __doc__         documentation string
        __name__        name with which this method was defined
        im_class        class object in which this method belongs
        im_func         function object containing implementation of method
        im_self         instance to which this method is bound, or None(RRt
MethodType(R((sIC:\Program Files (x86)\MySQL\MySQL Workbench 6.1 CE\Python\Lib\inspect.pytismethodCs	cCsDt|doCt|doCt|oCt|oCt|S(sReturn true if the object is a method descriptor.

    But not if ismethod() or isclass() or isfunction() are true.

    This is new in Python 2.2, and, for example, is true of int.__add__.
    An object passing this test has a __get__ attribute but not a __set__
    attribute, but beyond that the set of attributes varies.  __name__ is
    usually sensible, and __doc__ often is.

    Methods implemented via descriptors that also pass one of the other
    tests return false from the ismethoddescriptor() test, simply because
    the other tests promise more -- you can, e.g., count on having the
    im_func attribute (etc) when an object passes ismethod().t__get__t__set__(thasattrRt
isfunctionR	(R((sIC:\Program Files (x86)\MySQL\MySQL Workbench 6.1 CE\Python\Lib\inspect.pytismethoddescriptorNs


cCst|dot|dS(sReturn true if the object is a data descriptor.

    Data descriptors have both a __get__ and a __set__ attribute.  Examples are
    properties (defined in Python) and getsets and members (defined in C).
    Typically, data descriptors will also have __name__ and __doc__ attributes
    (properties, getsets, and members have both of these attributes), but this
    is not guaranteed.R
R(R(R((sIC:\Program Files (x86)\MySQL\MySQL Workbench 6.1 CE\Python\Lib\inspect.pytisdatadescriptorbstMemberDescriptorTypecCst|tjS(sReturn true if the object is a member descriptor.

        Member descriptors are specialized descriptors defined in extension
        modules.(RRR(R((sIC:\Program Files (x86)\MySQL\MySQL Workbench 6.1 CE\Python\Lib\inspect.pytismemberdescriptornscCstS(sReturn true if the object is a member descriptor.

        Member descriptors are specialized descriptors defined in extension
        modules.(tFalse(R((sIC:\Program Files (x86)\MySQL\MySQL Workbench 6.1 CE\Python\Lib\inspect.pyRvstGetSetDescriptorTypecCst|tjS(sReturn true if the object is a getset descriptor.

        getset descriptors are specialized descriptors defined in extension
        modules.(RRR(R((sIC:\Program Files (x86)\MySQL\MySQL Workbench 6.1 CE\Python\Lib\inspect.pytisgetsetdescriptorscCstS(sReturn true if the object is a getset descriptor.

        getset descriptors are specialized descriptors defined in extension
        modules.(R(R((sIC:\Program Files (x86)\MySQL\MySQL Workbench 6.1 CE\Python\Lib\inspect.pyRscCst|tjS(sReturn true if the object is a user-defined function.

    Function objects provide these attributes:
        __doc__         documentation string
        __name__        name with which this function was defined
        func_code       code object containing compiled function bytecode
        func_defaults   tuple of any default values for arguments
        func_doc        (same as __doc__)
        func_globals    global namespace in which this function was defined
        func_name       (same as __name__)(RRtFunctionType(R((sIC:\Program Files (x86)\MySQL\MySQL Workbench 6.1 CE\Python\Lib\inspect.pyRscCs,tt|st|o(|jjt@S(sReturn true if the object is a user-defined generator function.

    Generator function objects provides same attributes as functions.

    See help(isfunction) for attributes listing.(tboolRRt	func_codetco_flagstCO_GENERATOR(R((sIC:\Program Files (x86)\MySQL\MySQL Workbench 6.1 CE\Python\Lib\inspect.pytisgeneratorfunctionscCst|tjS(s Return true if the object is a generator.

    Generator objects provide these attributes:
        __iter__        defined to support interation over container
        close           raises a new GeneratorExit exception inside the
                        generator to terminate the iteration
        gi_code         code object
        gi_frame        frame object or possibly None once the generator has
                        been exhausted
        gi_running      set to 1 when generator is executing, 0 otherwise
        next            return the next item from the container
        send            resumes the generator and "sends" a value that becomes
                        the result of the current yield-expression
        throw           used to raise an exception inside the generator(RRt
GeneratorType(R((sIC:\Program Files (x86)\MySQL\MySQL Workbench 6.1 CE\Python\Lib\inspect.pytisgeneratorscCst|tjS(sbReturn true if the object is a traceback.

    Traceback objects provide these attributes:
        tb_frame        frame object at this level
        tb_lasti        index of last attempted instruction in bytecode
        tb_lineno       current line number in Python source code
        tb_next         next inner traceback object (called by this level)(RRt
TracebackType(R((sIC:\Program Files (x86)\MySQL\MySQL Workbench 6.1 CE\Python\Lib\inspect.pytistracebackscCst|tjS(s|Return true if the object is a frame object.

    Frame objects provide these attributes:
        f_back          next outer frame object (this frame's caller)
        f_builtins      built-in namespace seen by this frame
        f_code          code object being executed in this frame
        f_exc_traceback traceback if raised in this frame, or None
        f_exc_type      exception type if raised in this frame, or None
        f_exc_value     exception value if raised in this frame, or None
        f_globals       global namespace seen by this frame
        f_lasti         index of last attempted instruction in bytecode
        f_lineno        current line number in Python source code
        f_locals        local namespace seen by this frame
        f_restricted    0 or 1 if frame is in restricted execution mode
        f_trace         tracing function for this frame, or None(RRt	FrameType(R((sIC:\Program Files (x86)\MySQL\MySQL Workbench 6.1 CE\Python\Lib\inspect.pytisframescCst|tjS(suReturn true if the object is a code object.

    Code objects provide these attributes:
        co_argcount     number of arguments (not including * or ** args)
        co_code         string of raw compiled bytecode
        co_consts       tuple of constants used in the bytecode
        co_filename     name of file in which this code object was created
        co_firstlineno  number of first line in Python source code
        co_flags        bitmap: 1=optimized | 2=newlocals | 4=*arg | 8=**arg
        co_lnotab       encoded mapping of line numbers to bytecode indices
        co_name         name with which this code object was defined
        co_names        tuple of names of local variables
        co_nlocals      number of local variables
        co_stacksize    virtual machine stack space required
        co_varnames     tuple of names of arguments and local variables(RRtCodeType(R((sIC:\Program Files (x86)\MySQL\MySQL Workbench 6.1 CE\Python\Lib\inspect.pytiscodescCst|tjS(s,Return true if the object is a built-in function or method.

    Built-in functions and methods provide these attributes:
        __doc__         documentation string
        __name__        original name of this function or method
        __self__        instance to which a method is bound, or None(RRtBuiltinFunctionType(R((sIC:\Program Files (x86)\MySQL\MySQL Workbench 6.1 CE\Python\Lib\inspect.pyt	isbuiltinscCs.t|p-t|p-t|p-t|S(s<Return true if the object is any kind of function or method.(R&RRR(R((sIC:\Program Files (x86)\MySQL\MySQL Workbench 6.1 CE\Python\Lib\inspect.pyt	isroutinescCs tt|to|jt@S(s:Return true if the object is an abstract base class (ABC).(RRRt	__flags__tTPFLAGS_IS_ABSTRACT(R((sIC:\Program Files (x86)\MySQL\MySQL Workbench 6.1 CE\Python\Lib\inspect.pyt
isabstractscCs~g}xgt|D]Y}yt||}Wntk
rBqnX|sV||r|j||fqqW|j|S(sReturn all members of an object as (name, value) pairs sorted by name.
    Optionally, only return members that satisfy a given predicate.(tdirtgetattrtAttributeErrortappendtsort(Rt	predicatetresultstkeytvalue((sIC:\Program Files (x86)\MySQL\MySQL Workbench 6.1 CE\Python\Lib\inspect.pyt
getmemberss

t	Attributesname kind defining_class objectc
	Csqt|}t|}g}xL|D]D}||jkrJ|j|}nt||}t|dd}|dkrx*|D]}||jkr~|}Pq~q~Wn|dk	r||jkr|j|}nt||}t|trd}	nWt|trd}	n?t|tr&d}	n't	|s>t
|rGd}	nd}	|jt||	||q%W|S(sReturn list of attribute-descriptor tuples.

    For each name in dir(cls), the return list contains a 4-tuple
    with these elements:

        0. The name (a string).

        1. The kind of attribute this is, one of these strings:
               'class method'    created via classmethod()
               'static method'   created via staticmethod()
               'property'        created via property()
               'method'          any other flavor of method
               'data'            not a method

        2. The class which defined this attribute (a class).

        3. The object as obtained directly from the defining class's
           __dict__, not via getattr.  This is especially important for
           data attributes:  C.data is just a data object, but
           C.__dict__['data'] may be a data descriptor with additional
           info, like a __doc__ string.
    t__objclass__s
static methodsclass methodtpropertytmethodtdataN(
tgetmroR+t__dict__R,tNoneRtstaticmethodtclassmethodR7RRR.R5(
tclstmrotnamestresulttnametobjthomeclstbasetobj_via_getattrtkind((sIC:\Program Files (x86)\MySQL\MySQL Workbench 6.1 CE\Python\Lib\inspect.pytclassify_class_attrss8

				 cCsB||krdS|j|x|jD]}t||q'WdS(N(R.t	__bases__t_searchbases(R?taccumRF((sIC:\Program Files (x86)\MySQL\MySQL Workbench 6.1 CE\Python\Lib\inspect.pyRKNs

cCs7t|dr|jSg}t||t|SdS(sHReturn tuple of base classes (including cls) in method resolution order.t__mro__N(RRMRKttuple(R?RB((sIC:\Program Files (x86)\MySQL\MySQL Workbench 6.1 CE\Python\Lib\inspect.pyR:Vs

cCs,tj|}t|ttj|S(sBReturn the indent size, in spaces, at the start of a line of text.(tstringt
expandtabstlentlstrip(tlinetexpline((sIC:\Program Files (x86)\MySQL\MySQL Workbench 6.1 CE\Python\Lib\inspect.pyt
indentsize`scCsBy
|j}Wntk
r!dSXt|tjs8dSt|S(sGet the documentation string for an object.

    All tabs are expanded to spaces.  To clean up docstrings that are
    indented to line up with blocks of code, any whitespace than can be
    uniformly removed from the second line onwards is removed.N(t__doc__R-R<RRtStringTypestcleandoc(Rtdoc((sIC:\Program Files (x86)\MySQL\MySQL Workbench 6.1 CE\Python\Lib\inspect.pytgetdoces

cCsKytjtj|d}Wntk
r3dSXtj}xO|dD]C}ttj|}|rHt||}t	||}qHqHW|r|dj|d<n|tjkrx2t
dt|D]}|||||<qWnx|r|dr|jqWx"|r6|dr6|jdqWtj|dSdS(sClean up indentation from docstrings.

    Any whitespace that can be uniformly removed from the second line
    onwards is removed.s
iiiN(
ROtsplitRPtUnicodeErrorR<tsystmaxintRQRRtmintrangetpoptjoin(RYtlinestmarginRStcontenttindentti((sIC:\Program Files (x86)\MySQL\MySQL Workbench 6.1 CE\Python\Lib\inspect.pyRXss(
	cCst|r:t|dr"|jStdj|nt|rtjj|j	}t|drq|jStdj|nt
|r|j}nt|r|j
}nt|r|j}nt|r|j}nt|r|jStdj|dS(s@Work out which source or compiled file an object was defined in.t__file__s{!r} is a built-in modules{!r} is a built-in classsO{!r} is not a module, class, method, function, traceback, frame, or code objectN(RRRht	TypeErrortformatR	R]tmodulestgett
__module__Rtim_funcRRR ttb_frameR"tf_codeR$tco_filename(R((sIC:\Program Files (x86)\MySQL\MySQL Workbench 6.1 CE\Python\Lib\inspect.pytgetfiles*	t
ModuleInfosname suffix mode module_typecCs|tjj|}tdtj}|jxA|D]9\}}}}|||kr;t|| |||Sq;WdS(sDGet the module name, suffix, mode, and module type for a given file.cSs't|d|d|d|dfS(Niii(RQ(tinfo((sIC:\Program Files (x86)\MySQL\MySQL Workbench 6.1 CE\Python\Lib\inspect.pyt<lambda>sN(tostpathtbasenametmaptimptget_suffixesR/Rs(Rwtfilenametsuffixestneglentsuffixtmodetmtype((sIC:\Program Files (x86)\MySQL\MySQL Workbench 6.1 CE\Python\Lib\inspect.pyt
getmoduleinfos	
cCst|}|r|dSdS(s1Return the module name for a given file, or None.iN(R(RwRt((sIC:\Program Files (x86)\MySQL\MySQL Workbench 6.1 CE\Python\Lib\inspect.pyt
getmodulenamescCst|}tj|ddkr6|d d}nxMtjD]?\}}}d|krCtj|t||krCdSqCWtjj	|r|St
t||dr|S|tj
kr|SdS(	sReturn the filename that can be used to locate an object's source.
    Return None if no way can be identified to get the source.
    is.pycs.pyos.pytbt
__loader__N(s.pycs.pyo(RrROtlowerRzR{RQR<RvRwtexistsRt	getmodulet	linecachetcache(RR|RRRH((sIC:\Program Files (x86)\MySQL\MySQL Workbench 6.1 CE\Python\Lib\inspect.pyt
getsourcefiles,cCsC|dkr't|p!t|}ntjjtjj|S(sReturn an absolute path to the source or compiled file for an object.

    The idea is for each object to have a unique origin, so this routine
    normalizes the result as much as possible.N(R<RRrRvRwtnormcasetabspath(Rt	_filename((sIC:\Program Files (x86)\MySQL\MySQL Workbench 6.1 CE\Python\Lib\inspect.pyt
getabsfilesc
Cst|r|St|dr2tjj|jS|dk	r^|tkr^tjjt|Syt||}Wnt	k
rdSX|tkrtjjt|Sxtjj
D]\}}t|rt|dr|j}|tj|dkrqn|t|<t|}|j
t|<ttjj|<qqW|tkrbtjjt|Stjd}t|dsdSt||j
rt||j
}||kr|Sntjd}t||j
rt||j
}	|	|kr|SndS(sAReturn the module an object was defined in, or None if not found.RmRht__main__t__name__t__builtin__N(RRR]RkRlRmR<t
modulesbyfileRRititemsRht_filesbymodnameRRvRwtrealpathR,(
RRtfiletmodnametmoduletftmaint
mainobjecttbuiltint
builtinobject((sIC:\Program Files (x86)\MySQL\MySQL Workbench 6.1 CE\Python\Lib\inspect.pyRsD
	
(

c
CsRt|}|s!tdnt||}|rNtj||j}ntj|}|srtdnt|r|dfSt|r^|j}t	j
d|d}g}xptt|D]\}|j
||}|r||ddkr
||fS|j|jd|fqqW|rO|j||ddfStdnt|rv|j}nt|r|j}nt|r|j}nt|r|j}nt|rBt|d	std
n|jd}	t	j
d}x1|	dkr7|j
||	r*Pn|	d}	qW||	fStdd
S(sbReturn the entire source file and starting line number for an object.

    The argument may be a module, class, method, function, traceback, frame,
    or code object.  The source code is returned as a list of all the lines
    in the file and the line number indexes a line in that list.  An IOError
    is raised if the source code cannot be retrieved.ssource code not availablescould not get source codeis^(\s*)class\s*s\btciscould not find class definitiontco_firstlinenos"could not find function definitions+^(\s*def\s)|(.*(?<!\w)lambda(:|\s))|^(\s*@)scould not find code objectN(RtIOErrorRRtgetlinesR;RR	RtretcompileR`RQtmatchR.tgroupR/RRnRRR RoR"RpR$RR(
RRRRcRCtpatt
candidatesRgRtlnum((sIC:\Program Files (x86)\MySQL\MySQL Workbench 6.1 CE\Python\Lib\inspect.pyt
findsourcesX
	
#


cCsyt|\}}Wnttfk
r0dSXt|r8d}|rf|dd dkrfd}nx9|t|krtj||d	kr|d}qiW|t|kr||d dkrg}|}xN|t|kr$||d dkr$|jtj	|||d}qWtj
|dSn|dkrt||}|d}|dkrtj||d dkrt|||krtjtj	||g}|dkra|d}tjtj	||}xp|d dkr]t|||kr]|g|d*|d}|dkr>Pntjtj	||}qWnx-|rtj|ddkrg|d*qdWx-|rtj|ddkrg|d)qWtj
|dSndS(
swGet lines of comments immediately preceding an object's source code.

    Returns None when source can't be found.
    iis#!itt#iN(RR(
RRRiR<RRQROtstripR.RPRbRURR(RRcRtstarttcommentstendRftcomment((sIC:\Program Files (x86)\MySQL\MySQL Workbench 6.1 CE\Python\Lib\inspect.pytgetcommentsGsJ	.&)
)
)

#""t
EndOfBlockcBseZRS((RRm(((sIC:\Program Files (x86)\MySQL\MySQL Workbench 6.1 CE\Python\Lib\inspect.pyRtstBlockFindercBs eZdZdZdZRS(s@Provide a tokeneater() method to detect the end of a code block.cCs1d|_t|_t|_t|_d|_dS(Nii(RfRtislambdatstartedtpasslinetlast(tself((sIC:\Program Files (x86)\MySQL\MySQL Workbench 6.1 CE\Python\Lib\inspect.pyt__init__xs
				c
Cs8|\}}|\}}	|js]|dkrQ|dkrEt|_nt|_nt|_n|tjkrt|_||_|jr4tq4n|jrn|tj	kr|j
d|_
t|_nj|tjkr|j
d|_
|j
dkr4tq4n0|j
dkr4|tjtj
fkr4tndS(Ntdeftclasstlambdaii(sdefsclassslambda(RtTrueRRttokenizetNEWLINERRRtINDENTRftDEDENTtCOMMENTtNL(
RRttokent	srow_scolt	erow_ecolRStsrowtscolterowtecol((sIC:\Program Files (x86)\MySQL\MySQL Workbench 6.1 CE\Python\Lib\inspect.pyt
tokeneaters0					'(RRmRVRR(((sIC:\Program Files (x86)\MySQL\MySQL Workbench 6.1 CE\Python\Lib\inspect.pyRvs	cCsNt}y tjt|j|jWnttfk
rBnX||j S(s@Extract the block of code at the top of the given list of lines.(RRtitertnextRRtIndentationErrorR(Rctblockfinder((sIC:\Program Files (x86)\MySQL\MySQL Workbench 6.1 CE\Python\Lib\inspect.pytgetblocks	 cCsDt|\}}t|r(|dfSt|||dfSdS(sReturn a list of source lines and starting line number for an object.

    The argument may be a module, class, method, function, traceback, frame,
    or code object.  The source code is returned as a list of the lines
    corresponding to the object and the line number indicates where in the
    original source file the first line of code was found.  An IOError is
    raised if the source code cannot be retrieved.iiN(RRR(RRcR((sIC:\Program Files (x86)\MySQL\MySQL Workbench 6.1 CE\Python\Lib\inspect.pytgetsourceliness
cCs"t|\}}tj|dS(sReturn the text of the source code for an object.

    The argument may be a module, class, method, function, traceback, frame,
    or code object.  The source code is returned as a single string.  An
    IOError is raised if the source code cannot be retrieved.R(RRORb(RRcR((sIC:\Program Files (x86)\MySQL\MySQL Workbench 6.1 CE\Python\Lib\inspect.pyt	getsourcescCsvg}|jdtddxP|D]H}|j||jf||kr&|jt||||q&q&W|S(s-Recursive helper function for getclasstree().R2RmR(R/RR.RJtwalktree(tclassestchildrentparentR1R((sIC:\Program Files (x86)\MySQL\MySQL Workbench 6.1 CE\Python\Lib\inspect.pyRs
$icCsi}g}x|D]}|jryxp|jD]F}||krKg||<n||j||r,||kr,Pq,q,Wq||kr|j|qqWx*|D]"}||kr|j|qqWt||dS(sArrange the given list of classes into a hierarchy of nested lists.

    Where a nested list appears, it contains classes derived from the class
    whose entry immediately precedes the list.  Each entry is a 2-tuple
    containing a class and a tuple of its base classes.  If the 'unique'
    argument is true, exactly one entry appears in the returned structure
    for each class in the given list.  Otherwise, classes using multiple
    inheritance and their descendants will appear multiple times.N(RJR.RR<(RtuniqueRtrootsRR((sIC:\Program Files (x86)\MySQL\MySQL Workbench 6.1 CE\Python\Lib\inspect.pytgetclasstrees 	
	

t	Argumentssargs varargs keywordscCsft|s$tdj|n|j}|j}t|| }d}xt|D]}||d dkrYggg}}}xg|t|jkrt	|j|}	|d}|	t
jkrt
j|	}
t	|j|t	|j|dd}|d}|
d
kr7|j
||j
|q|
d
kr|j
|||so|dg|d<Pq|dd|d<xY|ddkr|j|j}||g||)|sPn|dd|d<qW|sPqqqqW|d||<qYqYWd}
|jt@r3|j|}
|d}nd}|jt@rV|j|}nt||
|S(sGet information about the arguments accepted by a code object.

    Three things are returned: (args, varargs, varkw), where 'args' is
    a list of argument names (possibly containing nested lists), and
    'varargs' and 'varkw' are the names of the * and ** arguments or None.s{!r} is not a code objectiiRt.iitUNPACK_TUPLEtUNPACK_SEQUENCEt
STORE_FASTi(RR(RRN(R$RiRjtco_argcounttco_varnamestlistR`RQtco_codetordtdist
HAVE_ARGUMENTtopnameR.RaR<Rt
CO_VARARGStCO_VARKEYWORDSR(tcotnargsRAtargststepRgtstacktremaintcounttopRR3tsizetvarargstvarkw((sIC:\Program Files (x86)\MySQL\MySQL Workbench 6.1 CE\Python\Lib\inspect.pytgetargssV		

,






tArgSpecsargs varargs keywords defaultscCsjt|r|j}nt|s<tdj|nt|j\}}}t||||jS(slGet the names and default values of a function's arguments.

    A tuple of four things is returned: (args, varargs, varkw, defaults).
    'args' is a list of the argument names (it may contain nested lists).
    'varargs' and 'varkw' are the names of the * and ** arguments or None.
    'defaults' is an n-tuple of the default values of the last n arguments.
    s{!r} is not a Python function(	RRnRRiRjRRRt
func_defaults(tfuncRRR((sIC:\Program Files (x86)\MySQL\MySQL Workbench 6.1 CE\Python\Lib\inspect.pyt
getargspec!s	tArgInfosargs varargs keywords localscCs.t|j\}}}t||||jS(sWGet information about arguments passed into a particular frame.

    A tuple of four things is returned: (args, varargs, varkw, locals).
    'args' is a list of the argument names (it may contain nested lists).
    'varargs' and 'varkw' are the names of the * and ** arguments or None.
    'locals' is the locals dictionary of the given frame.(RRpRtf_locals(tframeRRR((sIC:\Program Files (x86)\MySQL\MySQL Workbench 6.1 CE\Python\Lib\inspect.pytgetargvalues3scCs>t|dkr"d|ddSdtj|ddSdS(Nit(is,)s, t)(RQRORb(tseq((sIC:\Program Files (x86)\MySQL\MySQL Workbench 6.1 CE\Python\Lib\inspect.pytjoinseq=scCsBt|ttfkr4|t||d|S||SdS(s7Recursively walk a sequence, stringifying each element.cSst|||S(N(tstrseq(toRtj((sIC:\Program Files (x86)\MySQL\MySQL Workbench 6.1 CE\Python\Lib\inspect.pyRuFsN(RRRNRy(RtconvertRb((sIC:\Program Files (x86)\MySQL\MySQL Workbench 6.1 CE\Python\Lib\inspect.pyRCscCsd|S(Nt*((RC((sIC:\Program Files (x86)\MySQL\MySQL Workbench 6.1 CE\Python\Lib\inspect.pyRuLscCsd|S(Ns**((RC((sIC:\Program Files (x86)\MySQL\MySQL Workbench 6.1 CE\Python\Lib\inspect.pyRuMscCsdt|S(Nt=(trepr(R3((sIC:\Program Files (x86)\MySQL\MySQL Workbench 6.1 CE\Python\Lib\inspect.pyRuNsc	Csg}	|r%t|t|}
nxft|D]X\}}t|||}
|r}||
kr}|
||||
}
n|	j|
q2W|dk	r|	j||n|dk	r|	j||ndtj|	ddS(sgFormat an argument spec from the 4 values returned by getargspec.

    The first four arguments are (args, varargs, varkw, defaults).  The
    other four arguments are the corresponding optional formatting functions
    that are called to turn names and values into strings.  The ninth
    argument is an optional function to format the sequence of arguments.Rs, RN(RQt	enumerateRR.R<RORb(RRRtdefaultst	formatargt
formatvarargstformatvarkwtformatvalueRbtspecstfirstdefaultRgtargtspec((sIC:\Program Files (x86)\MySQL\MySQL Workbench 6.1 CE\Python\Lib\inspect.pyt
formatargspecJscCsd|S(NR((RC((sIC:\Program Files (x86)\MySQL\MySQL Workbench 6.1 CE\Python\Lib\inspect.pyRufscCsd|S(Ns**((RC((sIC:\Program Files (x86)\MySQL\MySQL Workbench 6.1 CE\Python\Lib\inspect.pyRugscCsdt|S(NR(R(R3((sIC:\Program Files (x86)\MySQL\MySQL Workbench 6.1 CE\Python\Lib\inspect.pyRuhsc	Cs|||d}	g}
x7tt|D]#}|
jt|||	|q+W|r||
j|||||n|r|
j|||||ndtj|
ddS(sfFormat an argument spec from the 4 values returned by getargvalues.

    The first four arguments are (args, varargs, varkw, locals).  The
    next four arguments are the corresponding optional formatting functions
    that are called to turn names and values into strings.  The ninth
    argument is an optional function to format the sequence of arguments.cSs|||||S(N((RCtlocalsRR((sIC:\Program Files (x86)\MySQL\MySQL Workbench 6.1 CE\Python\Lib\inspect.pyRpsRs, R(R`RQR.RRORb(RRRRRRR
RRbRRRg((sIC:\Program Files (x86)\MySQL\MySQL Workbench 6.1 CE\Python\Lib\inspect.pytformatargvaluesds!$$c
sYt|\}}}}|j}igfdfd}t|r|jdk	r|jf|}nt|}	|	t|}
t|}|rt|nd}x*t||D]\}
}|
|qW|r*|	|kr|||	|q|dnd|koA|	knrtd||r[dnd||dkrsdnd	|
fn+|dkr|
rtd
||
fnxg|D]_}
t|
t	r|
|kr||
rtd||
fq|
|j
|
qqW|rexAt|||D](\}
}||
s6|
|q6q6Wn|r{||n[|rtt|}t|t
r|jtjd}ntd
||fn|tg|D]}
||
r|
^q}|rU||}td||r*dnd||dkrBdnd	|
fnS(sGet the mapping of arguments to values.

    A dict is returned, with keys the function argument names (including the
    names of the * and ** arguments, if any), and values the respective bound
    values from 'positional' and 'named'.cst|tr||<nj|t|}xst|D]e\}}yt|}Wn9tk
rtd||dkrdndfnX||qBWyt|Wntk
rn
XtddS(Nsneed more than %d %s to unpackitvaluesR3stoo many values to unpack(RtstrR.RR	Rt
StopIterationt
ValueError(RR3Rgtsubargtsubvalue(tassignt	arg2valuetassigned_tuple_params(sIC:\Program Files (x86)\MySQL\MySQL Workbench 6.1 CE\Python\Lib\inspect.pyRs 


&
cs#t|tr|kS|kS(N(RR(R(RR(sIC:\Program Files (x86)\MySQL\MySQL Workbench 6.1 CE\Python\Lib\inspect.pytis_assigneds
is%s() takes %s %d %s (%d given)sat mosttexactlyit	argumentstarguments"%s() takes no arguments (%d given)s2%s() got multiple values for keyword argument '%s'treplaces,%s() got an unexpected keyword argument '%s'sat leastN((RRRtim_selfR<RQtzipRiRRRaRRtunicodetencodeR]tgetdefaultencoding(Rt
positionaltnamedRRRR
tf_nameRtnum_post	num_totaltnum_argstnum_defaultsRR3t
unexpectedt
unassignedtnum_required((RRRsIC:\Program Files (x86)\MySQL\MySQL Workbench 6.1 CE\Python\Lib\inspect.pytgetcallargs|sd	%
!/
%t	Tracebacks+filename lineno function code_context indexcCs1t|r!|j}|j}n	|j}t|sNtdj|nt|pct|}|dkr|d|d}yt	|\}}Wnt
k
rd}}qXt|d}tdt
|t||}||||!}|d|}n
d}}t|||jj||S(sGet information about a frame or traceback object.

    A tuple of five things is returned: the filename, the line number of
    the current line, the function name, a list of lines of context from
    the source code, and the index of the current line within that list.
    The optional second argument specifies the number of lines of context
    to return, which are centered around the current line.s'{!r} is not a frame or traceback objectiiiN(R t	tb_linenoRotf_linenoR"RiRjRRrRRR<tmaxR_RQR4Rptco_name(RtcontexttlinenoR|RRcRtindex((sIC:\Program Files (x86)\MySQL\MySQL Workbench 6.1 CE\Python\Lib\inspect.pytgetframeinfos&		
"
cCs|jS(sCGet the line number from a frame object, allowing for optimization.(R6(R((sIC:\Program Files (x86)\MySQL\MySQL Workbench 6.1 CE\Python\Lib\inspect.pyt	getlinenoscCs=g}x0|r8|j|ft|||j}q	W|S(sGet a list of records for a frame and all higher (calling) frames.

    Each record contains a frame object, filename, line number, function
    name, a list of lines of context, and index within the context.(R.R<tf_back(RR9t	framelist((sIC:\Program Files (x86)\MySQL\MySQL Workbench 6.1 CE\Python\Lib\inspect.pytgetouterframess
	
cCs@g}x3|r;|j|jft|||j}q	W|S(sGet a list of records for a traceback's frame and all lower frames.

    Each record contains a frame object, filename, line number, function
    name, a list of lines of context, and index within the context.(R.RoR<ttb_next(ttbR9R?((sIC:\Program Files (x86)\MySQL\MySQL Workbench 6.1 CE\Python\Lib\inspect.pytgetinnerframess
	 
t	_getframecCsdS(N(R<(t_((sIC:\Program Files (x86)\MySQL\MySQL Workbench 6.1 CE\Python\Lib\inspect.pyRuscCsttjd|S(s@Return a list of records for the stack above the caller's frame.i(R@R]RD(R9((sIC:\Program Files (x86)\MySQL\MySQL Workbench 6.1 CE\Python\Lib\inspect.pyRscCsttjd|S(sCReturn a list of records for the stack below the current exception.i(RCR]texc_info(R9((sIC:\Program Files (x86)\MySQL\MySQL Workbench 6.1 CE\Python\Lib\inspect.pyttraces(iiii(ii i@i((ZRVt
__author__t__date__R]RvRRORRRzRRtoperatorRtcollectionsRtCO_OPTIMIZEDtCO_NEWLOCALSRRt	CO_NESTEDRt	CO_NOFREER)RR	RRRRRRRRRR R"R$R&R'R*R<R4R5RIRKR:RURZRXRrRsRRRRRRRRRt	ExceptionRRRRRRRRRRRRRRRRRRR3R4R<R=R@RCRDtcurrentframeRRG(((sIC:\Program Files (x86)\MySQL\MySQL Workbench 6.1 CE\Python\Lib\inspect.pyt<module>s					
			
				
							G		
								.	?	-)			
	
	
	:		
			U!	

Anon7 - 2022
AnonSec Team