2018-07-03 | Paul Boddie | file changeset files shortlog | Introduced a class (unpackable) and method (__get_single_item_unchecked__) to support sequence unpacking without index checking overhead, since the translator emits a test for the length of each sequence and controls the actual index values used. | tuple-optimisations |
paul@375 | 1 | import locale |
paul@375 | 2 | |
paul@375 | 3 | print locale.getlocale() |
paul@375 | 4 | print locale.initlocale() |
paul@375 | 5 | print locale.getlocale() |
paul@375 | 6 | print locale.setlocale(locale.LC_CTYPE, "en_GB.UTF-8") |
paul@375 | 7 | print locale.getlocale() |