Raymond Hettinger <raymond.hettin...@gmail.com> added the comment:

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

----------

_______________________________________
Python tracker <rep...@bugs.python.org>
<https://bugs.python.org/issue33880>
_______________________________________
_______________________________________________
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com

Reply via email to