Message221238
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() |
|
Date |
User |
Action |
Args |
2014-06-22 09:32:13 | loewis | set | recipients:
+ loewis, lemburg, terry.reedy, taleinat, ezio.melotti |
2014-06-22 09:32:13 | loewis | set | messageid: <1403429533.19.0.935270502007.issue21765@psf.upfronthosting.co.za> |
2014-06-22 09:32:13 | loewis | link | issue21765 messages |
2014-06-22 09:32:12 | loewis | create | |
|