Wolfgang wrote:
Hello,
Alex Martelli wrote:
The DictMixin class from the UserDict module is *not* deprecated -- only
the UserDict class from the same module. (If you found info saying
otherwise pls provide a URL: the info is wrong and I'll try to get it
fixed -- thanks!). DictMixin's purpose is e
Hello,
Alex Martelli wrote:
The DictMixin class from the UserDict module is *not* deprecated -- only
the UserDict class from the same module. (If you found info saying
otherwise pls provide a URL: the info is wrong and I'll try to get it
fixed -- thanks!). DictMixin's purpose is exactly as you st
Saturday 01 January 2005 23:34 pm Steven Bethard wrote:
[...]
> If you implemented the file interface functions yourself, why do you
> want to inherit from file?
[...]
> But just inheriting from list won't make this work, will it? Don't you
> want to do something like:
[...]
Right. I guess th
Uwe Mayer <[EMAIL PROTECTED]> wrote:
...
> If I used UserDict I would not need to specify all methods UserDict provides
> alreay, anyway.
The DictMixin class from the UserDict module is *not* deprecated -- only
the UserDict class from the same module. (If you found info saying
otherwise pls pr
Uwe Mayer wrote:
Saturday 01 January 2005 22:48 pm Hans Nowak wrote:
I am curious, what would you do with a class that derives from both file
and dict?
I was writing a class that read /writes some binary file format. I
implemented the functions from the file interface such that they are
refering to
Uwe Mayer wrote:
Why is the UserDict module is deprecated after Python 2.2. The
application of it I have in mind is, i.e. multiple inheritance from
"file" and "dic" - which is not possible.
[...]
I was writing a class that read /writes some binary file format. I
implemented the functions from the f
Saturday 01 January 2005 22:48 pm Hans Nowak wrote:
> Uwe Mayer wrote:
>
>> Why is the UserDict module is deprecated after Python 2.2. The
>> application of it I have in mind is, i.e. multiple inheritance from
>> "file" and "dic" - which is not possible.
> I am curious, what would you do with a
Uwe Mayer wrote:
Why is the UserDict module is deprecated after Python 2.2. The application
of it I have in mind is, i.e. multiple inheritance from "file" and "dic" -
which is not possible.
I am curious, what would you do with a class that derives from both file
and dict?
--
Hans Nowak
http://ze