Is this a __slot__ bug?

Raymond Hettinger python at rcn.com
Sat Jun 29 20:57:36 EDT 2002


"Steve Menard" <steve.menard at vodeotron.ca> wrote in message
> However, I also love(need) private variables (those __X). It seems they
> dont work with slots.
 <snip>
> So if this is by design, I will not agree but I will do the workaround.
> If not, well then seems I founda bug :)
>
> Steve

Yes, you found a bug.
It takes a keen eye to spot one :-)

However, someone faster on the draw already reported it
and I've already fixed it (for Py2.2.2 and Py2.3).


Raymond Hettinger






More information about the Python-list mailing list