Inconsistent guessing of txt files depending on PYTHONHASHSEED

Issue #1145 new
Antony Lee created an issue

Consider a file test.txt with a single line: foo bar@email.com. Depending on PYTHONHASHSEED, it can be (at least) autodetected as RobotFramework (seed=1), Resource (seed=2) or Text (seed=8).

Comments (4)

  1. Tim Hatch
    • changed component to lexers
    • changed milestone to 2.1

    This partially because of a problem noted by 'make check':

    <class 'pygments.lexers.robotframework.RobotFrameworkLexer'> needs analyse_text, multiple lexers for *.txt
    <class 'pygments.lexers.special.TextLexer'> needs analyse_text, multiple lexers for *.txt
    

    We should resolve this before next release.

  2. Log in to comment