llanitedave <llanited...@birdandflower.com>:

> It's obvious that's what's needed here is a PEP requiring that the
> International Phonetic Alphabet be used for all Python identifiers and
> keywords.

You're onto something:

========================================================================
#!/ˈjuːzəɹ/bɪn/ɛnv ˈpaɪˌθɑːn3
# -*- ˈkoʊdɪŋ: ˌjuːˌtiːˌɛf-ˈ8 -*-

ˈɪmpoɹt loʊˈkæl

dɛf meɪn():
    tɹaɪ:
        ɹeɪz ˈVæljuːˈƐɹəɹ()
    ɪkˈsɛpt ˈVæljuːˈƐɹəɹ:
        tɹaɪ:
            ɹeɪz ˈAɪOʊˈƐɹəɹ()
        ˈfaɪnli:
            ɹeɪz

ɪf __neɪm__ == "__meɪn__":
    tɹaɪ:
        meɪn()
    ɪkˈsɛpt ˈVæljuːˈƐɹəɹ:
        pɹɪnt("Həˈloʊ")
========================================================================


Marko
-- 
https://mail.python.org/mailman/listinfo/python-list

Reply via email to