Message319851
Of late, people have been very concerned with namedtuple construction time, so I'm disinclined to add this overhead for something that doesn't seem to have been a problem in the real world.
Also, the SyntaxError seems reasonable. That is the same error given by a regular function definition or types.SimpleNamespace:
>>> def f(µ=1, μ=2):
pass
SyntaxError: duplicate argument 'μ' in function definition
>>> SimpleNamespace(µ=1, μ=2)
SyntaxError: keyword argument repeated |
|
Date |
User |
Action |
Args |
2018-06-18 02:25:28 | rhettinger | set | recipients:
+ rhettinger, eric.smith, John Cooke |
2018-06-18 02:25:28 | rhettinger | set | messageid: <1529288728.6.0.56676864532.issue33880@psf.upfronthosting.co.za> |
2018-06-18 02:25:28 | rhettinger | link | issue33880 messages |
2018-06-18 02:25:28 | rhettinger | create | |
|