[RFC/MERGE][bug #269535] python-2.6 compatibility
Martin Pool
mbp at canonical.com
Fri Sep 26 07:50:07 BST 2008
On Fri, Sep 26, 2008 at 1:30 PM, Andrew Bennetts <andrew at canonical.com> wrote:
> Martin Pool wrote:
> [...]
>> >
>> > - __init__ and __new__ doesn't accept parameters anymore. Some
>> > were easy to fix, some less. Remote transports using multiple
>> > inheritance for SmartMedium has been slightly reworked to
>> > *avoid* the multiple inheritance.
>>
>> I can't believe __init__ cannot take parameters any more. Do you mean
>> that object.__init__ won't accept any parameters it's given?
>
> Yes. That change was the resolution of
> <http://bugs.python.org/issue1683368>. It surprised me too, but it was
> intentional.
No, that makes sense, I just misinterpreted the first sentence of
vila's summary as saying that _no_ constructors could have arguments.
Which would be obviously silly.
--
Martin <http://launchpad.net/~mbp/>
More information about the bazaar
mailing list