Skip to content

Some SyntaxErrors not highlighted #441

Open
@thomasballinger

Description

@thomasballinger
(bpython)tom-mba:bpython tomb$ bpython
bpython version 0.13-363 on top of Python 2.7.5 /Users/tomb/.virtualenvs/bpython/bin/python2.7
>>> from __future__ import whoops
SyntaxError: future feature whoops is not defined (<input>, line 1)
>>>

This syntax error isn't highlighted for me - I would guess it fails the pygments parsing.

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions