On Dec 14, 2007 4:05 PM, Phillip J. Eby <[EMAIL PROTECTED]> wrote:
> At 12:46 PM 12/15/2007 +1300, Greg Ewing wrote:
> >Phillip J. Eby wrote:
> > > Er, no, its functionality *isn't* replaced by subclassable dict,
> > > since subclassable dict does stuff you can't override (e.g. copy()
> > > doesn't
At 12:46 PM 12/15/2007 +1300, Greg Ewing wrote:
>Phillip J. Eby wrote:
> > Er, no, its functionality *isn't* replaced by subclassable dict,
> > since subclassable dict does stuff you can't override (e.g. copy()
> > doesn't return a subclass instance).
>
>But you could override copy() in your dict s
Guido van Rossum wrote:
> int, str, float and a few others were
> *functions* before Python 2.2, like len, id etc. still are. We turned
> int etc. into builtin types
I think this illustrates that any convention which assigns
different case to functions and classes can only ever be
a heuristic in P
Phillip J. Eby wrote:
> Er, no, its functionality *isn't* replaced by subclassable dict,
> since subclassable dict does stuff you can't override (e.g. copy()
> doesn't return a subclass instance).
But you could override copy() in your dict subclass.
--
Greg
_
On Dec 14, 2007 3:57 PM, Christian Heimes <[EMAIL PROTECTED]> wrote:
> Brett has started the stdlib reorg. In the past couple of days we have
> created a list of modules to be renamed or removed. We have *not* made
> any decision yet. The User* modules are just marked as to be
> extinguished during
Phillip J. Eby wrote:
> At 08:51 AM 12/14/2007 +0100, Christian Heimes wrote:
>> UserDict is a relict from the
>> past and scheduled for removal.
>
> Really? Why?
Because a Google Spreed Sheet says so. *jk*
> Er, no, its functionality *isn't* replaced by subclassable dict,
> since subclassable
On Dec 14, 2007 11:51 AM, Facundo Batista <[EMAIL PROTECTED]> wrote:
> Python-related projects: join the PyCon Development Sprints!
>
> The development sprints are a key part of PyCon, a chance for the
> contributors to open-source projects to get together face-to-face for
> up to four days of inte
Python-related projects: join the PyCon Development Sprints!
The development sprints are a key part of PyCon, a chance for the
contributors to open-source projects to get together face-to-face for
up to four days of intensive learning and development. Newbies sit at
the same table as the gurus, g
On Dec 14, 2007 3:54 AM, Phillip J. Eby <[EMAIL PROTECTED]> wrote:
> At 08:51 AM 12/14/2007 +0100, Christian Heimes wrote:
> >UserDict is a relict from the
> >past and scheduled for removal.
>
> Really? Why?
Yes. Or it should be rewritten as a tiny shim on top of
collections.MutableMapping, which
At 08:51 AM 12/14/2007 +0100, Christian Heimes wrote:
>UserDict is a relict from the
>past and scheduled for removal.
Really? Why?
>It's functionality is replaced by the
>subclass-able dict type and ABCs.
Er, no, its functionality *isn't* replaced by subclassable dict,
since subclassable dict
On 2007-12-14, Christian Heimes wrote:
> Mark Summerfield wrote:
> > Hi,
> >
> > I was wondering if it is yet known what the right way to open text files
> > in P3K will be?
> >
> > According to the docs the signature for open() is:
> >
> > open(filename[, mode[, bufsize]])
>
> The docs must be
11 matches
Mail list logo