Hacker News new | past | comments | ask | show | jobs | submit login

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.



That'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-...


I 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.


I 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.


I 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&sta...)


I 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.


Thanks for taking the time to give this info out - looks like you know more about bpython than me. ;)




Join us for AI Startup School this June 16-17 in San Francisco!

Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: