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:

Re: [Python-Dev] Dash

2013-07-20 Thread Serhiy Storchaka
19.07.13 22:32, Ben Finney написав(ла): Serhiy Storchaka storch...@gmail.com 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

Re: [Python-Dev] Dash

2013-07-19 Thread Ben Finney
Serhiy Storchaka storch...@gmail.com 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 ‘-’, ‘–’, ‘—’, ‘−’,

Re: [Python-Dev] Dash

2013-07-19 Thread Nick Coghlan
On 19 July 2013 17:25, Ben Finney ben+pyt...@benfinney.id.au wrote: Serhiy Storchaka storch...@gmail.com 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

Re: [Python-Dev] Dash

2013-07-19 Thread Antoine Pitrou
Le Fri, 19 Jul 2013 18:38:05 +1000, Nick Coghlan ncogh...@gmail.com a écrit : On 19 July 2013 17:25, Ben Finney ben+pyt...@benfinney.id.au wrote: Serhiy Storchaka storch...@gmail.com writes: What type of dash is preferable in the documentation? The en dash (-) or the em dash (--)?

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

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

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 storch...@gmail.com 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.

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 storch...@gmail.com 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

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 it.

Re: [Python-Dev] Dash

2013-07-19 Thread Ben Finney
Serhiy Storchaka storch...@gmail.com writes: 19.07.13 10:25, Ben Finney написав(ла): Serhiy Storchaka storch...@gmail.com 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

Re: [Python-Dev] Dash

2013-07-19 Thread Ben Finney
Serhiy Storchaka storch...@gmail.com 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

Re: [Python-Dev] Dash

2013-07-19 Thread Ben Finney
Serhiy Storchaka storch...@gmail.com 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

[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:

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

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
On Thu, Jul 18, 2013 at 11:46 AM, Serhiy Storchaka storch...@gmail.com 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

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

Re: [Python-Dev] Dash

2013-07-18 Thread Guido van Rossum
On Thu, Jul 18, 2013 at 12:16 PM, Richard Oudkerk shibt...@gmail.com 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