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

MacPorts noreply at macports.org
Tue Sep 15 08:02:14 PDT 2015


#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:
      Port:  python35      |
---------------------------+-------------------

Comment (by eborisch@…):

 Just copying in my original email about this (with a workaround) :

 I've recently noticed (not sure when it changed) that when I enter and
 then
 exit() the python (using python27 in particular) interpreter built against
 libedit, the tty flags (as reported by stty -a) aren't getting reset when
 exiting python -- most noticeably the echo flag is getting turned off.
 Yes,
 yes, reset will fix it, but still.

 If I build python27 against libreadline instead of libedit (by disabling
 the libedit patch file) it works as expected.

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


More information about the macports-tickets mailing list