[Python-3000] Making more effective use of slice objects in Py3k

Jim Jewett jimjjewett at gmail.com
Tue Aug 29 23:01:08 CEST 2006


On 8/29/06, Guido van Rossum <guido at python.org> wrote:
> On 8/29/06, Josiah Carlson <jcarlson at uci.edu> wrote:
> > "Guido van Rossum" <guido at python.org> wrote:

> The type consistency and predictability is more important to me.

Why is it essential that string views be a different type, rather than
an internal implementation detail, like long vs int?  Today's strings
can already return a new object or an existing one which happens to be
equal.

Is this just a matter of efficiency, or are you making a fundamental
distinction?

-jJ


More information about the Python-3000 mailing list