c[:]()

Grant Edwards grante at visi.com
Fri Jun 1 10:33:58 EDT 2007


On 2007-06-01, Warren Stringer <warren at muse.com> wrote:

> I like your use case. Am I correct in assuming that `y = x[:];
> y()` is NOT to be found in working code?

No, you may not assume that.

> If that is the case, then nothing gets broken. It would be
> instructive to have a use case where enabling c[:]() would
> break existing code. 

I've already explained such a use case.

You still seem to be operating under the delusion that c[:] is
somehow different than c.

-- 
Grant Edwards                   grante             Yow! I'm imagining a surfer
                                  at               van filled with soy sauce!
                               visi.com            



More information about the Python-list mailing list