INADA Naoki added the comment:

> If someone comes forward with more fully formed idea for code generation or 
> overall structural enchancement, that can be put in another tracker item.

I noticed argument clinic supports Python [1]. So there is one way to code 
generation already.
Attached patch uses Argument Clinic and Makefile to generate source.

[1]: 
https://docs.python.org/3.5/howto/clinic.html#using-argument-clinic-in-python-files

----------
Added file: http://bugs.python.org/file45578/namedtuple-clinic.diff

_______________________________________
Python tracker <rep...@bugs.python.org>
<http://bugs.python.org/issue28638>
_______________________________________
_______________________________________________
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com

Reply via email to