Issue 14217: text output pretends to be code (original ) (raw )Created on 2012-03-07 08:19 by tshepang , last changed 2022-04-11 14:57 by admin . This issue is now closed .
Messages (7)
msg155056 - (view)
Author: Tshepang Lekhonkhobe (tshepang) *
Date: 2012-03-07 08:19
The attached patch removes the highlighting. I hope there's a better way to do this, instead of this hack. I searched the Sphinx and docutils docs and failed to find something better.
msg155128 - (view)
Author: Éric Araujo (eric.araujo) *
Date: 2012-03-07 22:33
Use this: .. code-block:: none output etc.
msg155156 - (view)
Author: Tshepang Lekhonkhobe (tshepang) *
Date: 2012-03-08 10:06
> Éric Araujo <merwok@netwok.org > added the comment: > > Use this: > > .. code-block:: none > > output etc. Thanks much. I've attached a patch.
msg155206 - (view)
Author: Senthil Kumaran (orsenthil) *
Date: 2012-03-09 05:00
I reviewed the patch, built the docs and found it good. Fixed it in 3d877dee1bde and aaf45928899c Thanks!
msg155611 - (view)
Author: Éric Araujo (eric.araujo) *
Date: 2012-03-13 14:03
This issue does not apply to 2.7 docs because they lack the local/nonlocal assignment example; do you agree it would be good to backport that? Tshepang, if you find more instances of the same problem, please report them. Thanks!
msg155806 - (view)
Author: Senthil Kumaran (orsenthil) *
Date: 2012-03-14 22:04
Éric - not really. nonlocal is from python3.x onwards only.
msg155823 - (view)
Author: Éric Araujo (eric.araujo) *
Date: 2012-03-15 00:14
I thought nonlocal had been backported to 2.7 but you’re right, it was not.
History
Date
User
Action
Args
2022-04-11 14:57:27
admin
set
github: 58425
2012-03-15 00:14:46
eric.araujo
set
messages: + stage: patch review -> resolved
2012-03-14 22:04:34
orsenthil
set
messages: +
2012-03-13 14:03:32
eric.araujo
set
messages: +
2012-03-09 05:00:10
orsenthil
set
status: open -> closedversions: - Python 2.7nosy: + orsenthil messages: + resolution: fixed
2012-03-08 10:32:57
ezio.melotti
set
nosy: + ezio.melotti type: enhancementstage: patch review
2012-03-08 10:06:16
tshepang
set
files: + tis-not-code-2.patch messages: +
2012-03-07 22:33:12
eric.araujo
set
nosy: + eric.araujo messages: + versions: + Python 2.7, - Python 3.1
2012-03-07 08:19:11
tshepang
create