This issue tracker has been migrated to GitHub, and is currently read-only.
For more information, see the GitHub FAQs in the Python's Developer Guide.

Author levkivskyi
Recipients alexdelorenzo, eric.smith, levkivskyi
Date 2018-08-09.12:26:28
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <>
The problem with this solution is that it may brea (relatively common) use case of tuple valued fields, e.g.:

>>> tuple(*[x for x in a])
Traceback (most recent call last):
  File "<stdin>", line 1, in <module>
TypeError: tuple expected at most 1 arguments, got 2

Essentially, named tuples are all subclasses of `tuple` but they override __new__ in an incompatible way.
Date User Action Args
2018-08-09 12:26:28levkivskyisetrecipients: + levkivskyi, eric.smith, alexdelorenzo
2018-08-09 12:26:28levkivskyisetmessageid: <>
2018-08-09 12:26:28levkivskyilinkissue34363 messages
2018-08-09 12:26:28levkivskyicreate