Re: New appletrailers script and kaa.xmlutils

Hans Meine <[email protected]>
Newsgroups gmane.comp.video.freevo.devel
Message-ID <[email protected]>
Am Mittwoch 11 August 2010, 21:52:29 schrieb Jason Tackaberry:
> Or possibly I could keep __getattr__ and implement __setattr__,
> converting '_' to '-' so that there's symmetry with __getattr__, which
> would keep the same API as now but prevents ever being able to handle
> attributes that actually, truly use underscores (e.g. mplayer_options
> instead of mplayer-options).

That does not sound like zen-compatible python to me. :-)
("Explicit is better than implicit")

FWIW, the __setitem__ looks very good to me.

Have a nice day,
  Hans

------------------------------------------------------------------------------
This SF.net email is sponsored by 

Make an app they can't live without
Enter the BlackBerry Developer Challenge
http://p.sf.net/sfu/RIM-dev2dev
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.