Re[2]: Prothon on CPython intrepreter? [PROTHON]

Lenard Lindstrom <[email protected]> Sat, 14 Aug 2004 09:47:59 -0700 (Pacific Daylight Time)
Newsgroups gmane.comp.lang.prothon.user
Message-ID <Mahogany-0.66.0-4294645187-20040814-095217.00@pop3.norton.antivirus>
On Thu, 12 Aug 2004 14:23:14 -0400 Laurent Dube <[email protected]> wrote:

> Samir Patel wrote:
> 
> > Link about pycore effort:
> > http://webpages.charter.net/allanms/2004/08/you-dont-tug-on-supermans-cape.html
> 
> Gosh! Is it all true?
> 
But did anyone notice this proviso:

   3. Be able to run any Python program (some possibly slower than CPython) that does not:
         ....
         d. Subclass any of the built-in types (bool, int, long, tuple, list, str, unicode, and possibly others).


Subclassing built-in types like int is what all the fuss over new-style classes is about.
And I spent a good part of the month of May one prothon-user discussing how to do it
with Prothon built-in prototypes. If subclassing built-ins is not an important part
of a dynamic language then one might as well go the final step and add static type
declarations for built-ins.

Lenard Lindstrom
<[email protected]>