bpython3

Bug #1008841 reported by Andreas Roehler
14
This bug affects 2 people
Affects Status Importance Assigned to Milestone
python-mode.el
Won't Fix
Undecided
Unassigned

Bug Description

Am 04.06.2012 02:15, schrieb pashazz:
> New question #199283 on python-mode.el:
> https://answers.launchpad.net/python-mode/+question/199283
>
> Hello.
>
> I want to use b/i python for running my module.
>
> But I get that error when i am trying to use ipython-3.2:
>
>
> NameError Traceback (most recent call last)
> /home/pasha/projects/diveintopython/<ipython-input-7-8233dbd9304a> in<module>()
> ----> 1 execfile(r'/usr/tmp/usr-bin-ipython-3.2-26181Fxp.py') # PYTHON-MODE
>
> NameError: name 'execfile' is not defined
>
> python3 works well... bpython3 exits abnormally.
> Excuse me for my english.
>

Changed in python-mode:
assignee: nobody → Andreas Roehler (a-roehler)
milestone: none → 6.0.9
importance: Undecided → Medium
Revision history for this message
Andreas Roehler (a-roehler) wrote :

sure about ipython-3.2 ?

maybe ipython0.12?

Revision history for this message
pashazz (pzinin) wrote :

[I] dev-python/ipython
     Available versions: 0.10 0.10.1 0.10.2 (~)0.12-r1 (~)0.12.1 {{doc emacs examples gnuplot matplotlib mongodb notebook qt4 readline (+)smp sqlite test wxwidgets}}
     Installed versions: 0.12.1(14:13:39 05.06.2012)(emacs examples qt4 readline smp sqlite wxwidgets -doc -matplotlib -mongodb -notebook -test)
     Homepage: http://ipython.org/
     Description: Advanced interactive shell for Python

Of course, ipython version is 0.12.1
but I call it by execute "ipython-3.2"

Changed in python-mode:
milestone: 6.0.9 → 6.1.0
Changed in python-mode:
milestone: 6.1.0 → 6.1.2
Changed in python-mode:
importance: Medium → Wishlist
Changed in python-mode:
milestone: 6.1.2 → 6.2
Changed in python-mode:
importance: Wishlist → Medium
milestone: 6.2.1 → 6.2.0
Changed in python-mode:
milestone: 6.2.0 → 6.2.1
Revision history for this message
Andreas Roehler (a-roehler) wrote :

bpython seems not to run from inside Emacs at all - changing this seems out of scope.

Citing a workaround from here:

http://emacs.stackexchange.com/questions/6012/is-it-possible-to-transform-emacs-to-something-like-bpython

You may also be interested in bpython-curtsies along with the new "send session to editor" functionality (triggered by F7) which throws your entire session in emacs for modification, then re-executes it when you close the file. I like this workflow for combining the power of a text editor with the interactive features of bpython. You might also like "reimport," (F6) which reruns the entire bpython session including reimporting imported modules - another way to combine text editor and the REPL.

Changed in python-mode:
assignee: Andreas Roehler (a-roehler) → nobody
milestone: 6.2.1 → none
status: New → Won't Fix
importance: Medium → Wishlist
importance: Wishlist → Undecided
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Duplicates of this bug

Other bug subscribers

Related questions

Remote bug watches

Bug watches keep track of this bug in other bug trackers.