Author loewis
Recipients ezio.melotti, lemburg, loewis, taleinat, terry.reedy
Date 2014-06-22.09:32:12
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <1403429533.19.0.935270502007.issue21765@psf.upfronthosting.co.za>
In-reply-to
Content
Tal: If you want to verify your is_id_char function, you could use the code

for i in range(65536):
    c = chr(i)
    c2 = 'a'+c
    if is_id_char(c) != c2.isidentifier():
        print('\\u%.4x'%i,is_id_char(c),c2.isidentifier())

Alternatively, you could use the strategy taken in that code for is_id_char itself:

def is_id_char(c):
  return ('a'+c).isidentifier()
History
Date User Action Args
2014-06-22 09:32:13loewissetrecipients: + loewis, lemburg, terry.reedy, taleinat, ezio.melotti
2014-06-22 09:32:13loewissetmessageid: <1403429533.19.0.935270502007.issue21765@psf.upfronthosting.co.za>
2014-06-22 09:32:13loewislinkissue21765 messages
2014-06-22 09:32:12loewiscreate