Links

Lists

Latest Updates

Ruby On Rails List
Python list
Advanced Java
The JavaScript List
Apache Users
Full Disclosure
Linux Security

Search the archives!


[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Extending Python by Adding Keywords & Data types


  • From: pingmaximus at gmail.com (Maximus Decimus)
  • Subject: Extending Python by Adding Keywords & Data types
  • Date: Wed, 01 Aug 2007 01:42:38 -0000

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