Changes between Initial Version and Version 1 of Ticket #20743, comment 10


Ignore:
Timestamp:
06/02/16 16:05:40 (6 years ago)
Author:
kedlaya
Comment:

Legend:

Unmodified
Added
Removed
Modified
  • Ticket #20743, comment 10

    initial v1  
    55> By the way, I'm not totally convinced myself that it's the best solution. It is the best solution to the practical problem of backwards-compatibility. But it does introduce some clutter: yet another list-like type.
    66
    7 But it might be unavoidable: tuples must consist of immutable objects, so it may not always be possible to return one.
     7But it might be unavoidable: tuples must consist of immutable objects, so it may not always be possible to return one. Another alternative would be for `.list()` to return a copy of the cached list, but I'm not sure this is better than jdemeyer's suggestion (it is worse from a performance point of view, since the copy is unnecessary if you don't actually attempt to modify the list).