[Python-porting] Some questions about build_py_2to3

Lennart Regebro regebro at gmail.com
Mon Dec 8 21:48:59 CET 2008


On Mon, Dec 8, 2008 at 21:26, Thomas Heller <theller at ctypes.org> wrote:
> Here is one example that isn't converted at all:
>
>  class CoClass(COMObject):
>      from comtypes._meta import _coclass_meta as __metaclass__

Uhm. Is that supposed to be a obfuscated trick for:

from comtypes._meta import _coclass_meta

class CoClass(COMObject):
      __metaclass__ = _coclass_meta

Because if it is I think it's better it's unobfoscated instead.

-- 
Lennart Regebro: Zope and Plone consulting.
http://www.colliberty.com/
+33 661 58 14 64


More information about the Python-porting mailing list