
    +DCf                         d Z ddlZddlZ	 ddlZej                  dk\  sej                  dk\  rdej                  ddfdZ	ndej                  ddfdZ	d	d
gZ
y# e$ r 	 ddlZn# e$ r dZY nw xY wY bw xY w)z
The _compat module is used for code which requires branching between different
Python environments. It is excluded from the code coverage checks.
    N)   
   )   r   r      contextreturnc                 B    t         j                  j                  | _        y N)ssl
TLSVersionTLSv1_2minimum_versionr   s    M/var/www/highfloat_scraper/venv/lib/python3.12/site-packages/httpx/_compat.pyset_minimum_tls_version_1_2r      s     #&.."8"8    c                    | xj                   t        j                  z  c_         | xj                   t        j                  z  c_         | xj                   t        j                  z  c_         | xj                   t        j
                  z  c_         y r
   )optionsr   OP_NO_SSLv2OP_NO_SSLv3OP_NO_TLSv1OP_NO_TLSv1_1r   s    r   r   r       sN     	3??*3??*3??*3,,,r   brotlir   )__doc__r   sys
brotlicffir   ImportErrorversion_infoOPENSSL_VERSION_INFO
SSLContextr   __all__ r   r   <module>r#      s     

 w#":":l"J9S^^ 9 9-S^^ - - 2
39   s5   A A3A#"A3#A-*A3,A--A32A3