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 amaury.forgeotdarc
Recipients Ramchandra Apte, amaury.forgeotdarc, berker.peksag, docs@python, r.david.murray
Date 2012-04-05.14:32:18
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <1333636338.81.0.0113462934221.issue14503@psf.upfronthosting.co.za>
In-reply-to
Content
Not exactly. Sphinx first tries to see if the block is a Python script, and to do so it uses the Python compiler:
https://bitbucket.org/birkenfeld/sphinx/src/164f59b2d946/sphinx/highlighting.py#cl-117
In case of SyntaxError, it treats the whole block as plain text and does not try to use pygmentq at all.
History
Date User Action Args
2012-04-05 14:32:18amaury.forgeotdarcsetrecipients: + amaury.forgeotdarc, r.david.murray, docs@python, Ramchandra Apte, berker.peksag
2012-04-05 14:32:18amaury.forgeotdarcsetmessageid: <1333636338.81.0.0113462934221.issue14503@psf.upfronthosting.co.za>
2012-04-05 14:32:18amaury.forgeotdarclinkissue14503 messages
2012-04-05 14:32:18amaury.forgeotdarccreate