Bug 3326 - highlight extension (pygments) incompatible with Python 2.4
Summary: highlight extension (pygments) incompatible with Python 2.4
Status: RESOLVED WONTFIX
Alias: None
Product: Mercurial
Classification: Unclassified
Component: Mercurial (show other bugs)
Version: unspecified
Hardware: All All
: normal bug
Assignee: Bugzilla
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2012-03-20 03:20 UTC by Christian Ebert
Modified: 2012-05-13 05:44 UTC (History)
2 users (show)

See Also:
Python Version: ---


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Christian Ebert 2012-03-20 03:20 UTC
Enabling the highlight extension with Python 2.4 causes a traceback in
pygments. See:
https://bitbucket.org/birkenfeld/pygments-main/issue/749/not-compatible-with-python-24
Comment 1 Matt Mackall 2012-03-20 15:40 UTC
This is surely due to a change in a recent Pygments and nothing to do with
Mercurial or the highlight extension. Can't see us doing anything about this
on our end.
Comment 2 Christian Ebert 2012-03-20 17:05 UTC
Sure. It was meant more as a notification, so we are aware where this comes
from in case someone else runs into the problem.
Comment 3 Bugzilla 2012-05-12 09:29 UTC

--- Bug imported by bugzilla@serpentine.com 2012-05-12 09:29 EDT  ---

This bug was previously known as _bug_ 3325 at http://mercurial.selenic.com/bts/issue3325
Comment 4 Christian Ebert 2012-05-13 05:44 UTC
Just for the record, this is now fixed in pygments:
https://bitbucket.org/birkenfeld/pygments-main/changeset/5b45626edb4c