[Bug 310354] Re: 3.0 execute into python session

Bryce Harrington 310354 at bugs.launchpad.net
Mon Apr 4 19:38:14 UTC 2011


Hi Firas,

Thanks for posting this patch to python-mode for python 3.0 support.
Looks quite handy.

I have one review comment/question for the packaging - in the rules file
it adds patch support, however I *think* that could be done with a lot
less code, just using the stock dh routines.  Can you investigate this
more and update the debdiff with a simpler patching system if it's
possible?  (If I'm wrong and it's not possible, please just clarify here
why this is so, and we can take it as is.)

Also, I really think this patch should go into debian before we take it
in Ubuntu.  Indeed I wonder if there might be a superior way to address
this problem, so Debian's consensus on handling this case would be
valuable.  Can you please contact Yaroslav Halchenko about this issue
and send him your patch as a suggested fix?

** Also affects: python-mode (Ubuntu)
   Importance: Undecided
       Status: New

-- 
You received this bug notification because you are a member of Ubuntu
Sponsors Team, which is a direct subscriber.
https://bugs.launchpad.net/bugs/310354

Title:
  3.0 execute into python session

Status in An Emacs mode for editing Python code:
  New
Status in “python-mode” package in Ubuntu:
  New

Bug description:
  ^C^C works straight off but after running ^C^! it stops working and I
  get the error

  >>> ## working on region in file /tmp/python-23069TFN.py...
  Traceback (most recent call last):
    File "<stdin>", line 1, in <module>
  NameError: name 'execfile' is not defined

  simmilar happens with ^C<RET> and ^C |

  
  I am using Ubuntu with the Python3 package, it reports the following info

  tom at ringo:~$ python3 --version
  Python 3.0rc1+

  
  Thanks for your hard work.



More information about the Ubuntu-sponsors mailing list