[issue14535] three code examples in docs are not syntax highlighted

2012-04-13 Thread Georg Brandl
Georg Brandl added the comment: Ezio: That's a "bug" in Sphinx; even when the language is selected explicitly as "python", it will try to parse the code. It is fixed in a later Sphinx version. -- nosy: +georg.brandl ___ Python tracker

[issue14535] three code examples in docs are not syntax highlighted

2012-04-13 Thread Ezio Melotti
Ezio Melotti added the comment: I tried the attached patch but it didn't work for me. Using "python3" instead of "python" seemed to fix the problem. I also updated another "python" to use "python3". Thanks for the report and the patch! -- assignee: docs@python -> ezio.melotti nosy:

[issue14535] three code examples in docs are not syntax highlighted

2012-04-13 Thread Roundup Robot
Roundup Robot added the comment: New changeset 635966f6d3de by Ezio Melotti in branch '3.2': #14535: fix code highlight in multiprocessing examples. Patch by Tshepang Lekhonkhobe. http://hg.python.org/cpython/rev/635966f6d3de New changeset 957e2c71beef by Ezio Melotti in branch 'default': #14

[issue14535] three code examples in docs are not syntax highlighted

2012-04-13 Thread Éric Araujo
Éric Araujo added the comment: LGTM -- nosy: +eric.araujo stage: -> commit review ___ Python tracker ___ ___ Python-bugs-list mailin

[issue14535] three code examples in docs are not syntax highlighted

2012-04-13 Thread Tshepang Lekhonkhobe
Tshepang Lekhonkhobe added the comment: This is probably because Sphinx can't detect that those are Python sources, so my patch forces it to recognize it as such. -- keywords: +patch Added file: http://bugs.python.org/file25204/highlight-code.diff _

[issue14535] three code examples in docs are not syntax highlighted

2012-04-13 Thread Tshepang Lekhonkhobe
Changes by Tshepang Lekhonkhobe : -- nosy: +tshepang ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe: http://mai

[issue14535] three code examples in docs are not syntax highlighted

2012-04-09 Thread Ramchandra Apte
New submission from Ramchandra Apte : Three code examples in http://docs.python.org/py3k/library/multiprocessing.html#examples are not syntax highlighted. -- assignee: docs@python components: Documentation messages: 157845 nosy: docs@python, ramchandra.apte priority: normal severity: n