3 ms·
Quick warning: Bpython crashes if you need to resize the terminal on OS X. And because it truncates the output to what can fit on the screen, it's essentially u
by Alex3917 14y ago
Quick warning: Bpython crashes if you need to resize the terminal on OS X. And because it truncates the output to what can fit on the screen, it's essentially unusable for things with a long output. (Because if you need to scroll or resize the window to see the full output, it will crash.) It's amazingly good for most things, but occasionally I need to switch back to the default interpreter.
- JulianWasTaken 14y agoI can't say I've ever experienced this. I'll certainly try to reproduce when I get home. Also bpython has a pager (F9), so it's definitely fine for long output. The interpreter also will write all output to stdout on quit, so you can do what you'd like then too. I can't say I ever use the vanilla interpreter anymore other than when testing a bpython bug.
- Alex3917 14y agoI just got this when doing print 10xx10000. Sometimes it crashes the first time I resize the terminal, sometimes I need to resize it a few times quickly. If you send me a note I can email you the error I get when it crashes.
- JulianWasTaken 14y agoI believe you :). I'm sure they'd appreciate a bug report if you can narrow things down certainly. Otherwise I'll play around a bit.
- bobfarrell 14y agoI can vouch for us appreciating a bug report. :) I assume you're using an up-to-date version of bpython ? I remember dealing with this kind of stuff a lot in the past (curses is terrible at this kind of thing) and I had considered it fixed, so please do send us bug reports if possible. (https://bitbucket.org/bobf/bpython/issues?status=new&status=open https://bitbucket.org/bobf/bpython/issues?status=new&sta...)
- bobfarrell 14y agoThanks for taking the time to give this info out - looks like you know more about bpython than me. ;)
- sebastinas 14y agoThat's a known issue [1], but we weren't able to fix it yet. [1] https://bitbucket.org/bobf/bpython/issue/65/curses-error-on-resizing-terminal https://bitbucket.org/bobf/bpython/issue/65/curses-error-on-...