GNU bug report logs -
#25306
emacs 25.1 cannot deal with the newer ipython (5.1.0) inferior ansi color
Previous Next
Reported by: "XP Chen" <chxp_moon <at> 163.com>
Date: Sat, 31 Dec 2016 06:43:02 UTC
Severity: normal
Tags: fixed
Merged with 21381,
24189,
24223,
25222,
25363,
25416
Found in versions 24.5, 25.1, 25.1.50, 25.1.91
Fixed in version 26.1
Done: npostavs <at> users.sourceforge.net
Bug is archived. No further changes may be made.
Full log
Message #24 received at 25306 <at> debbugs.gnu.org (full text, mbox):
forcemerge 21381 25306
quit
"XP Chen" <chxp_moon <at> 163.com> writes:
>
> When send python script to the ipython inferior, it shows:
>
> Python 3.5.2 (default, Nov 7 2016, 11:31:36)
> Type "copyright", "credits" or "license" for more information.
>
> IPython 5.1.0 -- An enhanced Interactive Python.
> ? -> Introduction and overview of IPython's features.
> %quickref -> Quick reference.
> help -> Python's own help system.
> object? -> Details about 'object', use 'object??' for extra details.
> Using matplotlib backend: TkAgg
>
> [J---------------------------------------------------------------------------
> NameError Traceback (most recent call last)
> <ipython-input-1-b5cc5cb08aa6> in <module>()
> ----> 1 execfile(r'/tmp/py-shell-completion-setup-code.py') # PYTHON-MODE
>
> NameError: name 'execfile' is not defined
>
> [J---------------------------------------------------------------------------
> NameError Traceback (most recent call last)
> <ipython-input-2-a8c6ebfb943a> in <module>()
> ----> 1 execfile(r'/tmp/ipython-1723HV1.py') # PYTHON-MODE
>
> NameError: name 'execfile' is not defined
>
> [J[6n[JIn [3]:
> [8D[8C[8D[J[6n[JIn
> [3]:
> [8D[8C[8D[J[6n[JIn
> [3]:
> [8D[8C[8D[J[6n[JIn
> [3]:
> [8D[8C[8D[J[6n[JIn
> [3]:
> [8D[8C[8D[J[6n[JIn
> [3]:
> [8D[8C[8D[J[6n[JIn
> [3]:
> [8D[8C[8D[J[6n[JIn
> [3]: [8D[8C
>
> The problem of NameError: name 'execfile' is not defined can ignored
> it. However the ansi color of ipython cannot deal with the emacs25.1
As far as I can tell, this is the same as Bug#21381; the fix for that
one solves this as well.
This bug report was last modified 7 years and 324 days ago.
Previous Next
GNU bug tracking system
Copyright (C) 1999 Darren O. Benham,
1997,2003 nCipher Corporation Ltd,
1994-97 Ian Jackson.