[MacPorts] #48807: python messes with terminal state on exit

MacPorts noreply at macports.org
Thu Jan 12 15:08:02 UTC 2017


#48807: python messes with terminal state on exit
-------------------------------------------------+-------------------------
  Reporter:  yselivanov@…                        |      Owner:
                                                 |  jyrkiwahlstedt
      Type:  defect                              |     Status:  new
  Priority:  Normal                              |  Milestone:
 Component:  ports                               |    Version:  2.3.3
Resolution:                                      |   Keywords:  haspatch
      Port:  python26 python27 python python34   |
  python35 libedit                               |
-------------------------------------------------+-------------------------

Comment (by raimue):

 Linking my findings from last April:
 https://lists.macosforge.org/pipermail/macports-dev/2016-April/032891.html

 The problem appears to be that a bug in libedit that was fixed, but
 CPython actually relied on this bug to work properly. If this bug does not
 occur with CPython on other platforms using libedit, it might be worth a
 shot to scrub the whole `#ifdef __APPLE__` parts for readline/libedit
 handling. This use of `#ifdef __APPLE__` seems to be meant as "using
 libedit as shipped by Apple", but this is clearly wrong and a bad way to
 match this condition.

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


More information about the macports-tickets mailing list