Peter Otten wrote:
> Edward Elliott wrote:
>>The fact that even numeric literals are objects make me suspicious of Ruby
>>as a general-purpose language though. 
> 
>>>>add_one = 1 .__add__
> 
> Just in case you didn't know...

True enough, but I don't often see Python code treating numbers as objects. 
  In Ruby it's right in the tutorials.  Which may be fine; I'm not 
discounting Ruby, I'm just cautious.
-- 
http://mail.python.org/mailman/listinfo/python-list

Reply via email to