Your IP : 216.73.216.213


Current Path : /opt/alt/python37/lib64/python3.7/site-packages/coverage/__pycache__/
Upload File :
Current File : //opt/alt/python37/lib64/python3.7/site-packages/coverage/__pycache__/backward.cpython-37.pyc

B

E�Wf�@s�dZddlZddlmZyddlmZWn ek
rHddlmZYnXyddlZWnek
rrddl	ZYnXye
ZWnek
r�e
ZYnXyeZWnek
r�e
ZYnXyddlZWnek
r�ddlZYnXyeZWnek
�reZYnXyddlmZWn"ek
�r8ddlmZYnXy
ijWnek
�rbdd�ZYn
Xdd�Zyeg�jWnek
�r�d	d
�ZYn
Xdd
�Zej�r�dd
�Zdd�Z dd�Z!ndd
�Zdd�Z dd�Z!yej"dZ#Wn e$k
�r
ej"dZ#YnXyddl%Z%ddl&Z%dZ'Wnek
�r>dZ%YnXye%j(j)Z*Wn"e+k
�rnddl'Z'dZ*YnXye%j(j,Z-Wnek
�r�e'�.�Z-YnXddd�Z/dS)z:Add things to old Pythons so I can pretend they are newer.�N)�env)�StringIO)�quotecCs|��S)z Produce the items from dict `d`.)�items)�d�r�D/opt/alt/python37/lib64/python3.7/site-packages/coverage/backward.py�iitemsAsr	cCs|��S)z Produce the items from dict `d`.)�	iteritems)rrrrr	EscCs
t|�jS)z1Get the `next` function for iterating over `seq`.)�iter�__next__)�seqrrr�iternextMsrcCs
t|�jS)z1Get the `next` function for iterating over `seq`.)r�next)r
rrrrQscCs
|�d�S)zConvert string `s` to bytes.�utf8)�encode)�srrr�to_bytesXsrcCst|�S)z7Produce a byte string with the ints from `byte_values`.)�bytes)�byte_valuesrrr�binary_bytes\srcCs|S)z,Turn a bytes object into a sequence of ints.r)�bytes_valuerrr�
bytes_to_ints`srcCs|S)z+Convert string `s` to bytes (no-op in 2.x).r)rrrrrfscCsd�dd�|D��S)z7Produce a byte string with the ints from `byte_values`.�css|]}t|�VqdS)N)�chr)�.0�brrr�	<genexpr>lszbinary_bytes.<locals>.<genexpr>)�join)rrrrrjsccsx|D]}t|�VqWdS)z,Turn a bytes object into a sequence of ints.N)�ord)rZbyterrrrns
Z__builtin__�builtinsc	Cs�yddlm}Wntk
r(d}YnX|dkr:|d}|rN|||���}nFxt��D]}|ddkrXPqXWt|d��}t�||||�}WdQRX|S)z�Import a local file as a module.

    Opens a file in the current directory named `modname`.py, imports it
    as `modname`, and returns the module object.  `modfile` is the file to
    import if it isn't in the current directory.

    r)�SourceFileLoaderNz.py�r)Zimportlib.machineryr!�ImportError�load_module�impZget_suffixes�open)�modnameZmodfiler!�modZsuff�frrr�import_local_file�s
r*)N)0�__doc__�sys�coveragerZ	cStringIOrr#�io�configparser�ConfigParser�
basestringZstring_class�	NameError�str�unicodeZ
unicode_classZcPickle�pickleZxrange�range�shlexrZshlex_quoteZpipesr
�AttributeErrorr	rrr�PY3rrr�modulesZBUILTINS�KeyError�	importlib�importlib.utilr%�util�	find_specZimportlib_util_find_spec�	Exception�MAGIC_NUMBERZPYC_MAGIC_NUMBERZ	get_magicr*rrrr�<module>s