Message319763
from collections import namedtuple
# create a namedtuple whose members are:
# 00B5;MICRO SIGN;Ll;
# 03BC;GREEK SMALL LETTER MU;Ll
# these are both legal identifier names
names = ['\u00b5', '\u03bc']
for name in names:
assert name.isidentifier()
mu = namedtuple('mu', names)
# should have raised ValueError, but instead get SyntaxError |
|
Date |
User |
Action |
Args |
2018-06-16 17:12:33 | John Cooke | set | recipients:
+ John Cooke |
2018-06-16 17:12:33 | John Cooke | set | messageid: <1529169153.27.0.56676864532.issue33880@psf.upfronthosting.co.za> |
2018-06-16 17:12:33 | John Cooke | link | issue33880 messages |
2018-06-16 17:12:33 | John Cooke | create | |
|