This issue tracker has been migrated to GitHub, and is currently read-only.
For more information, see the GitHub FAQs in the Python's Developer Guide.

Author gibson042
Recipients docs@python, gibson042
Date 2017-10-09.17:49:43
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <1507571383.25.0.213398074469.issue31737@psf.upfronthosting.co.za>
In-reply-to
Content
The content at docs.python.org seems to be inserting language-dependent "smart quotes" in code blocks, which mangles backslashes and sequences like `'''`. Observed at https://docs.python.org/3/reference/lexical_analysis.html#string-and-bytes-literals , which renders

  longstring      ::=  “”’” longstringitem* “”’” | ‘”“”’ longstringitem* ‘”“”’

instead of

  longstring      ::=  "'''" longstringitem* "'''" | '"""' longstringitem* '"""'

and

  stringescapeseq ::=  “" <any source character>

instead of

  stringescapeseq ::=  "\" <any source character>

, and looks even worse in other languages:

  longstring      ::=   » »” » longstringitem*  » »” » | “ »«  »” longstringitem* “ »«  »”

  longstring      ::=  「」』」 longstringitem* 「」』」 | 『」「」』 longstringitem* 『」「」』


Running `make html` locally produces the desired output, so whatever's going on appears specific to the public site.
History
Date User Action Args
2017-10-09 17:49:43gibson042setrecipients: + gibson042, docs@python
2017-10-09 17:49:43gibson042setmessageid: <1507571383.25.0.213398074469.issue31737@psf.upfronthosting.co.za>
2017-10-09 17:49:43gibson042linkissue31737 messages
2017-10-09 17:49:43gibson042create