no return values for __init__ ??
Eugene Goodrich
bitbucket at isomedia.com
Sat Jan 8 01:47:25 EST 2000
On Sat, 08 Jan 2000 05:05:51 +0100, Helge Hess <helge.hess at mdlink.de>
wrote:
>Aahz Maruch wrote:
>>
>> Not directly, no. I think it breaks compatibility with Python's
>> extremely simple object model and I would be surprised if Guido
>> disagrees with me.
>
>Hm, I wonder why it is simpler to have two separate kinds of methods
>instead of a consistent behaviour for all methods ?
>
I suppose if it bothers you that much, you could just stop using
__init__. :)
Seriously, when I was first learning Python, I didn't know about any
of the "magic" functions, so I lived without __init__. As far as I
knew, all functions really were alike. I side with Aahz on keeping it
simple enough to sucker, uh, induct, no, uh, attract new users to
Python.
-Eugene
import binascii; print binascii.a2b_base64 ('ZXVnZW5lQGlzb21lZGlhLmNvbQ==')
More information about the Python-list
mailing list