On Thu, Jan 5, 2012 at 2:59 PM, Daniel Hyams <dhy...@gmail.com> wrote:

> Right, __slots__ is definitely not a good idea to use except in very
> specific situations.  I would strongly recommend against its usage here.
>
> http://groups.google.com/group/comp.lang.python/msg/0f2e859b9c002b28
>
>
>
Good to know.  I haven't used slots regularly before and was unaware of the
controversy around it.

The good news is that the slots mechanism isn't critical to the Style()
class anyway.  What is more important is the use of properties and setting
up the fallbacks.  Heck, I am not entirely convinced that I would need to
include the alternative spellings for the properties.

Ben Root
------------------------------------------------------------------------------
Ridiculously easy VDI. With Citrix VDI-in-a-Box, you don't need a complex
infrastructure or vast IT resources to deliver seamless, secure access to
virtual desktops. With this all-in-one solution, easily deploy virtual 
desktops for less than the cost of PCs and save 60% on VDI infrastructure 
costs. Try it free! http://p.sf.net/sfu/Citrix-VDIinabox
_______________________________________________
Matplotlib-users mailing list
Matplotlib-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/matplotlib-users

Reply via email to