PEP 3131: Supporting Non-ASCII Identifiers

Michel Claveau mcPas.De.Spam at mclaveauPas.De.Spam.com
Tue May 15 16:28:32 EDT 2007


Hi!

Yes, for legibility.

If letters with accents are possible:

 d=dict(numéro=1234, name='Löwis', prénom='Martin', téléphone='+33123')

or

 p1 = personn()   #class
 p1.numéro = 1234
 p1.name='Löwis'
 p1.prénom='Martin'
 p1.téléphone='+33123'



Imagine the same code, is accents are not possible...

Don't forget: we must often be connected to databases who already 
exists








-- 
@-salutations

Michel Claveau





More information about the Python-list mailing list