Message281551
> Should we check that code is exact list?
Do you mean a tuple for indexgroup? Yeah, it also seems worth it.
I just checked:
---
class Tuple(tuple):
def __getitem__(self, index):
return 9
a = Tuple([1, 2, 3])
print(a[0])
---
Output:
---
9
--- |
|
Date |
User |
Action |
Args |
2016-11-23 10:23:19 | vstinner | set | recipients:
+ vstinner, ezio.melotti, mrabarnett, python-dev, serhiy.storchaka |
2016-11-23 10:23:19 | vstinner | set | messageid: <1479896599.13.0.332248434841.issue28765@psf.upfronthosting.co.za> |
2016-11-23 10:23:19 | vstinner | link | issue28765 messages |
2016-11-23 10:23:18 | vstinner | create | |
|