Message275896
So I think its fine to have a __len__ reporting 4. tuple(..) works via the iter() call, but thats really just a thunk to keep existing code working, and so __len__ for the same reason makes sense.
On the documentation issue, yes, updating the docs is appropriate.
Having the repr produce all the elements would be ok, the reason it is lazy is to avoid high costs for transient FrameSummary when its created and discarded shortly after. |
|
Date |
User |
Action |
Args |
2016-09-12 00:15:27 | rbcollins | set | recipients:
+ rbcollins, r.david.murray, docs@python, matrixise, zopieux, torsava |
2016-09-12 00:15:26 | rbcollins | set | messageid: <1473639326.1.0.485272951473.issue25573@psf.upfronthosting.co.za> |
2016-09-12 00:15:26 | rbcollins | link | issue25573 messages |
2016-09-12 00:15:25 | rbcollins | create | |
|