MOON
Server: Apache
System: Linux server30c.hostingraja.org 3.10.0-962.3.2.lve1.5.63.el7.x86_64 #1 SMP Fri Oct 8 12:03:35 UTC 2021 x86_64
User: jibhires (1887)
PHP: 8.1.30
Disabled: show_source, system, shell_exec, passthru, exec, popen, proc_open, allow_url_fopen, symlink, escapeshellcmd, pcntl_exec
Upload Files
File: //opt/alt/python35/lib/python3.5/site-packages/pip/_vendor/urllib3/packages/backports/makefile.pyo
�
+�Rec@s>dZddlZddlmZdddddd�ZdS(s�
backports.makefile
~~~~~~~~~~~~~~~~~~

Backports the Python 3 ``socket.makefile`` method for use with anything that
wants to create a "fake" socket object.
i����N(tSocketIOtrc
Csxt|�dddhks1td|f��nd|k}d|kpM|}d|k}d}	|ru|	d7}	n|r�|	d7}	nt||	�}
|jd7_|d
kr�d}n|dkr�tj}n|dkr�|s�td	��n|
S|r|rtj|
|
|�}n-|r7tj|
|�}ntj	|
|�}|rS|Stj
||||�}||_|S(s:
    Backport of ``socket.makefile`` from Python 3.5.
    Rtwtbs&invalid mode %r (only r, w, b allowed)tii����is!unbuffered streams must be binaryN(tsett
ValueErrorRt_makefile_refstNonetiotDEFAULT_BUFFER_SIZEtBufferedRWPairtBufferedReadertBufferedWritert
TextIOWrappertmode(
tselfRt	bufferingtencodingterrorstnewlinetwritingtreadingtbinarytrawmodetrawtbufferttext((s`/opt/alt/python35/lib/python3.5/site-packages/pip/_vendor/urllib3/packages/backports/makefile.pytbackport_makefiles<

		(t__doc__R	tsocketRRR(((s`/opt/alt/python35/lib/python3.5/site-packages/pip/_vendor/urllib3/packages/backports/makefile.pyt<module>s