GV

GeezerVison

The World Wide Web, restored to 800 pixels of glory.

Home|About|Gaming cabinet|Archives|How it works|Starter sites

On this site

  • [Python-Dev] PEP 8: Discourage named lambdas?
  • [ date ]
  • [ thread ]
  • [ subject ]
  • [ author ]

This view

  • Original page
  • New address

GeezerVison is showing mail.python.org — [Python-Dev] Dotted/indexed defs ? Re: PEP 8: Discourage named lambdas?

[Python-Dev] Dotted/indexed defs ? Re: PEP 8: Discourage named lambdas?

Greg Ewing greg.ewing at canterbury.ac.nz
Tue May 6 02:36:55 CEST 2008

  • Previous message: [Python-Dev] Dotted/indexed defs ? Re: PEP 8: Discourage named lambdas?
  • Next message: [Python-Dev] PEP 8: Discourage named lambdas?
  • Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]

Boris Borcic wrote:

>     def inst.bar(...) : ...
>     def fn[k](...) : ...
> 
> should be similarly permitted. Has this ever been discussed ?

Yes, but there didn't seem to be much interest in
the idea. Which is disappointing, because it would
be ideal for setting up function tables and such
like.

One small problem is that there would be no sensible
name to give the function object, but that's no
worse than what you get when using a lambda.

-- 
Greg

  • Previous message: [Python-Dev] Dotted/indexed defs ? Re: PEP 8: Discourage named lambdas?
  • Next message: [Python-Dev] PEP 8: Discourage named lambdas?
  • Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]

More information about the Python-Dev mailing list
You are visitor 01402520 — GeezerVison does not store the pages you look up.
Best viewed with Netscape Navigator 4.7 or Internet Explorer 6 at 800×600. No cookies required.