Raymond Hettinger wrote: > -1 on an extra built-in just to save the time for function call
The time isn't the main issue. The main issue is that almost all the use cases for round() involve doing an int() on it afterwards. At least nobody has put forward an argument to the contrary yet. Sure you can define your own function to do this. But that's still a considerable burden when you add up the effort over all the programs that use int(round()). -- Greg _______________________________________________ Python-Dev mailing list Python-Dev@python.org http://mail.python.org/mailman/listinfo/python-dev Unsubscribe: http://mail.python.org/mailman/options/python-dev/archive%40mail-archive.com