HEX
Server: Apache
System: Linux zacp120.webway.host 4.18.0-553.50.1.lve.el8.x86_64 #1 SMP Thu Apr 17 19:10:24 UTC 2025 x86_64
User: govancoz (1003)
PHP: 8.3.26
Disabled: exec,system,passthru,shell_exec,proc_close,proc_open,dl,popen,show_source,posix_kill,posix_mkfifo,posix_getpwuid,posix_setpgid,posix_setsid,posix_setuid,posix_setgid,posix_seteuid,posix_setegid,posix_uname
Upload Files
File: //opt/alt/python37/lib/python3.7/site-packages/jsonschema/__pycache__/compat.cpython-37.pyc
B

�pSeI�@sFdZddlZddlZddlZyddlmZmZWn$ek
rTddlmZmZYnXej	ddkZ
e
r�eZddlm
Z
ddlmZddlmZmZmZmZmZddlmZmZefZefZe�d	�Znrdd
l m!Zddlm"Zddl#mZmZmZmZdd
l$mZmZddl%Z%dd�Ze&Zee'fZe�d�Zddl(m
Z
dd�Z)dS)zK
Python 2/3 compatibility helpers.

Note: This module is *not* public API.
�N)�MutableMapping�Sequence�)�	lru_cache)�StringIO)�unquote�urljoin�
urlunsplit�SplitResult�urlsplit)�pathname2url�urlopen�items)�izip)�BytesIO)rr	r
r)rrcOst�tj||��S)N)�
contextlib�closing�urllib2r
)�args�kwargs�r�B/opt/alt/python37/lib/python3.7/site-packages/jsonschema/compat.pyr
#sr
�	iteritemscCs>d|kr.t|�\}}}}}t||||df�}n|}d}||fS)N�#�)rr	)�url�s�n�p�q�frag�defragrrr�	urldefrag-sr")*�__doc__r�operator�sys�collections.abcrr�ImportError�collections�version_info�PY3�zip�	functoolsr�iorZNativeIO�urllib.parserrr	r
rZurllib.requestrr
�strZ	str_types�intZ	int_types�methodcallerr�	itertoolsrr�urlparse�urllibr�
basestring�longZfunctools32r"rrrr�<module>s8