U
    |c	                     @   sz   d Z ddlZddlZejdr,dddZnJz
ej W n4 ek
rj   eedr\dddZn
dd	dZY nX dd
dZdS )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!
    NwinTc                 C   s   t jjrdS t d S )NUTF-8   )sysflags	utf8_mode_localeZ_getdefaultlocaledo_setlocale r   lib/python3.8/_bootlocale.pygetpreferredencoding   s    r   Zgetandroidapilevelc                 C   s   dS )Nr   r   r	   r   r   r   r      s    c                 C   s   t jjrdS dd l}|| S )Nr   r   )r   r   r   localer   )r
   r   r   r   r   r      s    c                 C   s6   | rt tjjrdS ttj}|s2tjdkr2d}|S )Nr   darwin)AssertionErrorr   r   r   r   nl_langinfoCODESETplatform)r
   resultr   r   r   r   !   s    )T)T)T)T)	__doc__r   r   r   
startswithr   r   AttributeErrorhasattrr   r   r   r   <module>   s   

