Extending Python by Adding Keywords & Data types

Maximus Decimus pingmaximus at gmail.com
Wed Aug 1 03:42:38 CEST 2007


Since, I am an amateur in using python, could you please be more
specific. For new data types, you had asked to implement the classes.
I intend to use C for implementing these data types. So where do i
need to implement these classes ie under which file or module in the
python package.

Thanks in advance.


On Jul 31, 5:16 pm, Marc 'BlackJack' Rintsch <bj_... at gmx.net> wrote:
> On Tue, 31 Jul 2007 20:28:59 +0000, Maximus Decimus wrote:
> > II want to add some more KEYWORDS and DATATYPES into the python script
> > apart from the existing ones.
>
> New data types are easy: Just implement the classes.
>
> Why do you need new keywords?  Can't the problem at hand be expressed in
> functions and classes/methods?
>
> Ciao,
>         Marc 'BlackJack' Rintsch





More information about the Python-list mailing list