U e5d �@szdZddlZddlZej�d�r,d dd�ZnJz ejWn4ek rjeed�r\d dd�Zn d d d�ZYn Xdd d�ZdS)z�A minimal subset of the locale module used at interpreter startup (imported by the _io module), in order to reduce startup time. Don't import directly from third-party code; use the `locale` module instead! �N�winTcCstjjr dSt��dS)N�UTF-8�)�sys�flags� utf8_mode�_localeZ_getdefaultlocale�� do_setlocale�r �#/usr/lib64/python3.8/_bootlocale.py�getpreferredencoding sr ZgetandroidapilevelcCsdS)Nrr r r r r r scCstjjr dSddl}|�|�S)Nrr)rrr�localer )r rr r r r scCs6|rt�tjjrdSt�tj�}|s2tjdkr2d}|S)Nr�darwin)�AssertionErrorrrrr� nl_langinfo�CODESET�platform)r �resultr r r r !s )T)T)T)T) �__doc__rrr� startswithr r�AttributeError�hasattrr r r r �s