Instance of class "object"
castironpi
castironpi at gmail.com
Fri May 16 11:21:07 EDT 2008
On May 16, 9:41 am, castironpi <castiro... at gmail.com> wrote:
> On May 16, 8:56 am, castironpi <castiro... at gmail.com> wrote:
>
>
>
>
>
> > On May 16, 8:51 am, castironpi <castiro... at gmail.com> wrote:
>
> > > On May 16, 4:26 am, Peter Otten <__pete... at web.de> 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.
>
> > I'd be modeling streams, in par. crossing them.- Hide quoted text -
>
> > - Show quoted text -
>
> Python 3.0a5 (py3k:62932M, May 9 2008
> win32
> Type "help", "copyright", "credits" or>>> import parser
> >>> import compiler
>
> Traceback (most recent call last):
> File "<stdin>", line 1, in <module>
> ImportError: No module named compiler
>
> Does anyone want to model mic-based soundwaves? My recent project has
> been color progression over time, and talking about compilers.- Hide quoted text -
>
> - Show quoted text -
Can 'compiler' come back in? I want to build a compiler + exec.
More information about the Python-list
mailing list