22 Answered Questions

[SOLVED] What are metaclasses in Python?

24 Answered Questions

[SOLVED] Creating a singleton in Python

6 Answered Questions

[SOLVED] class << self idiom in Ruby

4 Answered Questions

[SOLVED] Ruby metaclass confusion

  • 2012-05-09 22:33:02
  • Perello
  • 3524 View
  • 13 Score
  • 4 Answer
  • Tags:   ruby metaclass

7 Answered Questions

[SOLVED] How to read class attributes in the same order as declared?

1 Answered Questions

[SOLVED] When should I subclass EnumMeta instead of Enum?

1 Answered Questions

[SOLVED] __metaclass__ in Python 3

  • 2016-08-18 08:23:44
  • wyx
  • 11038 View
  • 18 Score
  • 1 Answer
  • Tags:   python metaclass

1 Answered Questions

[SOLVED] Dynamic Class Creation in SQLAlchemy

1 Answered Questions

[SOLVED] Are classes objects in Objective-C?

4 Answered Questions

[SOLVED] How to wrap every method of a class?

5 Answered Questions

[SOLVED] Using the __call__ method of a metaclass instead of __new__?

  • 2011-08-06 12:28:37
  • Eli Bendersky
  • 21211 View
  • 43 Score
  • 5 Answer
  • Tags:   python oop metaclass

2 Answered Questions

6 Answered Questions

[SOLVED] Resolving metaclass conflicts

1 Answered Questions

[SOLVED] Provide __classcell__ example for Python 3.6 metaclass

6 Answered Questions

[SOLVED] How to auto register a class when it's defined

7 Answered Questions

[SOLVED] Auto-register class methods using decorator

1 Answered Questions

2 Answered Questions

[SOLVED] Automatically setting an enum member's value to its name

19 Answered Questions

[SOLVED] What are some (concrete) use-cases for metaclasses?

  • 2008-12-24 20:13:06
  • Ali Afshar
  • 25286 View
  • 120 Score
  • 19 Answer
  • Tags:   python metaclass

4 Answered Questions

1 Answered Questions

[SOLVED] Metaclass not being called in subclasses

  • 2009-11-20 14:18:55
  • agiliq
  • 1577 View
  • 11 Score
  • 1 Answer
  • Tags:   python metaclass

2 Answered Questions

[SOLVED] Can I define a __repr__ for a class rather than an instance?

3 Answered Questions

[SOLVED] Intercept operator lookup on metaclass

1 Answered Questions

[SOLVED] Use class method not instance method with the same name

  • 2015-02-24 15:00:50
  • linkyndy
  • 414 View
  • 1 Score
  • 1 Answer
  • Tags:   python metaclass

4 Answered Questions

[SOLVED] Metaclass Mixin or Chaining?

  • 2011-01-10 21:32:34
  • kolypto
  • 12530 View
  • 32 Score
  • 4 Answer
  • Tags:   python metaclass

4 Answered Questions

5 Answered Questions

[SOLVED] Is there a way to set metaclass after the class definition?

  • 2011-02-25 17:43:47
  • Utku Zihnioglu
  • 17560 View
  • 14 Score
  • 5 Answer
  • Tags:   python metaclass

3 Answered Questions

[SOLVED] Decorating a class method after @property

1 Answered Questions

[SOLVED] What does Python's builtin __build_class__ do?