[libavg-devel] Constructor arguments and python attributes aligned
Ulrich von Zadow
uzadow at libavg.de
Sat Aug 1 13:10:16 CEST 2009
On Jul 29, 2009, at 11:45 PM, Nick Hebner wrote:
>
> > Warning: The attributes that I've removed are dangerous. Since
> this is
> > python, you can still set (for example) line.x1. It just won't do
> what
> > you expected anymore. Still, I think the cleaner interface is worth
> > it. (And if anyone has an idea on how to prevent usage of the
> removed
> > attributes, I'd be happy to hear it.)
>
> You might want to leave the old attributes defined and just throw an
> explanatory exception inside of the getters/setters. These would of
> course be removed entirely in a later version, but it would give
> people a chance to update their scripts.
Done :-).
Cheers,
Uli
--
Any technology distinguishable from magic is insufficiently advanced.
Ulrich von Zadow | +49-172-7872715
Jabber: coder at c-base.org
Skype: uzadow
More information about the libavg-devel
mailing list