Groups
Groups
Sign in
Groups
Groups
clepy
Conversations
About
Send feedback
Help
Need good example uses for metaclasses
0 views
Skip to first unread message
Matt Wilson
unread,
Apr 15, 2008, 10:25:08 PM
4/15/08
Reply to author
Sign in to reply to author
Forward
Sign in to forward
Delete
You do not have permission to delete messages in this group
Copy link
Report message
Show original message
Either email addresses are anonymous for this group or you need the view member email addresses permission to view the original message
to clepy
Does anyone have any good examples of when metaclasses are the most
elegant solution?
Examples I like that I've already heard:
* Make properties out of methods based on their names
* Apply decorators to all the methods on a class
All ideas welcome. Full disclosure: I'm working on an article about
metaclasses. I'll happily credit anyone that gives me a useful idea.
Matt
Reply all
Reply to author
Forward
0 new messages