B
    u9a0             M  @   s.  d dl Z d dlZd dlZd dlZd dlZd dlmZ d dlZddddddd	d
dddddddddddddddgZ	dd Z
dd Zyd dlT W nL ek
r   dZd Zd!Zd Zd"Zd#Zd$Zd%ZeZd&d	 Zdd'dZY nX de kreZd
e kre
ZeZi Zeed(d	 Zd)d* Z dd,d-Z!d.d/ Z"e#d0Z$dd1d2Z%dd3dZ&dd4dZ'dd6dZ(d7d Zd8d9 Z)e*fd:dZ+d;d Z,d<d= Z-eZ.d>d? Z/d@dA Z0dBd Z1dCdD Z2dEdF Z3ddHdZ4efdIdZ5ddJdZefdKdZ6e j78dLrddMdZ9nRye: W n< e;k
rL   e<e dNr<ddOdZ9nddPdZ9Y nX ddQdZ9dRdRdSdTdTdUdVdWdXdYdSdZd[d\dSdSdSd]d^d_d`d\dadZdbdcd[dddedfdgdTdhdidUdjdkdldmdndodWdXdYdp,Z=x2e>e=? D ]"\Z@ZAe@BdqdrZ@e=Ce@eA qW dsdsdsdtdudvdwdwdxdydzdzd{d|d}d~d~dddddddddddddddddddd~ddddddddddddddddddddddddddddddddddddRddRdRd{ddRdRddddddddd{ddddddddddddddddddddddddddddddddddddddddddd{ddddddddddddddddddd{dddddddd{dd{dRd{dddddddddddddddddddddddddddd̐d d dddddddddddd	d	d
dddd
dd
d
d
dd
dddddddddddddddddd͐dddddddddddddddddddd d d d!d"d#d$d%d&d&d'd(d&d&d%d%d{dd{dd{dd)d*d)d)d+d+d+ddd,d-d-d-d.d.d-d-d-d-d-d/d/d/d0d/d1d2d3d3d4d5d5d6d6d6d7d6d6d8d8d9d:d;d;d<d<d=d>d?d@dAdBdCdDdDdEdEdDdBdBdFdFdGdHdIdIdJdKdLdMdNdNdOdPdQdQdRdRdSdTdUdUdVdVdWdWdXdYdddZd[d\d]d^d_dǐd`ddǐdadadbdcdbdbdbdbdddddededcdcdadfdfdgdhdididjdkdkdldmdndodpdqdpdrdrdsdsdsdtdudRdRdvdvdwdtdudtdxdydzdzdzd{d{d|dzd}d~d~ddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddÐdÐdĐdĐdŐdƐdǐdȐdȐdɐdɐdʐdːddd͐dddϐdϐdАdѐddddҐdҐdӐLZDdԐdՐd֐dאdؐdِdڐdېdܐdݐdސdߐddddddddddddddddddddddddddddddddddd ddddddddd	d
ddddddddddddddddddddddd d!d"d#d$d%d&d'd(d)d*d+d,d-d-d.d/d0d1d2d3d4d5d6d7d8d9d:d;d<d=d>d?d@dAdBdCdDdEdFdGdHdIdJdKdLdMdNdOdPdQdRdSdTdUdVdWdXdYdZd[d\d]d^d_d`dadbdcdddedfdedfdgdhdidjdkdldmdldndodpdqdrdsdtdudvdwdxdydzd{d|d}d~dddddddddddddddddddddddddddddddZEdd ZFye W n e;k
r   Y nX e	Gd eHdkr*eId eI  eF  eI  eId eI  e-  dS (      N)str	getlocalegetdefaultlocalegetpreferredencodingError	setlocaleresetlocale
localeconvstrcollstrxfrmr   atofatoiformatformat_stringcurrency	normalizeLC_CTYPE
LC_COLLATELC_TIMELC_MONETARY
LC_NUMERICLC_ALLCHAR_MAXc             C   s   | |k| |k  S )N )abr   r   /usr/lib/python3.7/locale.py_strcoll!   s    r   c             C   s   | S )Nr   )sr   r   r   _strxfrm'   s    r   )*                     c               C   s,   dgddddg dddddddddddddS )Nr!    .)groupingcurrency_symboln_sign_posnp_cs_precedesn_cs_precedesmon_groupingn_sep_by_spacedecimal_pointnegative_signpositive_signp_sep_by_spaceint_curr_symbolp_sign_posnthousands_sepmon_thousands_sepfrac_digitsmon_decimal_pointint_frac_digitsr   r   r   r   r   r	   ?   s$    c             C   s   |dkrt ddS )N)Nr(   Cz*_locale emulation only supports "C" localer<   )r   )categoryvaluer   r   r   r   W   s    c              C   s   t  } tr| t | S )N)_localeconv_override_localeconvupdate)dr   r   r   r	   l   s    
c             c   sP   d }xF| D ]>}|t krd S |dkr>|d kr2tdx
|V  q4W |V  |}q
W d S )Nr   zinvalid grouping)r   
ValueError)r*   last_intervalintervalr   r   r   _grouping_intervalsz   s    

