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

2012-04-14 Thread Georg Brandl

Georg Brandl ge...@python.org 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 rep...@bugs.python.org
http://bugs.python.org/issue14535
___
___
Python-bugs-list mailing list
Unsubscribe: 
http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



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

2012-04-13 Thread Tshepang Lekhonkhobe

Changes by Tshepang Lekhonkhobe tshep...@gmail.com:


--
nosy: +tshepang

___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue14535
___
___
Python-bugs-list mailing list
Unsubscribe: 
http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



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

2012-04-13 Thread Tshepang Lekhonkhobe

Tshepang Lekhonkhobe tshep...@gmail.com 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

___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue14535
___
___
Python-bugs-list mailing list
Unsubscribe: 
http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



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

2012-04-13 Thread Éric Araujo

Éric Araujo mer...@netwok.org added the comment:

LGTM

--
nosy: +eric.araujo
stage:  - commit review

___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue14535
___
___
Python-bugs-list mailing list
Unsubscribe: 
http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



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

2012-04-13 Thread Roundup Robot

Roundup Robot devn...@psf.upfronthosting.co.za 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':
#14535: merge with 3.2.
http://hg.python.org/cpython/rev/957e2c71beef

--
nosy: +python-dev

___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue14535
___
___
Python-bugs-list mailing list
Unsubscribe: 
http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



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

2012-04-13 Thread Ezio Melotti

Ezio Melotti ezio.melo...@gmail.com 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: +ezio.melotti
resolution:  - fixed
stage: commit review - committed/rejected
status: open - closed
type:  - enhancement

___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue14535
___
___
Python-bugs-list mailing list
Unsubscribe: 
http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



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

2012-04-09 Thread Ramchandra Apte

New submission from Ramchandra Apte maniandra...@gmail.com:

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: normal
status: open
title: three code examples in docs are not syntax highlighted
versions: Python 3.2, Python 3.3

___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue14535
___
___
Python-bugs-list mailing list
Unsubscribe: 
http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com