[MacPorts] #45301: spacebar not recognized in python macport version

MacPorts noreply at macports.org
Wed Oct 8 23:58:05 PDT 2014


#45301: spacebar not recognized in python macport version
------------------------------------+--------------------------------
  Reporter:  manzotti.alessandro@…  |      Owner:  macports-tickets@…
      Type:  defect                 |     Status:  new
  Priority:  Normal                 |  Milestone:
 Component:  ports                  |    Version:  2.3.1
Resolution:                         |   Keywords:
      Port:                         |
------------------------------------+--------------------------------

Comment (by nad@…):

 This doesn't ring a bell with me, either.  Just to confirm, by Python
 shell, you mean something like:


 {{{
 $ /opt/local/bin/python2.7
 Python 2.7.8 (default, Oct  4 2014, 09:21:32)
 [GCC 4.2.1 Compatible Apple LLVM 6.0 (clang-600.0.51)] on darwin
 Type "help", "copyright", "credits" or "license" for more information.
 >>>

 }}}

 And typing space here gives the beep?  If so, the most likely explanation
 is an incompatible command in either a `PYTHONSTARTUP` file
 (https://docs.python.org/2/using/cmdline.html#envvar-PYTHONSTARTUP) or in
 the `libedit` `.editrc` file
 (https://developer.apple.com/library/mac/documentation/Darwin/Reference/Manpages/man5/editrc.5.html).
 Python can be linked with either BSD `editline (libedit)` (the default on
 OS X), GNU `readline`, or with neither.  Keep in mind that the syntax of
 configuration command for `libedit` are different than those for GNU
 `readline` (https://docs.python.org/2/library/readline.html).  If you want
 to use GNU `readline` with the MacPorts Python, you can `port install
 py27-readline`.

-- 
Ticket URL: <https://trac.macports.org/ticket/45301#comment:5>
MacPorts <http://www.macports.org/>
Ports system for OS X


More information about the macports-tickets mailing list