rF   Fc       
      C   s   t  }||rdpd }||r dp"d }|s2| dfS | d dkr\|  }| t|d  }|} nd}d}g }xLt|D ]@}	| r| d d	kr| }d} P || |	 d   | d |	  } qrW | r||  |  ||| | t|t|d
  fS )Nr8   r7   r/   r*   r    r(   
0123456789r&   )r	   rstriplenrF   appendreversejoin)
r   monetaryconvr7   r*   strippedright_spacesleft_spacesgroupsrE   r   r   r   _group   s0    
rU   c             C   sl   d}x$|r(| | dkr(|d7 }|d8 }qW t | d }x$|rZ| | dkrZ|d8 }|d8 }q8W | ||d  S )Nr   rH   r&   )rK   )r   amountlposrposr   r   r   _strip_padding   s    rY   zG%(?:\((?P<key>.*?)\))?(?P<modifiers>[-#0-9 +*.hlL]*?)[eEfFgGdiouxXcrs%]c       	      G   s   |r| |f|  }n| | }| d dkr~d}| d}|rRt|d |d\|d< }t |r^dp`d }||}|rt||}n2| d dkrd}|rt||d\}}|rt||}|S )	NrG   eEfFgGr   r)   )rO   r:   r1   diu)splitrU   r	   rN   rY   )	percentr>   r*   rO   
additional	formattedsepspartsr1   r   r   r   _format   s(    


rb   c       
   	   C   s  t t| }td| }t|tjrng }x|D ]8}| d dkrP|d q0|t	| ||| q0W nt|t
s~|f}g }d}xz|D ]r}| d dkr|d q|dd}	|t	| || ||f||d |d |	    |d|	 7 }qW t
|}|| S )Nz%srG   %r   	modifiersr    r&   )list_percent_refinditersub
isinstance_collections_abcMappinggrouprL   rb   tuplecount)
fvalr*   rO   percentsnew_fnew_valperci	starcountr   r   r   r      s0    


c             G   s^   dd l }|jdtdd t| }|r:t| t| krJtdt|  t	| |||f| S )Nr   z`This method will be removed in a future version of Python. Use 'locale.format_string()' instead.r'   )
stacklevelzHformat() must be given exactly one %%char format specifier, %s not valid)
warningswarnDeprecationWarningrf   matchrK   rl   rC   reprrb   )r]   r>   r*   rO   r^   rx   r{   r   r   r   r      s    

Tc             C   sf  t  }||rdpd }|dkr&tdtd| t| |dd}d| d	 }|r||rXd
pZd }|| dk rldpnd }|| dk rdpd }	|r||	rdpd | }n||	rdpd | }|| dk rdpd }
|| dk rdpd }|
dkrd| d }n`|
dkr|| }nL|
dkr|| }n8|
dkr2|d|}n |
dkrJ|d	|}n|| }|ddd	dS )Nr;   r9   r!   z9Currency formatting is not possible using the 'C' locale.z%%.%ifT)rO   <>r5   r+   r   r.   r-   r0   r4   rH   r(   r,   r6   r2   r3   ()r&   r'   r#   r%   )r	   rC   rb   absreplace)rp   symbolr*   internationalrP   digitsr   smbprecedes	separatedsign_possignr   r   r   r     s6    





c             C   s
   t d| S )Nz%.12g)rb   )rp   r   r   r   r   0  s    c             C   s:   t  }|d }|r| |d} |d }|r6| |d} | S )Nr7   r(   r1   r)   )r	   r   )stringrP   tsddr   r   r   
delocalize4  s    r   c             C   s   |t | S )N)r   )r   funcr   r   r   r   D  s    c             C   s   t t| S )N)intr   )r   r   r   r   r   H  s    c              C   sB   t td tddd} t| dt|  td} t| dt|  d S )Nr(   z%di[r&   isgQ	@)r   r   r   printr   r   r   )s1r   r   r   _testL  s
    
r   c             C   s   d| kr| d |  d }n| }t|}tjj| |}|}| }|tkr\t| }n(|dd}|dd}|tkrt| }|d | S )Nr)   _r(   -)index	encodingsnormalize_encodingaliasesgetlowerlocale_encoding_aliasr   )codeencodinglangnamenorm_encodingr   r   r   _replace_encoding^  s    

