Sept. 2, 2009
12:07 p.m.
Not advocating a change, merely pointing out that it's how Ruby works. K
-----Original Message----- From: python-dev-bounces+kristjan=ccpgames.com@python.org [mailto:python-dev-bounces+kristjan=ccpgames.com@python.org] On Behalf Of Nick Coghlan Sent: 2. september 2009 11:12 To: Greg Ewing Cc: python-dev@python.org Subject: Re: [Python-Dev] default of returning None hurts performance?
It also means adding a debugging message, assertion, or otherwise side-effect free statement can change the return value of the function. Not cool.