
July 12, 2007
11:58 p.m.
Georg Brandl wrote:
No, it's because they feel that the word "class" to introduce a property is ugly, and I can't blame them for it.
Yeah, it looks ugly, it's hard to understand if you aren't familiar with the technique and it doesn't integrate into documentation tools like pydoc. The trick isn't part of Python's stdlib, too. I like to see a clean solution that is easy to understand and not a genius but tricky metaclass hack. Christian