Why GIL?

Carl Banks pavlovevidence at gmail.com
Sat Jan 24 21:27:32 CET 2009


On Jan 24, 12:24 pm, Carl Banks <pavlovevide... at gmail.com> wrote:
> On Jan 24, 12:33 am, Hrvoje Niksic <hnik... at xemacs.org> wrote:
>
> > Carl Banks <pavlovevide... at gmail.com> writes:
> > > Anyway, all you're doing is distracting attention from my claim that
> > > instance objects wouldn't need to be locked.  They wouldn't, no
> > > matter how mutable you insist these objects whose bits would never
> > > change are.
>
> > Only if you're not implementing Python, but another language that
> > doesn't support __slots__ and assignment to instance.__dict__.
>
> I am only going to say all Python types prior to 3.0 support classes
> without __slots__,

I made a mistake, and I don't want to risk confusion at this point.

"all Python ***versions** prior to 3.0"

and I am talking about old-style classes, of course.  Prior to 2.2 no
classes at all supported slots.


Carl Banks



More information about the Python-list mailing list