[Python-modules-team] Bug#461190: Bug#461190: malformatted help output

Chris Lamb chris at chris-lamb.co.uk
Thu Jan 17 10:13:54 UTC 2008


Hi,

> Sounds more like a broken terminal (-setting...). Please give me the
> exact steps to reproduce this, starting with a normal Debian installation.

Martin, are you using the 'most' or 'less' pagers? 


 (Resize window so pager will be used to display result)

 % PAGER=most ipython

 Python 2.4.4 (#2, Jan  3 2008, 13:53:47) 
 Type "copyright", "credits" or "license" for more information.
 
 IPython 0.8.2 -- An enhanced Interactive Python.
 ?         -> Introduction and overview of IPython's features.
 %quickref -> Quick reference.
 help      -> Python's own help system.
 object?   -> Details about 'object'. ?object also works, ?? prints more.
 
 In [1]: import os
 
 In [2]: os?
 ESC[1;31mType:          ESC[0mmodule
 ESC[1;31mBase Class:    ESC[0m<type 'module'>

 (etc.)


 % PAGER=less ipython

 Python 2.4.4 (#2, Jan  3 2008, 13:53:47) 
 Type "copyright", "credits" or "license" for more information.
 
 IPython 0.8.2 -- An enhanced Interactive Python.
 ?         -> Introduction and overview of IPython's features.
 %quickref -> Quick reference.
 help      -> Python's own help system.
 object?   -> Details about 'object'. ?object also works, ?? prints more.
 
 In [1]: import os
 
 In [2]: os?
 ESC[1;31mType:          ESC[0mmodule
 ESC[1;31mBase Class:    ESC[0m<type 'module'>

 (etc.)


 % PAGER=more ipython
 
 Python 2.4.4 (#2, Jan  3 2008, 13:53:47) Type "copyright",
 "credits" or "license" for more information.

 IPython 0.8.2 -- An enhanced Interactive Python.
 ?         -> Introduction and overview of IPython's features.
 %quickref -> Quick reference.
 help      -> Python's own help system.
 object?   -> Details about 'object'. ?object also works, ?? prints more.

 In [1]: import os

 In [2]: os?
 Type:		module
 Base Class:	<type 'module'>

 (etc)



Regards,

-- 
Chris Lamb, UK                                       chris at chris-lamb.co.uk
                                                            GPG: 0x634F9A20
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 189 bytes
Desc: not available
Url : http://lists.alioth.debian.org/pipermail/python-modules-team/attachments/20080117/497c24cd/attachment-0001.pgp 


More information about the Python-modules-team mailing list