The group you are posting to is a Usenet group. Messages posted to this group will make your email address visible to anyone on the Internet.
Your reply message has not been sent.
Your post was successful
Newsgroups: comp.lang.python
From: Duncan Booth <duncan.bo...@invalid.invalid>
Date: 25 Apr 2006 13:25:31 GMT
Local: Tues, Apr 25 2006 9:25 am
Subject: Re: OOP / language design question
Carl Banks wrote: There is a significant difference: imagine B is a base type and C a > You know, Python's __init__ has almost the same semantics as C++ > constructors (they both initialize something that's already been > allocated in memory, and neither can return a substitute object). subclass of B: When you create an object of type C in Python, while B.__init__ is In C++ when the B() constructor is executing the object is an object of In other words, the object is constructed in Python before any __init__ is You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
| ||||||||||||||