3 \ã @sddZddlZddlZejjdƒr,d dd„Zn4y ejWnek rTd dd„ZYn Xd dd„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ÚwinTcCs tjƒdS)Né)Ú_localeZ_getdefaultlocale)Ú do_setlocale©rú#/usr/lib64/python3.6/_bootlocale.pyÚgetpreferredencoding srcCsddl}|j|ƒS)Nr)Úlocaler)rr rrrrscCs$tjtjƒ}| r tjdkr d}|S)NÚdarwinzUTF-8)rÚ nl_langinfoÚCODESETÚsysÚplatform)rÚresultrrrrs )T)T)T)Ú__doc__r rrÚ startswithrr ÚAttributeErrorrrrrÚs