A really bad idea.

Manuel M. Garcia mgarcia at cole-switches.com
Fri Nov 15 15:11:58 EST 2002


On Fri, 15 Nov 2002 12:50:39 -0500, Tim Peters <tim.one at comcast.net>
wrote:
(edit)
>waiting-for-someone-to-ask-for-class-comprehensions-ly y'rs  - tim

NewClass = [WrapInsideProperty(attribute) for attribute in OldClass]

would be nice.

FastClass = [ImplementAsCExtension(method) for method in SlowClass if
UsedAlotAndRunsTooSlow(method)]

would be very nice.

Python 2.4?

Manuel



More information about the Python-list mailing list