/usr/lib/python3.9/site-packages/requests/__pycache__
Edit: /usr/lib/python3.9/site-packages/requests/__pycache__/help.cpython-39.pyc (2610B)
a
¥/�h»
ã @ s¾ d Z ddlmZ ddlZddlZddlZddlZddlZddlZddl Z ddl
mZ zddl
mZ W n ey‚ dZdZdZY n0 ddlZddlZdd„ Zd d
„ Zdd„ Zed
krºeƒ dS )z'Module containing bug report helper(s).é )Úprint_functionNé )Ú__version__)Ú pyopensslc C sŽ t ¡ } | dkrt ¡ }nj| dkr\dtjjtjjtjjf }tjjdkr„d |tjjg¡}n(| dkrnt ¡ }n| dkr€t ¡ }nd}| |d œS )
a× Return a dict with the Python implementation and version.
Provide both the name and the version of the Python implementation
currently running. For example, on CPython 2.7.5 it will return
{'name': 'CPython', 'version': '2.7.5'}.
This function works best on CPython and PyPy: in particular, it probably
doesn't work for Jython or IronPython. Future investigation should be done
to work out the correct shape of the code for those platforms.
ZCPythonZPyPyz%s.%s.%sÚfinalÚ ZJythonZ
IronPythonÚUnknown)ÚnameÚversion)
ÚplatformZpython_implementationZpython_versionÚsysZpypy_version_infoÚmajorÚminorÚmicroÚreleaselevelÚjoin)ÚimplementationZimplementation_version© r ú1/usr/lib/python3.9/site-packages/requests/help.pyÚ_implementation s$
þÿ
r c C sÐ zt ¡ t ¡ dœ} W n ty2 dddœ} Y n0 tƒ }dtji}dtji}dddœ}trptjdtj j
dœ}dttddƒi}dtt
ddƒi}tj
}d|dur¨d| ndi}| ||tdu|||||dtid œ
S )
z&Generate information for a bug report.)ÚsystemÚreleaser r
Nr )r
Zopenssl_versionz%xr )
r r Ú
system_sslZusing_pyopensslZ pyOpenSSLÚurllib3ÚchardetÚcryptographyÚidnaZrequests)r r r ÚIOErrorr r r r ÚOpenSSLZSSLZOPENSSL_VERSION_NUMBERÚgetattrr r Ússlr Úrequests_version) Z
platform_infoZimplementation_infoZurllib3_infoZchardet_infoZpyopenssl_infoZcryptography_infoZ idna_infor Zsystem_ssl_infor r r Úinfo; sJ þ
þ
þ
þÿÿÿÿör" c C s t tjtƒ ddd�ƒ dS )z)Pretty-print the bug information as JSON.Té )Z sort_keysÚindentN)ÚprintÚjsonÚdumpsr" r r r r Úmainq s r( Ú__main__)Ú__doc__Z
__future__r r&