[pyc] callable as class

  • From: <art@xxxxxxxxxxxxxxxxxx>
  • To: <pyc@xxxxxxxxxxxxx>
  • Date: Fri, 21 Oct 2005 10:27:17 +0200

Hi,

Would it be possible (using pyc parser/compiler) to parse/convert :

<callable> <name> <tuple>:
  <definitions>

into:

class <name> <tuple>:
  __metaclass__ = <callable>
  <definitions>

Thanks in advance,
Wiktor Sadowski
see Michele Simionato proposition:
http://mail.python.org/pipermail/python-dev/2005-October/057435.html


Other related posts: