PEP 284, Integer for-loops

Hernan M. Foffani hfoffani at yahoo.com
Sun Mar 10 09:48:56 EST 2002


Roy Smith, 12 range() in 6100 lines
David Mertz, 2 in 3100
James Althoff, almost 300 in Jython code

James, is it too difficult to extend java inherited classes
to behave in a more pythonic tradition way?

For instance, instead of collection.getCount() have the
chance to use collection.__len__()?

I guess that is not possible to override a superclass,
right?

Regards,
-Hernan





More information about the Python-list mailing list