Message351046
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. |
|
Date |
User |
Action |
Args |
2019-09-03 01:04:27 | rhettinger | set | recipients:
+ rhettinger, tim.peters, belopolsky, vstinner, taleinat, berker.peksag, serhiy.storchaka, bmispelon, p-ganssle, corona10 |
2019-09-03 01:04:27 | rhettinger | set | messageid: <1567472667.55.0.0140280591473.issue24416@roundup.psfhosted.org> |
2019-09-03 01:04:27 | rhettinger | link | issue24416 messages |
2019-09-03 01:04:27 | rhettinger | create | |
|