Pascal int()

Bjorn Pettersen bjorn at roguewave.com
Mon Mar 20 18:57:20 CET 2000


Gordon McMillan wrote:
> [...]
> I can assure you that no Python god, archangel, angel,
> seraphim or cherubim would ever write anything but
>  a = a + 1
> 
> - Gordon

... of course, if P3K changed the meaning of 5 from "the object 5" to
"a constructor for an Integer class, setting the value to 5" you could
do all kinds of fun things, including:

	a = 5
	a.inc()

And even though it would be backwards compatible, I don't really have
high hopes for it being accepted (change? we don't need no stinking
change ;-)

-- bjorn




More information about the Python-list mailing list