ó
    <šŠhC  ã                   ó–   • S r SSKrSSKrSSKJr  SS jrSS jrSS jrS r	SS	 jr
SS
 jr\R                  " 5       S:H  rSS jr\=rrg)z€Compatibility tricks for Python 3. Mainly to do with unicode.

This file is deprecated and will be removed in a future version.
é    Né   )ÚDEFAULT_ENCODINGc                 óD   • U=(       d    [         nU R                  US5      $ ©NÚreplace)r   Údecode©ÚsÚencodings     ÚjC:\Users\julio\OneDrive\Documentos\Trabajo\Ideas Frescas\venv\Lib\site-packages\IPython/utils/py3compat.pyr   r      ó   € Ø×+Ô+€HØ8‰8H˜iÓ(Ð(ó    c                 óD   • U=(       d    [         nU R                  US5      $ r   )r   Úencode)Úur   s     r   r   r      r   r   c                 óF   • [        U [        5      (       a  [        X5      $ U $ ©N)Ú
isinstanceÚbytesr   r	   s     r   Úcast_unicoder      s   € Ü!”U×ÑÜaÓ"Ð"Ø€Hr   c                 ór   •  [        U 5      $ ! [         a     Of = f [        U 5      $ ! [         a     gf = f)zdunicode(e) with various fallbacks. Used for exceptions, which may not be
safe to call unicode() on.
zUnrecoverably corrupt evalue)ÚstrÚUnicodeErrorÚrepr)Úes    r   Úsafe_unicoder      sE   € ðÜ1‹vˆøÜó ÙðúðÜA‹wˆøÜó Øà)ðús   ‚
 
™ž
) ©
6µ6c                 ó.   • [         R                  " U 5      $ r   )Úbuiltin_modÚinput)Úprompts    r   r   r   0   s   € Ü×Ò˜VÓ$Ð$r   c                 óÀ   • Ub  UOUn[        U S5       nU=(       d    [        n[        U" UR                  5       U S5      X5        S S S 5        g ! , (       d  f       g = f)NÚrbÚexec)ÚopenÚcompiler#   Úread)ÚfnameÚglobÚlocÚcompilerÚfs        r   Úexecfiler,   4   sH   € Ø‘/‰#¨€CÜ	ˆeTÔ	˜aØ×&œwˆÜ‰Xa—f‘f“h  vÓ.°Ô:÷ 
×	Ö	ús   ”2AÁ
AÚPyPyc                 ó   • U $ r   © )Úxr   s     r   Úno_coder1   A   s   € Ø€Hr   r   )Ú )NN)Ú__doc__ÚplatformÚbuiltinsr   r   r   r   r   r   r   r   r,   Úpython_implementationÚPYPYr1   Úunicode_to_strÚcast_bytes_py2r/   r   r   Ú<module>r:      sY   ðñó
 Û å &ô)ô
)ô
ò*ô&%ô;ð ×%Ò%Ó'¨6Ñ1€ôð #*Ð )€‘r   