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 rhettinger
Recipients belopolsky, berker.peksag, bmispelon, corona10, p-ganssle, rhettinger, serhiy.storchaka, taleinat, tim.peters, vstinner
Date 2019-09-03.01:04:26
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <1567472667.55.0.0140280591473.issue24416@roundup.psfhosted.org>
In-reply-to
Content
What IS unprecedented is having a C function bend over backwards to return an instance of collections.namedtuple().  

The only case I know of is with functools.lru_cache() and it was done there because we didn't really have a choice -- there was a pre-existing pure python API that already used collections.namedtuple().

ISTM the cross-version pickling issue is minor red herring.  We've cheerfully upgraded tuples to structseqs on a number of occasions and it hasn't been an issue.

Tim, would you please weigh in on this so we can put this to bed, either closing the request because we're too meek to make any change, 
upgrading to structseq to provide the requested functionality, or twisting our code in weird ways to have a C function become dependent on a pure python module.
History
Date User Action Args
2019-09-03 01:04:27rhettingersetrecipients: + rhettinger, tim.peters, belopolsky, vstinner, taleinat, berker.peksag, serhiy.storchaka, bmispelon, p-ganssle, corona10
2019-09-03 01:04:27rhettingersetmessageid: <1567472667.55.0.0140280591473.issue24416@roundup.psfhosted.org>
2019-09-03 01:04:27rhettingerlinkissue24416 messages
2019-09-03 01:04:27rhettingercreate