Re: Mandis Quotes (aka retiring """ and ''')
From: Russell Nelson (nelson_at_crynwr.com)
Date: 10/05/04
- Next message: Russell Blau: "Re: convert scientific integer to normal integer"
- Previous message: wes weston: "Re: convert scientific integer to normal integer"
- Maybe in reply to: Russell Nelson: "Mandis Quotes (aka retiring """ and ''')"
- Next in thread: Jeff Shannon: "Re: Mandis Quotes (aka retiring """ and ''')"
- Reply: Jeff Shannon: "Re: Mandis Quotes (aka retiring """ and ''')"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
Date: Tue, 5 Oct 2004 12:11:20 -0400 To: python-list@python.org
Eric Pederson writes:
> So possible examples might be:
Choose poor examples, and then criticize them as poor choices?
> 'xx'somebody's mother'xx'
How about '.'somebody's mother'.'
Or '-'somebody's mother'-'
> <quote>somebody's body<quote>
>
> or would we then worry that we might want to quote some angle
> bracketed mark-up?
I sure would.
> [I like '''triple quotes''' though if they ever catch on in the mainstream, they'll be useless - because they will wind up in strings]
Exactly. It really would be better to have one(1) string literal
which can quote anything without reverting to backslashing. Why one?
Simpler parsing, simpler learning of the language, fewer choices to
make while programming.
-- --My blog is at angry-economist.russnelson.com | Violence never solves Crynwr sells support for free software | PGPok | problems, it just changes 521 Pleasant Valley Rd. | +1 212-202-2318 voice | them into more subtle Potsdam, NY 13676-3213 | FWD# 404529 via VOIP | problems.
- Next message: Russell Blau: "Re: convert scientific integer to normal integer"
- Previous message: wes weston: "Re: convert scientific integer to normal integer"
- Maybe in reply to: Russell Nelson: "Mandis Quotes (aka retiring """ and ''')"
- Next in thread: Jeff Shannon: "Re: Mandis Quotes (aka retiring """ and ''')"
- Reply: Jeff Shannon: "Re: Mandis Quotes (aka retiring """ and ''')"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]