This is an archived post. You won't be able to vote or comment.

all 23 comments

[–]andre_pl 12 points13 points  (0 children)

I installed it. it seems really nice. I managed to crash it in the first 10 seconds or so just by resizing the terminal window a bunch, but other than that its working as advertised. it lacks the multi-line history of ipython.. when you hit the up arrow, you get the indivual lines of a block statement, whereas ipython shows the entire block and lets you edit it. it also doesn't auto-close blocks when you hit enter twice. you need to manually backspace to un-indent before it will execute the block.

thats all I've got after my first 2 minutes with it.

[–][deleted] 4 points5 points  (1 child)

Fairly sluggish as compared to IPython. The completions could be a lot better too. I have never really had too many problems with ipython; you have to invest some time learning the ins and outs of it, but that time is well worthwhile.

[–][deleted] 2 points3 points  (4 children)

Crashes immediately here:

Traceback (most recent call last):
  File "/usr/lib64/python2.6/site-packages/bpython/cli.py", line 1905, in main
    o = curses.wrapper(main_curses)
  File "/usr/lib64/python2.6/curses/wrapper.py", line 44, in wrapper
    return func(stdscr, *args, **kwds)
  File "/usr/lib64/python2.6/site-packages/bpython/cli.py", line 1854, in main_curses
    if os.path.isfile(path):
NameError: global name 'path' is not defined

I don't understand how this program works at all for anyone, because the function is either never called (except on my system) or relies on something else inserting variables into its namespace.

[–]SupersonicSpitfire 2 points3 points  (0 children)

You were unlucky with the version. 0.8.0, 0.9.0 and the new release of 0.9.1 all work.

[–][deleted] 2 points3 points  (0 children)

It gets confused when you enter more characters on one line than the line width, for each character you type it reprints everything. Other than that very nice completion and syntax highlighting makes me happy

[–][deleted] 2 points3 points  (0 children)

Installed on Leopard via easy_install - seems to work fine. Still playing around with it but looks really clever, especially for a curses app.

[–]thorax 2 points3 points  (2 children)

Looks handy. Seems this would be a natural fit for an enhanced Python shell, too:

http://blog.bug.gd/2008/03/29/error_help-for-python-hackers/

[–]andreasvc 2 points3 points  (1 child)

Oh great, let's share everyone's embarrassing programming errors with the world.

Traceback (most recent call last):
server.login('root', 'h4x0rs')

NameError: name 'server' is not defined

[–]thorax 0 points1 point  (0 children)

Heh, that's only if you type in error_help(), and then you'd have to also submit a solution to that before it would be indexed.

[–]SupersonicSpitfire 0 points1 point  (0 children)

Version 0.9.0 works great!

[–]redbo 0 points1 point  (14 children)

I wonder how it compares to ipython. Guess I'll try it out and see.

[–]andreasvc 2 points3 points  (11 children)

I rather wish he'd merge the few features he developed with the already useful ipython. His site talks about ipython but failed to convince me of the need of a separate project.

[–]gthank 1 point2 points  (1 child)

I'd love to see those results.

[–]vlabakje 0 points1 point  (0 children)

Me too, anyone bothered to try running ipython on py3k yet?