GV

GeezerVison

The World Wide Web, restored to 800 pixels of glory.

Home|About|Gaming cabinet|Archives|How it works|Starter sites

On this site

  • [Python-Dev] Slice as a copy... by design?
  • [Python-Dev] Slice as a copy... by design?
  • [ date ]
  • [ thread ]
  • [ subject ]
  • [ author ]

This view

  • Original page
  • New address

GeezerVison is showing mail.python.org — [Python-Dev] Slice as a copy... by design?

[Python-Dev] Slice as a copy... by design?

Aahz aahz at pythoncraft.com
Thu May 22 19:01:44 CEST 2008

  • Previous message: [Python-Dev] Slice as a copy... by design?
  • Next message: [Python-Dev] Slice as a copy... by design?
  • Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]

On Thu, May 22, 2008, Facundo Batista wrote:
> 
> A thread in PyAr raised the question that, considering that strings
> are immutable, why a slice of a string is a copy and not a reference
> to a part of that string.

Someone did a patch for this at one point, but I don't remember what
happened.
-- 
Aahz (aahz at pythoncraft.com)           <*>         http://www.pythoncraft.com/

Need a book?  Use your library!

  • Previous message: [Python-Dev] Slice as a copy... by design?
  • Next message: [Python-Dev] Slice as a copy... by design?
  • Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]

More information about the Python-Dev mailing list
You are visitor 01402520 — GeezerVison does not store the pages you look up.
Best viewed with Netscape Navigator 4.7 or Internet Explorer 6 at 800×600. No cookies required.