[Python-Dev] Re: List slice assignment and custom sequences

Guido van Rossum guido@python.org
Tue, 05 Nov 2002 13:00:16 -0500


> > I sure hope so. I've posted a bug+patch at SF for a related problem: 
> > With the introduction of new-style classes 'isinstance(obj, list)' no 
> > longer guarantees that you can savely poke in the RHS instead of using 
> > the __getitem__ accessor function.
> 
> Hmm, that's something (slightly) else.
> 
> I wonder if PySequence_FAST should use PyList_CheckExact and not 
> PyList_Chec?  Guido?

+1

--Guido van Rossum (home page: http://www.python.org/~guido/)