Re: [Python-Dev] Dash

2013-07-22 Thread Serhiy Storchaka
I have opened an issue (http://bugs.python.org/issue18529) for patches. ___ Python-Dev mailing list Python-Dev@python.org http://mail.python.org/mailman/listinfo/python-dev Unsubscribe: http://mail.python.org/mailman/options/python-dev/archive%40mail-a

Re: [Python-Dev] Dash

2013-07-20 Thread Serhiy Storchaka
19.07.13 22:32, Ben Finney написав(ла): Serhiy Storchaka writes: I'm asking only about this case, when the dash is used to denote a break in a sentence or to set off parenthetical statements. That's two separate cases: * denote a break in a sentence * set off parenthetical statements In Wi

Re: [Python-Dev] Dash

2013-07-19 Thread Ben Finney
Serhiy Storchaka writes: > I'm asking only about this case, when the dash is used to denote a > break in a sentence or to set off parenthetical statements. That's two separate cases: * denote a break in a sentence * set off parenthetical statements In my experience, an em dash is commonly used

Re: [Python-Dev] Dash

2013-07-19 Thread Ben Finney
Serhiy Storchaka writes: > I'm sorry, I were wrong. Actually em-dash used much more then en-dash > in Python documentation. But, as you've also discovered, many authors will type two hyphens “--” when they want an em dash “—”, yet this is rendered to an en dash “–”. So the prevalence of the latt

Re: [Python-Dev] Dash

2013-07-19 Thread Ben Finney
Serhiy Storchaka writes: > 19.07.13 10:25, Ben Finney написав(ла): > > Serhiy Storchaka writes: > >> What type of dash is preferable in the documentation? The en dash > >> (–) or the em dash (—)? > > > > They have different purposes; use whichever is appropriate for the > > context. > > I mean o

Re: [Python-Dev] Dash

2013-07-19 Thread Serhiy Storchaka
19.07.13 07:51, Steven D'Aprano написав(ла): Optimistically, I think it would probably be safe[1] to replace " -- " or " --- " in text with "\N{THIN SPACE}\N{EM DASH}\N{THIN SPACE}" (or \N{HAIR SPACE} if you prefer) without human review, but for any other changes, I wouldn't even try to automate

Re: [Python-Dev] Dash

2013-07-19 Thread Serhiy Storchaka
19.07.13 10:25, Ben Finney написав(ла): Serhiy Storchaka writes: What type of dash is preferable in the documentation? The en dash (–) or the em dash (—)? They have different purposes; use whichever is appropriate for the context. I mean only a context where a dash is used to denote a break

Re: [Python-Dev] Dash

2013-07-19 Thread Serhiy Storchaka
19.07.13 00:49, Ezio Melotti написав(ла): On Thu, Jul 18, 2013 at 7:38 PM, Serhiy Storchaka wrote: What type of dash is preferable in the documentation? The en dash (–) or the em dash (—)? Both should be used where appropriate [0]. Of course I looked in Wikipedia before asking on this list

Re: [Python-Dev] Dash

2013-07-19 Thread Serhiy Storchaka
18.07.13 21:55, Guido van Rossum написав(ла): On Thu, Jul 18, 2013 at 11:46 AM, Serhiy Storchaka wrote: Or we should replace a half-dozen of em-dashes found in Python documentation to en-dashes? If my theory is right that makes sense. Especially if it's only a half-dozen. I'm sorry, I were

Re: [Python-Dev] Dash

2013-07-19 Thread Serhiy Storchaka
18.07.13 21:54, Brian Curtin написав(ла): Besides visual consistency in a couple of places, is there a reason to care enough to make a wholesale change? Single hyphen instead of a dash just looks too ugly to me. Trying to fix this I noticed that the documentation is inconsistent regarding the

Re: [Python-Dev] Dash

2013-07-19 Thread Steven D'Aprano
On 19/07/13 18:38, Nick Coghlan wrote: I don't know about "common". I had no idea there were 3 dash types *Way* more than three. hyphen minus sign (not the same as a hyphen!) en-dash em-dash two-em-dash three-em-dash figure dash horizontal bar swung dash plus another half-dozen or so non-Eng

Re: [Python-Dev] Dash

2013-07-19 Thread Antoine Pitrou
Le Fri, 19 Jul 2013 18:38:05 +1000, Nick Coghlan a écrit : > On 19 July 2013 17:25, Ben Finney wrote: > > Serhiy Storchaka writes: > > > >> What type of dash is preferable in the documentation? The en dash > >> (-) or the em dash (--)? > > > > They have different purposes; use whichever is appro

Re: [Python-Dev] Dash

2013-07-19 Thread Nick Coghlan
On 19 July 2013 17:25, Ben Finney wrote: > Serhiy Storchaka writes: > >> What type of dash is preferable in the documentation? The en dash (-) >> or the em dash (--)? > > They have different purposes; use whichever is appropriate for the > context. > > This isn't an official Python developer posi

Re: [Python-Dev] Dash

2013-07-19 Thread Ben Finney
Serhiy Storchaka writes: > What type of dash is preferable in the documentation? The en dash (–) > or the em dash (—)? They have different purposes; use whichever is appropriate for the context. This isn't an official Python developer position. But all of ‘-’, ‘–’, ‘—’, ‘−’, etc. have distinct

Re: [Python-Dev] Dash

2013-07-18 Thread Steven D'Aprano
On 19/07/13 04:46, Serhiy Storchaka wrote: 18.07.13 20:48, Guido van Rossum написав(ла): I believe there are only a few places where en-dashes should be used, for most things you should use either em-dash or hyphen. Consult your trusted typography source (for US English, please, punctuation pref

Re: [Python-Dev] Dash

2013-07-18 Thread Ezio Melotti
Hi, On Thu, Jul 18, 2013 at 7:38 PM, Serhiy Storchaka wrote: > What type of dash is preferable in the documentation? The en dash (–) or the > em dash (—)? > Both should be used where appropriate [0]. The em dash is more common, however "--" (commonly used to indicate the em dash in e.g. emails)

Re: [Python-Dev] Dash

2013-07-18 Thread Guido van Rossum
On Thu, Jul 18, 2013 at 12:16 PM, Richard Oudkerk wrote: > On 18/07/2013 7:55pm, Guido van Rossum wrote: >> >> This may well be a relic from times when in typewritten text there >> were really only two types of dashes: a short one, typed as a hyphen, >> used for both hyphen and en-dash (and minus

Re: [Python-Dev] Dash

2013-07-18 Thread Richard Oudkerk
On 18/07/2013 7:55pm, Guido van Rossum wrote: This may well be a relic from times when in typewritten text there were really only two types of dashes: a short one, typed as a hyphen, used for both hyphen and en-dash (and minus sign), and a long one, typed as two hyphens, used for em-dash. I susp

Re: [Python-Dev] Dash

2013-07-18 Thread Guido van Rossum
On Thu, Jul 18, 2013 at 11:46 AM, Serhiy Storchaka wrote: > 18.07.13 20:48, Guido van Rossum написав(ла): > >> I believe there are only a few places where en-dashes should be used, >> for most things you should use either em-dash or hyphen. Consult your >> trusted typography source (for US English

Re: [Python-Dev] Dash

2013-07-18 Thread Brian Curtin
On Jul 18, 2013 1:46 PM, "Serhiy Storchaka" wrote: > > 18.07.13 20:48, Guido van Rossum написав(ла): > >> I believe there are only a few places where en-dashes should be used, >> for most things you should use either em-dash or hyphen. Consult your >> trusted typography source (for US English, ple

Re: [Python-Dev] Dash

2013-07-18 Thread Serhiy Storchaka
18.07.13 20:48, Guido van Rossum написав(ла): I believe there are only a few places where en-dashes should be used, for most things you should use either em-dash or hyphen. Consult your trusted typography source (for US English, please, punctuation preferences vary by locale). E.g. Google for "em

Re: [Python-Dev] Dash

2013-07-18 Thread Guido van Rossum
I believe there are only a few places where en-dashes should be used, for most things you should use either em-dash or hyphen. Consult your trusted typography source (for US English, please, punctuation preferences vary by locale). E.g. Google for "em dash en dash". On Thu, Jul 18, 2013 at 10:38 A

[Python-Dev] Dash

2013-07-18 Thread Serhiy Storchaka
What type of dash is preferable in the documentation? The en dash (–) or the em dash (—)? ___ Python-Dev mailing list Python-Dev@python.org http://mail.python.org/mailman/listinfo/python-dev Unsubscribe: http://mail.python.org/mailman/options/python-d