
    J-j                     \   d Z ddlZddlZeZeZej                  d   dk(  rgeZeZeZ	ddk  r[	 ddl
 ddlmZmZmZmZmZmZmZmZmZmZmZmZmZmZmZmZmZmZmZmZ ddlmZmZmZmZmZmZmZmZmZmZmZmZmZmZmZmZmZmZ yy	 ej                  Z	y# e$ r Y yw xY w# e $ r eZ	Y yw xY w)	zto execute Python 3 code in Python 2.

redefines builtin `range` and `input` functions and `abc` either via `collections`
or `collections.abc` if available.
    N         )*)bytesdictintlistobjectrangestrasciichrhexinputnextoctopenpowroundsuperfiltermapzip)r   r   r   r   r   r   r   r	   r   r   r   r   r   r   r   r   r   r   )!__doc__syscollections_collectionsr   r   version_infoxrange	raw_inputabcfuture.builtins.disabledfuture.builtinsr   r   r	   r
   r   r   r   r   r   r   r   r   r   r   r   r   r   r   builtinsImportErrorAttributeError     g/Users/jameslopez/projects/TradingBot25/.venv/lib/python3.12/site-packages/cma/utilities/python3for2.py<module>r+      s   
  "A!EE
C 
Av	2     
% % % % % % 	  		
  s$   AB 	B! BB!B+*B+