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

MacPorts noreply at macports.org
Wed Jun 29 22:46:02 PDT 2016


#48807: python messes with terminal state on exit
-------------------------------------------------+-------------------------
  Reporter:  yselivanov@…                        |      Owner:  jwa@…
      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 jmr@…):

 The interesting part is that the problem didn't appear when using ncurses
 5 with the same version of libedit. Ncurses 6 added its own buffering,
 whereas previously it shared buffers with stdio. The release notes mention
 that some programs may incorrectly assume that the buffers are the same. I
 wonder if python is doing some form of this.

 I'd really prefer not to commit hacky workarounds that upstream says are
 incorrect, without understanding the problem. It might be instructive to
 file a radar asking Apple to adopt upstream's libedit changes?

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


More information about the macports-tickets mailing list