Warning: session_start(): Session cannot be started after headers have already been sent in /home/tvrreohg/public_html/manga.php on line 13
3 ‰å<_½1ã@sàddlZddlZddlZddlZddlmZddlmZddlm Z ddl m Z m Z ddlm Z e eeƒZiZdd„ZGd d „d ejƒZGd d „d eƒZd d„Zdd„ZeZdd„Zdd„Zeƒiiedfdd„Zddd„ZdS)éN)Ú get_loader)ÚPyGIDeprecationWarning)Ú CallableInfo)Ú TYPE_NONEÚ TYPE_INVALID)Ú extend_pathcs‡fdd„}|S)Ncsˆj|_ˆj|_|S)N)Ú__name__Ú __module__)Úwrapper)Úwrapped©ú /usr/lib64/python3.6/__init__.pyÚassignszwraps..assignr )r rr )r r Úwrapss rcs8eZdZdZ‡fdd„Zdd„Zdd„Zdd „Z‡ZS) ÚOverridesProxyModulez7Wraps a introspection module and contains all overridescstt|ƒj|jƒ||_dS)N)ÚsuperrÚ__init__rÚ_introspection_module)ÚselfÚintrospection_module)Ú __class__r r r!s zOverridesProxyModule.__init__cCs t|j|ƒS)N)Úgetattrr)rÚnamer r r Ú __getattr__&sz OverridesProxyModule.__getattr__cCs6tt|jƒƒ}|j|jjƒƒ|jt|jƒƒt|ƒS)N)ÚsetÚdirrÚupdateÚ__dict__ÚkeysrÚsorted)rÚresultr r r Ú__dir__)szOverridesProxyModule.__dir__cCsdt|ƒj|jfS)Nz<%s %r>)Útyperr)rr r r Ú__repr__/szOverridesProxyModule.__repr__) rr Ú __qualname__Ú__doc__rrr!r#Ú __classcell__r r )rr rs  rc@s0eZdZdZdd„Zdd„Zdd„Zdd „Zd S) Ú_DeprecatedAttributezÉA deprecation descriptor for OverridesProxyModule subclasses. Emits a PyGIDeprecationWarning on every access and tries to act as a normal instance attribute (can be replaced and deleted). cCs$||_||_td|||fƒ|_dS)Nz#%s.%s is deprecated; use %s instead)Ú_attrÚ_valuerÚ_warning)rÚ namespaceÚattrÚvalueÚ replacementr r r r:s z_DeprecatedAttribute.__init__cCs(|dkrt|jƒ‚tj|jdd�|jS)Né)Ú stacklevel)ÚAttributeErrorr(ÚwarningsÚwarnr*r))rÚinstanceÚownerr r r Ú__get__As z_DeprecatedAttribute.__get__cCs$|j}tt|ƒ|ƒt|||ƒdS)N)r(Údelattrr"Úsetattr)rr4r-r,r r r Ú__set__Gsz_DeprecatedAttribute.__set__cCstt|ƒ|jƒdS)N)r7r"r()rr4r r r Ú __delete__Msz_DeprecatedAttribute.__delete__N)rr r$r%rr6r9r:r r r r r'3s r'cCs¦|jjddƒd }d|}|tjk}tjj|ƒ}t|dtfiƒ}||ƒ}|tj|<ddlm}|||<zHd|}y t|ƒ} Wnt k r–d} YnX| dkr¤|St j |ƒ} Wd||=tj|=|rÎ|tj|<X||_ g} t | d ƒrê| j} xD| D]<} yt| | ƒ} Wnt tfk �rwðYnXt|| | ƒqðWxptj|gƒD]`\}}yt||ƒ}Wn"t k �rvtd |ƒ‚YnXt||ƒt||||ƒ}t|||ƒ�q>W|S) z¿Loads overrides for an introspection module. Either returns the same module again in case there are no overrides or a proxy module including overrides. Doesn't cache the result. Ú.ézgi.repository.Z ProxyModuler/)Úmodulesz gi.overrides.NÚ__all__z1%s was set deprecated but wasn't added to __all__éÿÿÿÿ)rÚrsplitÚsysr=Úgetr"rZimporterrr1Ú importlibÚ import_moduleZ_overrides_moduleÚhasattrr>rÚ TypeErrorr8Ú_deprecated_attrsÚpopÚAssertionErrorr7r')rr+Z module_keyZhas_oldZ old_moduleZ proxy_typeÚproxyr=Zoverride_package_nameZoverride_loaderZ override_modZ override_allÚvarÚitemr,r.r-Údeprecated_attrr r r Úload_overridesRsV           rNc sôt|tƒr>|}|jjddƒd }tjd|‰‡fdd„}|St|tjƒrXtd|ƒ‚n˜yt |dƒ}Wn"t k rˆtd|j ƒ‚YnX|jj d ƒs¨t d ||jfƒ‚|jƒ}|tkr¾||_|jjddƒd }tjd|‰tˆ|j |ƒ|Sd S)aDecorator for registering an override. Other than objects added to __all__, these can get referenced in the same override module via the gi.repository module (get_parent_for_object() does for example), so they have to be added to the module immediately. r;r<zgi.repository.cstˆ|j|ƒ|S)N)r8r)Úfunc)Úmoduler r r µszoverride..wrapperz"func must be a gi function, got %sZ__info__zKCan not override a type %s, which is not in a gobject introspection typelibz gi.overrideszUYou have tried override outside of the overrides module. This is not allowed (%s, %s)Nr?r?)Ú isinstancerr r@rAr=ÚtypesÚ FunctionTyperFrr1rÚ startswithÚKeyErrorZ get_g_typerZpytyper8)Ztype_rOr+r ÚinfoZg_typer )rPr Úoverride¨s2    rWcstˆƒ‡‡fdd„ƒ}|S)z7Decorator for marking methods and classes as deprecatedcs$tjdˆjˆftdd�ˆ||ŽS)Nz %s is deprecated; use %s insteadr/)r0)r2r3rr)ÚargsÚkwargs)Úfnr.r r r Ûs zdeprecated..wrapped)r)rZr.r r )rZr.r Ú deprecatedÙsr[cCstj|gƒj||fƒdS)a:Marks a module level attribute as deprecated. Accessing it will emit a PyGIDeprecationWarning warning. e.g. for ``deprecated_attr("GObject", "STATUS_FOO", "GLib.Status.FOO")`` accessing GObject.STATUS_FOO will emit: "GObject.STATUS_FOO is deprecated; use GLib.Status.FOO instead" :param str namespace: The namespace of the override this is called in. :param str namespace: The attribute name (which gets added to __all__). :param str replacement: The replacement text which will be included in the warning. N)rGÚ setdefaultÚappend)r+r,r.r r r rMãsrMr/cs‡‡‡‡‡‡‡fdd„}|S)aWrapper for deprecating GObject based __init__ methods which specify defaults already available or non-standard defaults. :param callable super_init_func: Initializer to wrap. :param list arg_names: Ordered argument name list. :param list ignore: List of argument names to ignore when calling the wrapped function. This is useful for function which take a non-standard keyword that is munged elsewhere. :param dict deprecated_aliases: Dictionary mapping a keyword alias to the actual g_object_newv keyword. :param dict deprecated_defaults: Dictionary of non-standard defaults that will be used when the keyword is not explicitly passed. :param Exception category: Exception category of the error. :param int stacklevel: Stack level for the deprecation passed on to warnings.warn :returns: Wrapped version of ``super_init_func`` which gives a deprecation warning when non-keyword args or aliases are used. :rtype: callable c sZ|r:tjddjˆdt|ƒ…ƒˆˆd�ttˆ|ƒƒ}ni}|j|ƒg}x4ˆjƒD](\}}||krV|j|ƒ||<|j |ƒqVW|rÀtjddj‡fdd„t |ƒDƒƒdjt |ƒƒfˆˆd�g}x2ˆjƒD]&\}}||krΈ|||<|j |ƒqÎW|�r*tjddj‡fd d„t |ƒDƒƒˆˆd�x"ˆD]}||k�r0|j|ƒ�q0Wˆ|f|ŽS) z†Initializer for a GObject based classes with support for property sets through the use of explicit keyword arguments. zÒUsing positional arguments with the GObject constructor has been deprecated. Please specify keyword(s) for "%s" or use a class specific constructor. See: https://wiki.gnome.org/PyGObject/InitializerDeprecationsz, N)r0z…The keyword(s) "%s" have been deprecated in favor of "%s" respectively. See: https://wiki.gnome.org/PyGObject/InitializerDeprecationsc3s|]}ˆ|VqdS)Nr )Ú.0Úk)Údeprecated_aliasesr r ú /sz4deprecated_init..new_init..z�Initializer is relying on deprecated non-standard defaults. Please update to explicitly use: %s See: https://wiki.gnome.org/PyGObject/InitializerDeprecationsc3s|]}d|ˆ|fVqdS)z%s=%sNr )r^r_)Údeprecated_defaultsr r ra>s) r2r3ÚjoinÚlenÚdictÚziprÚitemsrHr]r) rrXrYZ new_kwargsZ aliases_usedÚkeyÚaliasZ defaults_usedr-)Ú arg_namesÚcategoryr`rbÚignorer0Úsuper_init_funcr r Únew_inits<       z!deprecated_init..new_initr )rmrjrlr`rbrkr0rnr )rjrkr`rbrlr0rmr Údeprecated_init÷s3rocstˆƒ‡‡‡‡fdd„ƒ}|S)aTranslate method's return value for stripping off success flag. There are a lot of methods which return a "success" boolean and have several out arguments. Translate such a method to return the out arguments on success and None on failure. csLˆ||Ž}|dr4t|ƒdkr&|dS|dd…SnˆrDˆˆp@dƒ‚ˆSdS)Nrr/r<z call failed)rd)rXrYÚret)Úexc_strÚexc_typeÚfail_retÚmethodr r r Rs   z%strip_boolean_result..wrapped)r)rtrrrqrsr r )rqrrrsrtr Ústrip_boolean_resultKs ru)NNN)rRr2rCrAZpkgutilrZgirZgi._girZ gi._constantsrrrÚ__path__rrGrÚ ModuleTyperÚobjectr'rNrWZ overridefuncr[rMÚtuplerorur r r r Ús.     V-  Q