403Webshell
Server IP : 61.19.30.66  /  Your IP : 216.73.216.15
Web Server : Apache/2.2.22 (Ubuntu)
System : Linux klw 3.11.0-15-generic #25~precise1-Ubuntu SMP Thu Jan 30 17:39:31 UTC 2014 x86_64
User : www-data ( 33)
PHP Version : 5.3.10-1ubuntu3.48
Disable Function : pcntl_alarm,pcntl_fork,pcntl_waitpid,pcntl_wait,pcntl_wifexited,pcntl_wifstopped,pcntl_wifsignaled,pcntl_wexitstatus,pcntl_wtermsig,pcntl_wstopsig,pcntl_signal,pcntl_signal_dispatch,pcntl_get_last_error,pcntl_strerror,pcntl_sigprocmask,pcntl_sigwaitinfo,pcntl_sigtimedwait,pcntl_exec,pcntl_getpriority,pcntl_setpriority,
MySQL : ON  |  cURL : OFF  |  WGET : ON  |  Perl : ON  |  Python : ON  |  Sudo : ON  |  Pkexec : OFF
Directory :  /usr/lib/python2.7/dist-packages/zope/interface/

Upload File :
current_dir [ Writeable ] document_root [ Writeable ]

 

Command :


[ Back ]     

Current File : /usr/lib/python2.7/dist-packages/zope/interface/verify.pyc
ó
ÔËÞKc@s§dZddlmZmZddlmZddlmZmZddlm	Z	m
Z
mZddlZefZ
ddd„Zdd	„Zdd
„Zd„ZdS(sWVerify interface implementations

$Id: verify.py 110699 2010-04-09 08:16:17Z regebro $
iÿÿÿÿ(tBrokenImplementationtDoesNotImplement(tBrokenMethodImplementation(tFunctionTypet
MethodType(t
fromMethodtfromFunctiontMethodNic
CsÕ|dkr|j}n	|j}|rD||ƒrDt|ƒ‚nxŠ|jdƒD]y\}}yt||ƒ}WnBtk
r·t|tƒr¥|dkr¥qTnt||ƒ‚nXt|tƒsÍqTnt|t	ƒr4t
jddkrt|tƒrt
||d|ddƒ}qŽt
||d|ƒ}nZt|tƒrmt|jƒt	krmt|||ƒ}n!t|ƒsTt|dƒ‚qTqT|jƒ}|jƒ}t||ƒ}	|	rTt||	ƒ‚qTqTWtS(sÍVerify that 'candidate' might correctly implements 'iface'.

    This involves:

      o Making sure the candidate defines all the necessary methods

      o Making sure the methods have the correct signature

      o Making sure the candidate asserts that it implements the interface

    Note that this isn't the same as verifying that the class does
    implement the interface.

    If optional tentative is true, suppress the "is implemented by" test.
    tciit3tnametimlevelsNot a method(t
implementedByt
providedByRtnamesAndDescriptionstgetattrtAttributeErrort
isinstanceRRRtsystversionttypeRtMethodTypestim_funcRtcallableRtgetSignatureInfot	_incompattTrue(
tifacet	candidatet	tentativetvtypettesterR
tdesctattrtmethtmess((s9/usr/lib/python2.7/dist-packages/zope/interface/verify.pyt_verifys<	
"cCst|||ddƒS(NRR(R$(RRR((s9/usr/lib/python2.7/dist-packages/zope/interface/verify.pytverifyClassbscCst|||ddƒS(NRto(R$(RRR((s9/usr/lib/python2.7/dist-packages/zope/interface/verify.pytverifyObjectescCs‰t|dƒt|dƒkr$dSt|dƒt|dƒkrS|drSdS|drl|drldS|dr…|dr…dSdS(	Ntrequireds*implementation requires too many argumentst
positionaltvarargss-implementation doesn't allow enough argumentstkwargss0implementation doesn't support keyword argumentss1implementation doesn't support variable arguments(tlen(R(timplemented((s9/usr/lib/python2.7/dist-packages/zope/interface/verify.pyRhs  (t__doc__tzope.interface.exceptionsRRRttypesRRtzope.interface.interfaceRRRRRtNoneR$R%R'R(((s9/usr/lib/python2.7/dist-packages/zope/interface/verify.pyt<module>s	E

Youez - 2016 - github.com/yon3zu
LinuXploit