[Python-Dev] Extending Python by Adding Keywords & Data types

"Martin v. Löwis" martin at v.loewis.de
Tue Jul 31 23:33:49 CEST 2007


> II want to add some more KEYWORDS and DATATYPES into the python script
> apart from the existing ones.

In addition to what Aahz said: take a look at PEP 306 for adding
keywords. If you don't understand it, *don't* ask here, but on
comp.lang.python instead.

For adding new datatypes, look at xxmodule.c. The same disclaimer
applies: if you have any questions about that, don't ask here.

Regards,
Martin


More information about the Python-Dev mailing list