On May 16, 4:26 am, Peter Otten <[EMAIL PROTECTED]> wrote:
> 甜瓜 wrote:
> >     I wonder why below does not work.
>
> > a = object()
> > a.b = 1        # dynamic bind attribute failed...
>
> The implementation of slots depends on that behaviour:
>
> http://docs.python.org/ref/slots.html
>
> > Does this strange behavior break the LSP (Liskov substitution principle)?
>
> Can you expand on that?
>
> Peter

Spirals are important.
--
http://mail.python.org/mailman/listinfo/python-list

Reply via email to