[MacPorts] #53360: Removed Python 3.6 subport of py-readline

MacPorts noreply at macports.org
Tue Feb 14 08:16:22 UTC 2017


#53360: Removed Python 3.6 subport of py-readline
--------------------------+----------------------
  Reporter:  radarhere    |      Owner:
      Type:  defect       |     Status:  new
  Priority:  Normal       |  Milestone:
 Component:  ports        |    Version:
Resolution:               |   Keywords:  haspatch
      Port:  py-readline  |
--------------------------+----------------------

Comment (by JDLH):

 This problem occurred for me also.

 Uninstalling py36-readline, then doing `sudo port install python36
 +readline` fixed the crash for me.

 For the benefit of others searching for a solution to this problem, I'm
 pasting the crash symptoms here:

 {{{
 % python3.6
 Python 3.6.0 (default, Dec 23 2016, 12:50:55)
 [GCC 4.2.1 Compatible Apple LLVM 8.0.0 (clang-800.0.38)] on darwin
 Type "help", "copyright", "credits" or "license" for more information.
 >>> a=2
 Python(26362,0x7fffab1043c0) malloc: *** error for object 0x108253640:
 pointer being freed was not allocated
 *** set a breakpoint in malloc_error_break to debug
 Abort trap: 6
 }}}

 I strongly agree that we should improve the notes for python36.  Here's
 what they just told me. As best I understand, this is bad advice. It
 should instead say, "If you are using python36 from the terminal, install
 python36 +readline . Uninstall py36-readline, it is not necessary for
 python36 and later."

 {{{
   python36 has the following notes:
     To make this the default Python or Python 3 (i.e., the version run by
 the 'python' or 'python3' commands), run one or both of:

         sudo port select --set python python36
         sudo port select --set python3 python36

     ##############################################################
     # IF YOU ARE USING PYTHON FROM THE TERMINAL, PLEASE INSTALL:
     #   py36-readline
     # TO AVOID A LIBEDIT / PYTHON INTERACTION ISSUE.
     # REF: https://trac.macports.org/ticket/48807
     ##############################################################
 }}}

--
Ticket URL: <https://trac.macports.org/ticket/53360#comment:5>
MacPorts <https://www.macports.org/>
Ports system for macOS


More information about the macports-tickets mailing list