copy on write

Devin Jeanpierre jeanpierreda at
Thu Feb 2 18:21:37 CET 2012

On Thu, Feb 2, 2012 at 11:28 AM, MRAB <python at> wrote:
> Should failed assignment be raising TypeError? Is it really a type
> error?

A failed setitem should be a TypeError as much as a failed getitem
should. Should 1[0] be a TypeError?

-- Devin

More information about the Python-list mailing list