Python Written in C?

castironpi castironpi at gmail.com
Thu Jul 24 19:37:52 CEST 2008


On Jul 23, 12:10 pm, Marc 'BlackJack' Rintsch <bj_... at gmx.net> wrote:
> On Wed, 23 Jul 2008 09:42:29 -0700, castironpi wrote:
> > On Jul 23, 9:11 am, Marc 'BlackJack' Rintsch <bj_... at gmx.net> 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

As usual you are taking flamebait!



More information about the Python-list mailing list