| FazBrowse GitHub Viewer | Trending | | Home |
| Tools: [Download Repo ZIP] [Original HTTPS Page] |
…e traceback method to send to standard error.
|
This works for me, have you tried it with Python3? Two comments for making the code easier to maintain in the future:could you add a testfor this (so we catch Python 2/3 problems automatically) and factor out the portions common to both the traceback and syntax error methods? (So we don't mess up by changing one but not the other, except for things that are different between them) This reminds me of needing to get make sure future statements work alright with this interpreter, but that's not your problem - just a reminder for me because the old bpython interactive interpreter is doing fancier things than we do in bpython curtsies. |
Sorry, something went wrong.
|
I haven't run into any problems using it with python 3. I'll make those other changes. |
Sorry, something went wrong.
|
Cool, thanks! |
Sorry, something went wrong.
| Back | FazBrowse Home | New Git URL |
Add some helpful highlighting to traceback and error messages rather than just printing a wall of red text.