[MacPorts] #31216: build python against libedit instead of readline

MacPorts noreply at macports.org
Thu Nov 10 09:33:59 PST 2011


#31216: build python against libedit instead of readline
-----------------------------------------------------------+----------------
  Reporter:  jmr@…                                         |       Owner:  macports-tickets@…                   
      Type:  enhancement                                   |      Status:  closed                               
  Priority:  Normal                                        |   Milestone:                                       
 Component:  ports                                         |     Version:                                       
Resolution:  fixed                                         |    Keywords:  haspatch                             
      Port:  python25 python26 python27 python31 python32  |  
-----------------------------------------------------------+----------------

Comment(by Deil.Christoph@…):

 I have the same problem with ipython. Actually the ipython prompt is
 broken:

 {{{
 $ /opt/local/bin/ipython-2.6
 /opt/local/Library/Frameworks/Python.framework/Versions/2.6/lib/python2.6
 /site-packages/IPython/utils/rlineimpl.py:96: RuntimeWarning: Leopard
 libedit detected - readline will not be well behaved including some
 crashes on tab completion, and incorrect history navigation. It is highly
 recommended that you install readline, which is easy_installable with:
 'easy_install readline'
   RuntimeWarning)
 Python 2.6.7 (r267:88850, Nov  8 2011, 12:13:06)
 Type "copyright", "credits" or "license" for more information.

 IPython 0.11 -- 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.
 34In[1;3[0;34][0^D
 }}}

 Same warning and broken prompt whether I use ipython from MacPorts of the
 git master.

 Any workaround / fix from this from the Macports or Ipython side?
 Should I file a new ticket?

-- 
Ticket URL: <https://trac.macports.org/ticket/31216#comment:6>
MacPorts <http://www.macports.org/>
Ports system for Mac OS


More information about the macports-tickets mailing list