use str as variable name

Michele Simionato michele.simionato at
Sat Sep 6 08:39:02 CEST 2008

On Sep 6, 8:02 am, "Marco Bizzarri" <marco.bizza... at> wrote:
> On Fri, Sep 5, 2008 at 9:16 PM, Bruno Desthuilliers
> <bdesth.quelquech... at> wrote:
> > Marco Bizzarri a écrit :
> >> Just a question: "generic functions" are not meant in the sense of
> >> "generic functions" of CLOS, am I right?
> > Nope. Just "generic" in the sense that they accept any object implementing a
> > very minimal interface.
> > If you want something like CLOS multimethods, you may be interested in
> > Philip Eby's ruledispatch.
> Even though I loved them when I used at university, I'm not looking
> for them right now... but nice to know that they are available under
> python :-)

Actually they are already available in the standard library but they
are undocumented. See for instance
this recent blog post of mine:

(as well as the comment below by P.J. Eby)

More information about the Python-list mailing list