Nick Coghlan <[email protected]> added the comment:
I thought about that, and I'd prefer a dedicated dictionary to avoid questions
of name conflicts.
Wrapping the keyword args in a dict() call is still pretty clean:
C = operator.build_class('C', (A, B), dict(metaclass=MyMeta))
----------
_______________________________________
Python tracker <[email protected]>
<http://bugs.python.org/issue14588>
_______________________________________
_______________________________________________
Python-bugs-list mailing list
Unsubscribe:
http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com