Implementing the factory design pattern using metaclasses in python
- by noam
I found a lot of links on metaclasses, and most of them mention that they are useful for implementing factory methods. Can you show me an example of using metaclasses to implement the design pattern?