On Wed, 23 Jul 2008 09:42:29 -0700, castironpi wrote:

> On Jul 23, 9:11 am, Marc 'BlackJack' Rintsch <[EMAIL PROTECTED]> wrote:
>> On Wed, 23 Jul 2008 14:10:22 +0200, mk wrote:
>> > Marc 'BlackJack' Rintsch wrote:
>> >> I can't even remember when I deleted something from a list in the past.
>>
>> > Still, doesn't that strike you as.. workaround?
>>
>> No, I find it actually safer; I don't have to care where modifications of
>> the list might be seen elsewhere in the program.
>>
>> Ciao,
>>         Marc 'BlackJack' Rintsch
> 
> a[:]= newlist
> 
> and
> 
> a= newlist
> 
> have two completely different effects, and one is just as safe as
> 'del'.  Besides, del isn't safe to be seen elsewhere in the program in
> other threads, if they aren't locking the GIL.

As usual you are talking nonsense…

Ciao,
        Marc 'BlackJack' Rintsch
--
http://mail.python.org/mailman/listinfo/python-list

Reply via email to