New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Duplicate aliases for the language "Juttle" #1604
Milestone
Comments
sumanthvrao
added a commit
to sumanthvrao/pygments
that referenced
this issue
Nov 17, 2020
The output from pygments.lexers.get_all_lexers() would contain 'juttle' twice in the aliases section for the Juttle lexer entry. This could be reproduced using: >>> from pygments.lexers import get_all_lexers >>> lexers = get_all_lexers() >>> {alias[0]: alias[1] for alias in lexers}.get('Juttle') ('juttle', 'juttle') This patch fixes the duplicate entry and generates the associated _mapping.py file. Fixes: pygments#1604
sumanthvrao
added a commit
to sumanthvrao/pygments
that referenced
this issue
Nov 17, 2020
The output from pygments.lexers.get_all_lexers() contains 'juttle' twice in the aliases section for the Juttle lexer entry. This could be reproduced using: >>> from pygments.lexers import get_all_lexers >>> lexers = get_all_lexers() >>> {alias[0]: alias[1] for alias in lexers}.get('Juttle') ('juttle', 'juttle') This patch fixes the duplicate entry and generates the associated _mapping.py file. Fixes: pygments#1604
birkenfeld
pushed a commit
that referenced
this issue
Nov 19, 2020
The output from pygments.lexers.get_all_lexers() contains 'juttle' twice in the aliases section for the Juttle lexer entry. This could be reproduced using: >>> from pygments.lexers import get_all_lexers >>> lexers = get_all_lexers() >>> {alias[0]: alias[1] for alias in lexers}.get('Juttle') ('juttle', 'juttle') This patch fixes the duplicate entry and generates the associated _mapping.py file. Fixes: #1604
Anteru
added
the
changelog-update
Items which need to get mentioned in the changelog
label
Nov 25, 2020
Anteru
removed
the
changelog-update
Items which need to get mentioned in the changelog
label
Dec 5, 2020
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
The aliases for the language Juttle occurs twice in the tuple resulting from get_all_lexers(). Here's a small snippet to reproduce
Pygments PyPI version used: 2.7.2 (latest)
The text was updated successfully, but these errors were encountered: