B °-_ ã@szdZddlZddlZej d¡r,d dd„ZnJy 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)NzUTF-8é)ÚsysÚflagsÚ utf8_modeÚ_localeZ_getdefaultlocale)Ú do_setlocale©r ú!/usr/lib/python3.7/_bootlocale.pyÚgetpreferredencoding sr ZgetandroidapilevelcCsdS)NzUTF-8r )rr r r r scCstjjr dSddl}| |¡S)NzUTF-8r)rrrÚlocaler )rr r r r r scCs6|rt‚tjjrdSt tj¡}|s2tjdkr2d}|S)NzUTF-8Ú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