• Screwtape's avatar
    For string sequences, include line/column in errors. · 24c7cd48
    Screwtape authored
    Previously, when we hit a parse error, we recorded the sequence and
    position in the exception, which is all you need to know to find the
    location, but is pretty frustrating to use in practice.
    
    Therefore, when the sequence is a string, figure out the line and column
    number (1-based, to match the numbers reported by text-editors), and put
    that in the exception message. It's not perfect, not least because it
    doesn't mention a filename, but it's better than what we had before.
    24c7cd48
Name
Last commit
Last update
admin Loading commit data...
docs Loading commit data...
examples Loading commit data...
omega Loading commit data...
.gitignore Loading commit data...
LICENCE Loading commit data...
MANIFEST.in Loading commit data...
README.md Loading commit data...
TODO.md Loading commit data...
setup.py Loading commit data...