Join GitHub today
GitHub is home to over 50 million developers working together to host and review code, manage projects, and build software together.
Sign upNumber of lines in stacktrace is incorrect for bpython 0.15 is correct #608
Comments
|
Thanks for reporting this, this is probably to do with 1) adding 2 encoding lines, and 2) not rewriting the stack trace like we do in other places. I'll take a look next week. |
|
I'm going to wait for someone to sanity check this for me, but I think we can just stop adding the two lines we add to the top of this file. |
|
Thanks @thomasballinger! Let me know when this is fixed :P |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Problem - Given a program with a bug, bpython will not properly locate the line of the bug in the stack-trace (even though it will identify that there is a bug, and the text of the bug). For example, if I have a program called
test.pyand there is a misspelling bug located on line 10, runningbpython test.pywill print out a stack-trace and claim that the misspelling bug is located on line 12.OS - Mac OSX El Capitan
Python Interpreter - Python 2.7.11 (default, Jan 22 2016, 08:29:18)
[GCC 4.2.1 Compatible Apple LLVM 7.0.2 (clang-700.1.81)] on darwin
bPython Version - 0.15
NOTE - This bug does not occur on bPython version 0.14.1!