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 NeilGirdhar, alexdelorenzo, eric.smith, levkivskyi
Date 2018-08-10.10:57:10
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <1533898630.2.0.56676864532.issue34363@psf.upfronthosting.co.za>
In-reply-to
Content
Eric, I like your solution. It is probably not perfect, but at least it solves the existing problem without introducing obvious problems.

Neil, your way will not work since named tuples don't have NamedTuple in their MROs:

CustomNT.mro == (CustomNT, tuple, object)
History
Date User Action Args
2018-08-10 10:57:10levkivskyisetrecipients: + levkivskyi, eric.smith, NeilGirdhar, alexdelorenzo
2018-08-10 10:57:10levkivskyisetmessageid: <1533898630.2.0.56676864532.issue34363@psf.upfronthosting.co.za>
2018-08-10 10:57:10levkivskyilinkissue34363 messages
2018-08-10 10:57:10levkivskyicreate