r   c             C   sR   |dkrFd| kr| d S |  d\}}}|dkr4| S |dkrFt| dS | d | S )Neuror)   z.ISO8859-15)z
ISO8859-15zUTF-8z	ISO8859-1z
ISO8859-15@)	partitionr   )r   modifierr   r   r   r   r   _append_modifieru  s    
r   c       	      C   s  |   }d|kr|dd}d|kr6|dd\}}nd}d|krZ|dd d \}}n|}d}|}|r|dd}|dd}|d| 7 }|}|r|d| 7 }t|d }|d k	r|S |rt|d }|d k	rd|krt||S |ddd   |kr|S |r|}|r"|d| 7 }t|d }|d k	rnd|krLt||S |dd\}}t||d | S |rt|d }|d k	rd|krt||}t||S |dd\}}|  |krt||d | S | S )	N:r)   r   r&   r(   r'   r   r   )r   r   r\   locale_aliasr   r   r   )	
localenamer   r   r   r   lang_encr   lookup_namedefmodr   r   r   r     s`    








c             C   sr   t | }d|kr8|dd\}}|dkr8d|kr8|dfS d|krVt|dd d S |dkrbdS td	|  d S )
Nr   r&   r   r)   ziso-8859-15r'   r<   )NNzunknown locale: %s)r   r\   rm   rC   )r   r   r   r   r   r   _parse_localename  s    r   c          	   C   sX   y0| \}}|d krd}|d kr"|S |d | S W n" t tfk
rR   t dd Y nX d S )Nr<   r)   zXLocale must be None, a string, or an iterable of two strings -- language code, encoding.)	TypeErrorrC   )localetuplelanguager   r   r   r   _build_localename  s    r   r   r   LANGLANGUAGEc          	   C   s   ydd l }| \}}W n ttfk
r0   Y n8X tjdkr`|r`|d d dkr`tt|d}||fS dd l	}|j
j}x6| D ]*}||d }|r~|dkr|dd }P q~W d}t|S )Nr   win32r'   0xr   r   r<   )_locale_getdefaultlocaleImportErrorAttributeErrorsysplatformwindows_localer   r   osenvironr\   r   )envvarsr   r   r   r   lookupvariabler   r   r   r   r     s$    

