U
if @ sz d Z ddlZddlZejdr,dddZnJz
ej W n4 ek
rj eedr\dddZn
d
d dZY nX dd
dZdS )zA 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!
NwinTc C s t jjrdS t d S )NUTF-8 )sysflags utf8_mode_localeZ_getdefaultlocaledo_setlocale r 0/opt/alt/python38/lib64/python3.8/_bootlocale.pygetpreferredencoding s r
Zgetandroidapilevelc C s dS )Nr r r r r r r
s c C s t jjrdS dd l}|| S )Nr r )r r r localer
)r
r r r r r
s c C s6 | rt tjjrdS ttj}|s2tjdkr2d}|S )Nr darwin)AssertionErrorr r r r nl_langinfoCODESETplatform)r
resultr r r r
! s )T)T)T)T) __doc__r r r
startswithr
r AttributeErrorhasattrr r r r <module> s