Uname: Linux web3.us.cloudlogin.co 5.10.226-xeon-hst #2 SMP Fri Sep 13 12:28:44 UTC 2024 x86_64
Software: Apache
PHP version: 8.1.31 [ PHP INFO ] PHP os: Linux
Server Ip: 162.210.96.117
Your Ip: 18.191.24.17
User: edustar (269686) | Group: tty (888)
Safe Mode: OFF
Disable Function:
NONE

name : _py2.pyc
�
���cc@s�ddlZddlZddlmZddlmZddlmZmZm	Z
d�Zddd	�Zd
�Z
ddd�Zd�Zd
�Zd�ZdS(i����Ni(t_common(tFileNotFoundError(tBytesIOt
TextIOWrappertopenc	Cs�tj|�}tj|�}tjj|j�}tjj||�}tjj|�}yt	|d�SWn�t
k
r�y3|j}|t|j
�d}|j|�}Wn>t
tfk
r�|j}dj||�}t|��nXt|�SXdS(sDReturn a file-like object opened for binary reading of the resource.trbis{!r} resource not found in {!r}N(Rtnormalize_pathtget_packagetostpathtdirnamet__file__tjointabspathtio_opentIOErrort
__loader__tlentarchivetget_datatAttributeErrort__name__tformatRR(	tpackagetresourcetpackage_patht
relative_patht	full_pathtloadertdatatpackage_nametmessage((s</usr/lib/python2.7/site-packages/importlib_resources/_py2.pytopen_binary	s$
		sutf-8tstrictcCstt||�d|d|�S(sBReturn a file-like object opened for text reading of the resource.tencodingterrors(RR (RRR"R#((s</usr/lib/python2.7/site-packages/importlib_resources/_py2.pyt	open_text'scCs&t||��}|j�SWdQXdS(s+Return the binary contents of the resource.N(R tread(RRtfp((s</usr/lib/python2.7/site-packages/importlib_resources/_py2.pytread_binary-scCs,t||||��}|j�SWdQXdS(s�Return the decoded string of the resource.

    The decoding-related arguments have the same semantics as those of
    bytes.decode().
    N(R$R%(RRR"R#R&((s</usr/lib/python2.7/site-packages/importlib_resources/_py2.pyt	read_text3scCsItj|�jtj|��}|j�s<t|��ntj|�S(skA context manager providing a file path object to the resource.

    If the resource does not already exist on its own on the file system,
    a temporary file will be created. If the file was created, the file
    will be deleted upon exiting the context manager (no exception is
    raised if the file was deleted prior to the context manager
    exiting).
    (RtfilestjoinpathRtis_fileRtas_file(RRR	((s</usr/lib/python2.7/site-packages/importlib_resources/_py2.pyR	=s	!cCs�tj|�}tj|�ytt|��}Wn5tk
ri}|jtjtjfkre�nt	SX||krzt	Stj
|�|j�S(sUTrue if name is a resource inside package.

    Directories are *not* resources.
    (RRRtsettcontentstOSErrorterrnotENOENTtENOTDIRtFalsetfrom_packageR+(Rtnametpackage_contentsterror((s</usr/lib/python2.7/site-packages/importlib_resources/_py2.pytis_resourceLs
cCs2tj|�}td�tj|�j�D��S(s�Return an iterable of entries in `package`.

    Note that not all entries are resources.  Specifically, directories are
    not considered resources.  Use `is_resource()` on each entry returned here
    to check if it is a resource or not.
    css|]}|jVqdS(N(R5(t.0titem((s</usr/lib/python2.7/site-packages/importlib_resources/_py2.pys	<genexpr>ks(RRtlistR4titerdir(R((s</usr/lib/python2.7/site-packages/importlib_resources/_py2.pyR.cs(RR0tRt_compatRtioRRRRR R$R'R(R	R8R.(((s</usr/lib/python2.7/site-packages/importlib_resources/_py2.pyt<module>s		
		
© 2025 GrazzMean