codon icon indicating copy to clipboard operation
codon copied to clipboard

Metaclasses

Open elkarouh opened this issue 3 years ago • 2 comments

Are there any plans to support metaclasses? Codon gives syntax error when using class Klass(metaclass=...)

elkarouh avatar Apr 17 '23 11:04 elkarouh

Can't speak for what codon does or will support.

This is general conversation about Python metaclass.

Recent change occurred, which depreciates metaclass in favor of __init_subclass__

So the codon devs can get away with not supporting metaclasses in favor of __init_subclass__

Metaclasses run into metaclass conflicts that are resolvable, but the syntax is awkward and non-intuitive.

msftcangoblowm avatar Apr 24 '23 06:04 msftcangoblowm

I tried to import types library from Python, but it doesn't solve this problem.

przemyslaw0 avatar Sep 24 '23 16:09 przemyslaw0