shell bypass 403
�
���cc @@ s� d d l m Z d d l Z d d l m Z m Z m Z m Z y d d l m Z m
Z
m Z Wn e k
rq n Xd e f d � � YZ
e d e f d � � Y� Z d
e
f d � � YZ d S( i ( t absolute_importNi ( t ABCt FileNotFoundErrort runtime_checkablet Protocol( t BinaryIOt Iterablet Textt ResourceReaderc B@ sV e Z d Z e j d � � Z e j d � � Z e j d � � Z e j d � � Z RS( sD Abstract base class for loaders to provide resource reading support.c C@ s
t � d S( s� Return an opened, file-like object for binary reading.
The 'resource' argument is expected to represent only a file name.
If the resource cannot be found, FileNotFoundError is raised.
N( R ( t selft resource( ( s; /usr/lib/python2.7/site-packages/importlib_resources/abc.pyt
open_resource s c C@ s
t � d S( s� Return the file system path to the specified resource.
The 'resource' argument is expected to represent only a file name.
If the resource does not exist on the file system, raise
FileNotFoundError.
N( R ( R R
( ( s; /usr/lib/python2.7/site-packages/importlib_resources/abc.pyt
resource_path s c C@ s
t � d S( sj Return True if the named 'path' is a resource.
Files are resources, directories are not.
N( R ( R t path( ( s; /usr/lib/python2.7/site-packages/importlib_resources/abc.pyt is_resource, s c C@ s
t � d S( s+ Return an iterable of entries in `package`.N( R ( R ( ( s; /usr/lib/python2.7/site-packages/importlib_resources/abc.pyt contents5 s ( t __name__t
__module__t __doc__t abct abstractmethodR R R R ( ( ( s; /usr/lib/python2.7/site-packages/importlib_resources/abc.pyR s
t Traversablec B@ s� e Z d Z e j d � � Z e j d � � Z e j d d � � Z e j d � � Z e j d � � Z
e j d � � Z e j d � � Z e j d d � � Z
e j d
� � Z RS( st
An object with a subset of pathlib.Path methods suitable for
traversing directories and opening files.
c C@ s d S( s3
Yield Traversable objects in self
N( ( R ( ( s; /usr/lib/python2.7/site-packages/importlib_resources/abc.pyt iterdirC t c C@ s d S( s0
Read contents of self as bytes
N( ( R ( ( s; /usr/lib/python2.7/site-packages/importlib_resources/abc.pyt
read_bytesI R c C@ s d S( s0
Read contents of self as bytes
N( ( R t encoding( ( s; /usr/lib/python2.7/site-packages/importlib_resources/abc.pyt read_textO R c C@ s d S( s.
Return True if self is a dir
N( ( R ( ( s; /usr/lib/python2.7/site-packages/importlib_resources/abc.pyt is_dirU R c C@ s d S( s/
Return True if self is a file
N( ( R ( ( s; /usr/lib/python2.7/site-packages/importlib_resources/abc.pyt is_file[ R c C@ s d S( s2
Return Traversable child in self
N( ( R t child( ( s; /usr/lib/python2.7/site-packages/importlib_resources/abc.pyt joinpatha R c C@ s d S( s2
Return Traversable child in self
N( ( R R ( ( s; /usr/lib/python2.7/site-packages/importlib_resources/abc.pyt __truediv__g R t rc O@ s d S( s�
mode may be 'r' or 'rb' to open as text or binary. Return a handle
suitable for reading (same as pathlib.Path.open).
When opening as text, accepts encoding parameters such as those
accepted by io.TextIOWrapper.
N( ( R t modet argst kwargs( ( s; /usr/lib/python2.7/site-packages/importlib_resources/abc.pyt openm R c C@ s d S( sM
The base name of this object without any parent references.
N( ( R ( ( s; /usr/lib/python2.7/site-packages/importlib_resources/abc.pyt namew R N( R R R R R R R t NoneR R R R R R$ t abstractpropertyR% ( ( ( s; /usr/lib/python2.7/site-packages/importlib_resources/abc.pyR <