Author levkivskyi
Recipients alexdelorenzo, eric.smith, levkivskyi
Date 2018-08-09.12:26:28
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <1533817588.43.0.56676864532.issue34363@psf.upfronthosting.co.za>
In-reply-to
Content
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.
History
Date User Action Args
2018-08-09 12:26:28levkivskyisetrecipients: + levkivskyi, eric.smith, alexdelorenzo
2018-08-09 12:26:28levkivskyisetmessageid: <1533817588.43.0.56676864532.issue34363@psf.upfronthosting.co.za>
2018-08-09 12:26:28levkivskyilinkissue34363 messages
2018-08-09 12:26:28levkivskyicreate