classification
Title: Fix more spaces around hyphens and dashes
Type: Stage: resolved
Components: Documentation Versions: Python 3.8, Python 3.7, Python 3.6
process
Status: closed Resolution: fixed
Dependencies: Superseder:
Assigned To: docs@python Nosy List: docs@python, mdk, serhiy.storchaka
Priority: normal Keywords: patch

Created on 2018-10-30 09:40 by serhiy.storchaka, last changed 2018-10-31 09:15 by serhiy.storchaka. This issue is now closed.

Pull Requests
URL Status Linked Edit
PR 10231 merged serhiy.storchaka, 2018-10-30 09:44
PR 10253 merged serhiy.storchaka, 2018-10-31 08:22
PR 10254 merged serhiy.storchaka, 2018-10-31 08:26
PR 10255 merged serhiy.storchaka, 2018-10-31 09:01
Messages (6)
msg328889 - (view) Author: Serhiy Storchaka (serhiy.storchaka) * (Python committer) Date: 2018-10-30 09:40
The following PR fixes several common errors in reStructuredText formatting.

* When the line is broken after or before a hyphen or dash, a space will be inserted after or before a hyphen or dash in the rendered text. This is not always appropriate. It is a common error when use old blurb (was blurb with the fix released?), but can be introduced also manually.

* Backslash followed by a space is used as a separator after a mark up, which doesn't insert a space. But when the line was broken on this space, this is not always work.

Fixed also other similar errors.
msg328893 - (view) Author: Serhiy Storchaka (serhiy.storchaka) * (Python committer) Date: 2018-10-30 11:13
Previous fixes for similar issues: PR 7002, PR 7579.
msg328961 - (view) Author: Serhiy Storchaka (serhiy.storchaka) * (Python committer) Date: 2018-10-31 00:26
New changeset 3f819ca138db6945ee4271bf13e42db9f9b3b1e4 by Serhiy Storchaka in branch 'master':
bpo-35110: Fix unintentional spaces around hyphens and dashes. (GH-10231)
https://github.com/python/cpython/commit/3f819ca138db6945ee4271bf13e42db9f9b3b1e4
msg328976 - (view) Author: Serhiy Storchaka (serhiy.storchaka) * (Python committer) Date: 2018-10-31 09:00
New changeset b183750f999953bac7738b1fff114e0a2615d970 by Serhiy Storchaka in branch '3.7':
[3.7] bpo-35110: Fix unintentional spaces around hyphens and dashes. (GH-10231). (GH-10253)
https://github.com/python/cpython/commit/b183750f999953bac7738b1fff114e0a2615d970
msg328977 - (view) Author: Serhiy Storchaka (serhiy.storchaka) * (Python committer) Date: 2018-10-31 09:00
New changeset 1e8c18509eb15efb8e80971b9935d17e7bbeabf4 by Serhiy Storchaka in branch '3.6':
[3.6] bpo-35110: Fix unintentional spaces around hyphens and dashes. (GH-10231). (GH-10254)
https://github.com/python/cpython/commit/1e8c18509eb15efb8e80971b9935d17e7bbeabf4
msg328978 - (view) Author: Serhiy Storchaka (serhiy.storchaka) * (Python committer) Date: 2018-10-31 09:14
New changeset 511747bec3aca4ad7930005e3adece9196c1cd39 by Serhiy Storchaka in branch 'master':
bpo-35110: Fix yet few spaces before dashes. (GH-10255)
https://github.com/python/cpython/commit/511747bec3aca4ad7930005e3adece9196c1cd39
History
Date User Action Args
2018-10-31 09:15:14serhiy.storchakasetstatus: open -> closed
resolution: fixed
stage: patch review -> resolved
2018-10-31 09:14:41serhiy.storchakasetmessages: + msg328978
2018-10-31 09:01:29serhiy.storchakasetpull_requests: + pull_request9568
2018-10-31 09:00:41serhiy.storchakasetmessages: + msg328977
2018-10-31 09:00:28serhiy.storchakasetmessages: + msg328976
2018-10-31 08:26:15serhiy.storchakasetpull_requests: + pull_request9567
2018-10-31 08:22:39serhiy.storchakasetpull_requests: + pull_request9566
2018-10-31 00:26:10serhiy.storchakasetmessages: + msg328961
2018-10-30 11:13:55serhiy.storchakasetmessages: + msg328893
2018-10-30 09:44:01serhiy.storchakasetkeywords: + patch
stage: patch review
pull_requests: + pull_request9543
2018-10-30 09:40:33serhiy.storchakacreate