c             C   s(   t | }| tkr d|kr tdt|S )N;z category LC_ALL is not supported)
_setlocaler   r   r   )r=   r   r   r   r   r   ;  s    c             C   s$   |rt |tstt|}t| |S )N)ri   _builtin_strr   r   r   )r=   localer   r   r   r   M  s    c             C   s   t | tt  d S )N)r   r   r   )r=   r   r   r   r   ^  s    winc             C   s   t jjrdS dd l}|dS )NzUTF-8r   F)r   flags	utf8_mode_bootlocaler   )do_setlocaler   r   r   r   r   j  s    Zgetandroidapilevelc             C   s   dS )NzUTF-8r   )r   r   r   r   r   x  s    c             C   s&   t jjrdS t d }|d kr"d}|S )NzUTF-8r&   ascii)r   r   r   r   )r   Zresr   r   r   r   |  s    
c             C   s`   t jjrdS dd l}| rDtt}yttd W n tk
rB   Y nX |d}| r\tt| |S )NzUTF-8r   r(   F)r   r   r   r   r   r   r   r   )r   r   oldlocresultr   r   r   r     s    

r<   z	ISO8859-1JIS7eucJPzKOI8-CCP1251CP1255CP1256z	ISO8859-2z	ISO8859-5z
ISO8859-15z
ISO8859-10z
ISO8859-11z
ISO8859-13z
ISO8859-14z
ISO8859-16z	ISO8859-3z	ISO8859-4z	ISO8859-6z	ISO8859-7z	ISO8859-8z	ISO8859-9SJISTACTISeucKRzUTF-8zKOI8-RzKOI8-TzKOI8-URK1048),437cenjisjis7ajeckoi8cmicrosoftcp1251microsoftcp1255microsoftcp1256885918859288595885915r   latin_1	iso8859_1
iso8859_10
iso8859_11
iso8859_13
iso8859_14
iso8859_15
iso8859_16	iso8859_2	iso8859_3	iso8859_4	iso8859_5	iso8859_6	iso8859_7	iso8859_8	iso8859_9
iso2022_jp	shift_jistactiseuc_jpeuc_krutf_8koi8_rkoi8_tkoi8_ukz1048cp1251cp1255cp1256r   r(   zaz_AZ.KOI8-Czaa_DJ.ISO8859-1zaa_ER.UTF-8zaa_ET.UTF-8zaf_ZA.ISO8859-1zagr_PE.UTF-8zak_GH.UTF-8zam_ET.UTF-8zen_US.ISO8859-1zan_ES.ISO8859-15zanp_IN.UTF-8zar_AA.ISO8859-6zar_AE.ISO8859-6zar_BH.ISO8859-6zar_DZ.ISO8859-6zar_EG.ISO8859-6zar_IN.UTF-8zar_IQ.ISO8859-6zar_JO.ISO8859-6zar_KW.ISO8859-6zar_LB.ISO8859-6zar_LY.ISO8859-6zar_MA.ISO8859-6zar_OM.ISO8859-6zar_QA.ISO8859-6zar_SA.ISO8859-6zar_SD.ISO8859-6zar_SS.UTF-8zar_SY.ISO8859-6zar_TN.ISO8859-6zar_YE.ISO8859-6zas_IN.UTF-8zast_ES.ISO8859-15zayc_PE.UTF-8zaz_AZ.ISO8859-9Ezaz_IR.UTF-8zbe_BY.CP1251zbe_BY.UTF-8@latinzbg_BG.UTF-8zbem_ZM.UTF-8zber_DZ.UTF-8zber_MA.UTF-8zbg_BG.CP1251zbhb_IN.UTF-8zbho_IN.UTF-8zbho_NP.UTF-8zbi_VU.UTF-8zbn_BD.UTF-8zbn_IN.UTF-8zbo_CN.UTF-8zbo_IN.UTF-8znb_NO.ISO8859-1zbr_FR.ISO8859-1zbrx_IN.UTF-8zbs_BA.ISO8859-2zbyn_ER.UTF-8zfr_CA.ISO8859-1zen_US.UTF-8zca_ES.ISO8859-1zca_AD.ISO8859-1zca_ES.UTF-8@valenciazca_FR.ISO8859-1zca_IT.ISO8859-1zce_RU.UTF-8zzh_CN.eucCNzzh_TW.eucTWzchr_US.UTF-8zckb_IQ.UTF-8zcmn_TW.UTF-8zcrh_UA.UTF-8zhr_HR.ISO8859-2zcs_CZ.ISO8859-2zcsb_PL.UTF-8zcv_RU.UTF-8zcy_GB.ISO8859-1zda_DK.ISO8859-1zde_DE.ISO8859-1zde_AT.ISO8859-1zde_BE.ISO8859-1zde_CH.ISO8859-1zde_IT.ISO8859-1zde_LI.UTF-8zde_LU.ISO8859-1zdoi_IN.UTF-8znl_NL.ISO8859-1znl_BE.ISO8859-1zdv_MV.UTF-8zdz_BT.UTF-8zee_EE.ISO8859-4zet_EE.ISO8859-1zel_GR.ISO8859-7zel_CY.ISO8859-7zel_GR.ISO8859-15zen_AG.UTF-8zen_AU.ISO8859-1zen_BE.ISO8859-1zen_BW.ISO8859-1zen_CA.ISO8859-1zen_DK.ISO8859-1zen_DL.UTF-8zen_GB.ISO8859-1zen_HK.ISO8859-1zen_IE.ISO8859-1zen_IL.UTF-8zen_IN.ISO8859-1zen_NG.UTF-8zen_NZ.ISO8859-1zen_PH.ISO8859-1zen_SC.UTF-8zen_SG.ISO8859-1zen_US.ISO8859-15zen_ZA.ISO8859-1zen_ZM.UTF-8zen_ZW.ISO8859-1zen_ZS.UTF-8zen_EN.ISO8859-1zeo_XX.ISO8859-3zeo.UTF-8zeo_EO.ISO8859-3zeo_US.UTF-8zes_ES.ISO8859-1zes_AR.ISO8859-1zes_BO.ISO8859-1zes_CL.ISO8859-1zes_CO.ISO8859-1zes_CR.ISO8859-1zes_CU.UTF-8zes_DO.ISO8859-1zes_EC.ISO8859-1zes_GT.ISO8859-1zes_HN.ISO8859-1zes_MX.ISO8859-1zes_NI.ISO8859-1zes_PA.ISO8859-1zes_PE.ISO8859-1zes_PR.ISO8859-1zes_PY.ISO8859-1zes_SV.ISO8859-1zes_US.ISO8859-1zes_UY.ISO8859-1zes_VE.ISO8859-1zet_EE.ISO8859-15zeu_ES.ISO8859-1zeu_FR.ISO8859-1zfa_IR.UTF-8zfa_IR.ISIRI-3342zff_SN.UTF-8zfi_FI.ISO8859-15zfil_PH.UTF-8zfi_FI.ISO8859-1zfo_FO.ISO8859-1zfr_FR.ISO8859-1zfr_BE.ISO8859-1zfr_CH.ISO8859-1zfr_LU.ISO8859-1zfur_IT.UTF-8zfy_DE.UTF-8zfy_NL.UTF-8zga_IE.ISO8859-1zgl_ES.ISO8859-1zgd_GB.ISO8859-1zgez_ER.UTF-8zgez_ET.UTF-8zgu_IN.UTF-8zgv_GB.ISO8859-1zha_NG.UTF-8zhak_TW.UTF-8zhe_IL.ISO8859-8zhi_IN.ISCII-DEVzhif_FJ.UTF-8zhne_IN.UTF-8zhsb_DE.ISO8859-2zht_HT.UTF-8zhu_HU.ISO8859-2zhy_AM.UTF-8zhy_AM.ARMSCII_8zia.UTF-8zia_FR.UTF-8zis_IS.ISO8859-1zid_ID.ISO8859-1zig_NG.UTF-8zik_CA.UTF-8zit_IT.ISO8859-1zit_CH.ISO8859-1ziu_CA.NUNACOM-8ziw_IL.UTF-8zja_JP.eucJPz
ja_JP.SJISzka_GE.GEORGIAN-ACADEMYzka_GE.GEORGIAN-PSzkab_DZ.UTF-8zkk_KZ.ptcp154zkl_GL.ISO8859-1zkm_KH.UTF-8zkn_IN.UTF-8zko_KR.eucKRzkok_IN.UTF-8zks_IN.UTF-8zks_IN.UTF-8@devanagarizku_TR.ISO8859-9zkw_GB.ISO8859-1zky_KG.UTF-8zlb_LU.UTF-8zlg_UG.ISO8859-10zli_BE.UTF-8zli_NL.UTF-8zlij_IT.UTF-8zlt_LT.ISO8859-13zln_CD.UTF-8zlo_LA.MULELAO-1zlo_LA.IBM-CP1133zlv_LV.ISO8859-13zlzh_TW.UTF-8zmag_IN.UTF-8zmai_IN.UTF-8zmai_NP.UTF-8zmfe_MU.UTF-8zmg_MG.ISO8859-15zmhr_RU.UTF-8zmi_NZ.ISO8859-1zmiq_NI.UTF-8zmjw_IN.UTF-8zmk_MK.ISO8859-5zml_IN.UTF-8zmn_MN.UTF-8zmni_IN.UTF-8zmr_IN.UTF-8zms_MY.ISO8859-1zmt_MT.ISO8859-3zmy_MM.UTF-8znan_TW.UTF-8znds_DE.UTF-8znds_NL.UTF-8zne_NP.UTF-8znhn_MX.UTF-8zniu_NU.UTF-8zniu_NZ.UTF-8znl_AW.UTF-8znn_NO.ISO8859-1zno_NO.ISO8859-1zny_NO.ISO8859-1znr_ZA.ISO8859-1znso_ZA.ISO8859-15zoc_FR.ISO8859-1zom_ET.UTF-8zom_KE.ISO8859-1zor_IN.UTF-8zos_RU.UTF-8zpa_IN.UTF-8zpa_PK.UTF-8zpap_AN.UTF-8zpap_AW.UTF-8zpap_CW.UTF-8zpd_US.ISO8859-1zpd_DE.ISO8859-1zph_PH.ISO8859-1zpl_PL.ISO8859-2zpt_PT.ISO8859-1zpt_BR.ISO8859-1zpp_AN.ISO8859-1zps_AF.UTF-8zquz_PE.UTF-8zraj_IN.UTF-8zro_RO.ISO8859-2zru_RU.UTF-8zru_UA.KOI8-Uzru_RU.KOI8-Rzrw_RW.ISO8859-1zsa_IN.UTF-8zsat_IN.UTF-8zsc_IT.UTF-8zsd_IN.UTF-8zsd_IN.UTF-8@devanagarizsd_PK.UTF-8zse_NO.UTF-8zsr_RS.UTF-8@latinzsgs_LT.UTF-8zsr_CS.ISO8859-2zsh_HR.ISO8859-2zshn_MM.UTF-8zshs_CA.UTF-8zsi_LK.UTF-8zsid_ET.UTF-8zsk_SK.ISO8859-2zsl_SI.ISO8859-2zsl_CS.ISO8859-2zsm_WS.UTF-8zso_DJ.ISO8859-1zso_ET.UTF-8zso_KE.ISO8859-1zso_SO.ISO8859-1zsr_CS.ISO8859-5zsq_AL.ISO8859-2zsq_MK.UTF-8zsr_RS.UTF-8zsr_CS.UTF-8@latinzsr_CS.UTF-8zsr_ME.UTF-8zsr_CS.CP1251zss_ZA.ISO8859-1zst_ZA.ISO8859-1zsv_SE.ISO8859-1zsv_FI.ISO8859-1zsw_KE.UTF-8zsw_TZ.UTF-8zszl_PL.UTF-8zta_IN.TSCII-0zta_LK.UTF-8ztcy_IN.UTF-8zte_IN.UTF-8ztg_TJ.KOI8-Czth_TH.ISO8859-11zth_TH.TIS620zthe_NP.UTF-8zti_ER.UTF-8zti_ET.UTF-8ztig_ER.UTF-8ztk_TM.UTF-8ztl_PH.ISO8859-1ztn_ZA.ISO8859-15zto_TO.UTF-8ztpi_PG.UTF-8ztr_TR.ISO8859-9ztr_CY.ISO8859-9zts_ZA.ISO8859-1ztt_RU.TATAR-CYRztt_RU.UTF-8@iqtelifzug_CN.UTF-8zuk_UA.KOI8-Uz	en_US.utfzunm_US.UTF-8zur_PK.CP1256zur_IN.UTF-8zuz_UZ.UTF-8zve_ZA.UTF-8z
vi_VN.TCVNzvi_VN.VISCIIzwa_BE.ISO8859-1zwae_CH.UTF-8zwal_ET.UTF-8zwo_SN.UTF-8zxh_ZA.ISO8859-1zyi_US.CP1255zyo_NG.UTF-8zyue_HK.UTF-8zyuw_PG.UTF-8zzh_CN.gb2312z
zh_TW.big5zzh_HK.big5hkscszzh_SG.GB2312z	zh_SG.GBKzzu_ZA.ISO8859-1(L  a3a3_azz
a3_az.koicaa_djaa_eraa_etafaf_zaagr_peak_ghamam_etamericanan_esanp_inarar_aaar_aear_bhar_dzar_egar_inar_iqar_joar_kwar_lbar_lyar_maar_omar_qaar_saar_sdar_ssar_syar_tnar_yearabicasas_inast_esayc_peazaz_azzaz_az.iso88599eaz_irbezbe@latinz
be_bg.utf8be_byzbe_by@latinbem_zmber_dzber_mabgbg_bgzbhb_in.utf8bho_inbho_npbi_vubn_bdbn_inbo_cnbo_inbokmalu   bokmålbrbr_frbrx_inbsbs_ba	bulgarianbyn_err   zc-frenchzc.asciizc.enz
c.iso88591zc.utf8c_czc_c.ccaca_adca_eszca_es@valenciaca_frca_itcatalance_rucextendz	chinese-sz	chinese-tchr_usckb_iqcmn_twcrh_uacroatiancscs_cscs_czcsb_plcv_rucycy_gbczcz_czczechdada_dkdanishdanskdede_atde_bede_chde_dede_itz
de_li.utf8de_ludeutschdoi_indutchzdutch.iso88591dv_mvdz_bteeee_eeeestielel_cyel_grz
el_gr@euror   en_agen_auen_been_bwen_caen_dkz
en_dl.utf8en_gben_hken_ieen_ilen_inen_ngen_nzen_phz
en_sc.utf8en_sgen_uken_uszen_us@euro@euroen_zaen_zmen_zwz
en_zw.utf8eng_gbenglishzenglish.iso88591
english_ukzenglish_united-stateszenglish_united-states.437
english_useozeo.utf8eo_eoz
eo_us.utf8eo_xxeses_ares_boes_cles_coes_cres_cues_does_eces_eses_gtes_hnes_mxes_nies_paes_pees_pres_pyes_sves_uses_uyes_veestonianetet_eeeueu_eseu_frfafa_irzfa_ir.isiri3342ff_snfifi_fifil_phfinnishfofo_fofrfr_befr_cafr_chfr_frfr_luu	   françaisfre_frfrenchzfrench.iso88591french_francefur_itfy_defy_nlgaga_iegalegogaliciangdgd_gbger_degermanzgerman.iso88591german_germanygez_ergez_etglgl_esgreekgu_ingvgv_gbha_nghak_twhehe_ilhebrewhihi_inzhi_in.isciidevhif_fjhnehne_inhrhr_hrhrvatskihsb_deht_hthuhu_hu	hungarianhy_amzhy_am.armscii8iaia_fr	icelandicidid_idig_ngik_cainin_idr   is_isz
iso-8859-1ziso-8859-15z	iso8859-1z
iso8859-15
iso_8859_1iso_8859_15itit_chit_ititalianiuiu_caziu_ca.nunacom8iwiw_ilz
iw_il.utf8jaja_jpz	ja_jp.euczja_jp.mscodez	ja_jp.pckjapanjapanesezjapanese-euczjapanese.eucjp_jpkaka_gezka_ge.georgianacademyzka_ge.georgianpszka_ge.georgianrskab_dzkk_kzklkl_glkm_khknkn_inkoko_krz	ko_kr.euckok_inkoreanz
korean.eucksks_inzks_in@devanagari.utf8ku_trkwkw_gbkyky_kglb_lulg_ugli_beli_nllij_it
lithuanianln_cdlolo_lazlo_la.cp1133zlo_la.ibmcp1133zlo_la.mulelao1ltlt_ltlvlv_lvlzh_twmag_inmaimai_inmai_npmfe_mumg_mgmhr_rumimi_nzmiq_nimjw_inmkmk_mkmlml_inmn_mnmni_inmrmr_inmsms_mymtmt_mtmy_mmnan_twnbnb_nonds_dends_nlne_npnhn_mxniu_nuniu_nznlnl_awnl_benl_nlnnnn_nonoz
no@nynorskno_nozno_no.iso88591@bokmalzno_no.iso88591@nynorsk	norwegiannrnr_zansonso_zanyny_nonynorskococ_from_etom_keoror_inos_rupapa_inpa_pkpap_anpap_awpap_cwpdpd_depd_usphph_phplpl_plpolish
portugueseportuguese_brazilposixz
posix-utf2pppp_anps_afptpt_brpt_ptquz_peraj_inroro_roromanianruru_ruru_uarumanianrussianrwrw_rwsa_insat_insc_itsdsd_inzsd_in@devanagari.utf8sd_pkse_noserbocroatiansgs_ltshzsh_ba.iso88592@bosniash_hrzsh_hr.iso88592sh_spsh_yushn_mmshs_casisi_lksid_etsinhalasksk_skslsl_cssl_sislovakslovene	sloveniansm_wsso_djso_etso_keso_sospsp_yuspanishspanish_spainsqsq_alsq_mksrzsr@cyrilliczsr@latnsr_cszsr_cs.iso88592@latnz
sr_cs@latnsr_mesr_rsz
sr_rs@latnsr_spsr_yuzsr_yu.cp1251@cyrilliczsr_yu.iso88592zsr_yu.iso88595zsr_yu.iso88595@cyrilliczsr_yu.microsoftcp1251@cyrillicz
sr_yu.utf8zsr_yu.utf8@cyrilliczsr_yu@cyrillicssss_zastst_zasvsv_fisv_sesw_kesw_tzswedishszl_pltata_inzta_in.tsciizta_in.tscii0ta_lkztcy_in.utf8tete_intgtg_tjthth_thzth_th.tactiszth_th.tis620thaithe_npti_erti_ettig_ertk_tmtltl_phtntn_zato_totpi_pgtrtr_cytr_trr   ts_zatttt_ruztt_ru.tatarcyrztt_ru@iqtelifturkishug_cnukuk_uauniv	universalzuniversal.utf8@ucs4unm_usurur_inur_pkuzuz_uzzuz_uz@cyrillicveve_zavivi_vnz
vi_vn.tcvnzvi_vn.tcvn5712zvi_vn.visciizvi_vn.viscii111wawa_bewae_chwal_etwo_snxhxh_zayiyi_usyo_ngyue_hkyuw_pgzhzh_cnz
zh_cn.big5z	zh_cn.euczh_hkzzh_hk.big5hkzh_sgz	zh_sg.gbkzh_twz	zh_tw.euczzh_tw.euctwzuzu_zaaf_ZAsq_ALgsw_FRam_ETar_SAar_IQar_EGar_LYar_DZar_MAar_TNar_OMar_YEar_SYar_JOar_LBar_KWar_AEar_BHar_QAhy_AMas_INaz_AZba_RUeu_ESbe_BYbn_INbs_BAbr_FRbg_BGca_ESzh_CHSzh_TWzh_CNzh_HKzh_SGzh_MOzh_CHTco_FRhr_HRhr_BAcs_CZda_DKgbz_AFdiv_MVnl_NLnl_BEen_USen_GBen_AUen_CAen_NZen_IEen_ZAen_JAen_CBen_BZen_TTen_ZWen_PHen_INen_MYet_EEfo_FOfil_PHfi_FIfr_FRfr_BEfr_CAfr_CHfr_LUfr_MCfy_NLgl_ESka_GEde_DEde_CHde_ATde_LUde_LIel_GRkl_GLgu_INha_NGhe_ILhi_INhu_HUis_ISid_IDiu_CAga_IEit_ITit_CHja_JPkn_INkk_KZkh_KHqut_GTrw_RWkok_INko_KRky_KGlo_LAlv_LVlt_LTdsb_DElb_LUmk_MKms_MYms_BNml_INmt_MTmi_NZarn_CLmr_INmoh_CAmn_MNmn_CNne_NPnb_NOnn_NOoc_FRor_INps_AFfa_IRpl_PLpt_BRpt_PTpa_INquz_BOquz_ECquz_PEro_ROrm_CHru_RUsmn_FIsmj_NOsmj_SEse_NOse_SEse_FIsms_FIsma_NOsma_SEsa_INsr_SPsr_BAsi_LKns_ZAtn_ZAsk_SKsl_SIes_ESes_MXes_GTes_CRes_PAes_DOes_VEes_COes_PEes_ARes_ECes_CLes_URes_PYes_BOes_SVes_HNes_NIes_PRes_USsw_KEsv_SEsv_FIsyr_SYtg_TJtmz_DZta_INtt_RUte_INth_THbo_BTbo_CNtr_TRtk_TMug_CNuk_UAwen_DEur_PKur_INuz_UZvi_VNcy_GBwo_SNxh_ZAsah_RUii_CNyo_NGzu_ZA)i6  i  i  i^  i  i  i  i  i  i  i  i   i$  i(  i,  i0  i4  i8  i<  i@  i+  iM  i,  i,  im  i-  i#  iE  i   i  i~  i  i  r%   i  i  i  i  i  i|  i  i  i  i  i  i  ie  i  i  i	  i	  i	  i	  i	  i	  i	  i	   i	$  i	(  i	,  i	0  i	4  i	@  i	D  i	H  i%  i8  id  i  i  i  i  i  i  i  ib  iV  i7  i  i  i  i  i  i  io  iG  ih  i  i9  i  i  i!  i]  i]  i<  i  i  i  iK  i?  iS  i  i  iW  i  i@  iT  i&  i'  i.  in  i/  i>  i>  iL  i:  i  iz  iN  i|  iP  iP  ia  i  i  i  iH  ic  i)  i  i  i  iF  ik  ik  ik  i  i  i  i;$  i;  i;  i;  i;  i;  i;   i;  i;  iO  i  i  i  i  i[  il  i2  i  i$  i
  i
  i
  i
  i
  i
  i
  i
   i
$  i
(  i
,  i
0  i
4  i
8  i
<  i
@  i
D  i
H  i
L  i
P  i
T  iA  i  i  iZ  i(  i_  iI  iD  iJ  i  iQ  iQ  i  iB  i  i"  i.  i   i   iC  iC  i*  iR  i  i4  i  ix  ij  i5  c              C   s  i } | fdd}|  | d= t d t d t \}}t d|p@d t d|pNd t   t d	 t d xL|  D ]@\}}t |d
 t|\}}t d|pd t d|pd t   qrW t   t d t d t  xP|  D ]D\}}t |d
 t|\}}t d|pd t d|pd t   qW yttd W n$   t d t d t d Y nlX t   t d t d xR|  D ]F\}}t |d
 t|\}}t d|pd t d|pd t   qxW d S )Nc             S   s4   x.t   D ] \}}|d d dkr|| |< qW d S )Nr#   LC_)globalsitems)
categorieskvr   r   r   _init_categories  s    z'_print_locale.<locals>._init_categoriesr   z4Locale defaults as determined by getdefaultlocale():zH------------------------------------------------------------------------z
Language: z(undefined)z
Encoding: zLocale settings on startup:z...z   Language: z   Encoding: z,Locale settings after calling resetlocale():r(   zNOTE:z9setlocale(LC_ALL, "") does not support the default localez&given in the OS environment variables.z4Locale settings after calling setlocale(LC_ALL, ""):)r   r   r  r   r   r   r   )r  r  langencnamer=   r   r   r   _print_locale  sV    





r  LC_MESSAGES__main__zLocale aliasing:zNumber formatting:)N)F)FF)FF)FF)TFF)r   )N)T)T)T)T)Jr   r   Zencodings.aliasesrerj   builtinsr   r   	functools__all__r   r   r   r   r   r   r   r   r  r   r   r   rC   r   r	   r   r  r   r
   r?   r@   wrapsrF   rU   rY   compilerf   rb   r   r   r   r   floatr   r   r   r   r   r   r   r   r   r   r   r   r   
startswithr   CODESET	NameErrorhasattrr   sortedr  r  r  r   
setdefaultr   r   r  rL   __name__r   r   r   r   r   <module>   s6  


	


%-S5
$}:

