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

  • [ date ]
  • [ thread ]
  • [ subject ]
  • [ author ]

This view

  • Original page
  • New address

GeezerVison is showing mail.python.org — [Python-Dev] Adding C ternary select (a?b:c) to Python?

[Python-Dev] Adding C ternary select (a?b:c) to Python?

David Ascher [email protected]
Sun, 30 Jan 2000 10:07:51 -0800

  • Previous message: [Python-Dev] Adding C ternary select (a?b:c) to Python?
  • Next message: [Python-Dev] Adding C ternary select (a?b:c) to Python?
  • Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]

FWIW, the lack of a ternary select is one of the frequently asked questions
in my Python courses.  It would make TomC happier as well.  I'm not sure the
latter is a feature. =)

On the topic of aesthetics, the C syntax doesn't strike me as the ultimate
in pythonicity but it's not too bad either.  I can't think of an alternative
that doesn't involve a new reserved word.

--david






  • Previous message: [Python-Dev] Adding C ternary select (a?b:c) to Python?
  • Next message: [Python-Dev] Adding C ternary select (a?b:c) to Python?
  • Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
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.