Opened 9 years ago

Closed 9 years ago

#50794 closed defect (duplicate)

Macports version of python3.? does not correctly restore Terminal bash shell on exit()

Reported by: brett@… Owned by: macports-tickets@…
Priority: Normal Milestone:
Component: ports Version: 2.3.4
Keywords: Cc:
Port: python35

Description

With the macports version of python3.? when exiting the python interpreter (exit() quit() Crtl-D) the bash environment is not restored correctly in Terminal.

The symptoms are:

  • the $PS1 is now prefixed by >>>
  • any keyboard input is invisible
  • pressing return for a new line appends to the end of the existing line

I tried both 3.4 and 3.5. They both behave the same. Other python 3 distributions (python.org, brew) and the macports python2.7 work as expected.

I'm on 10.11.3

Change History (2)

comment:1 Changed 9 years ago by brett@…

Also forgot to mention I tried commenting out my entire ~/.bash_profile and ~/.bashrc but it made no difference.

comment:2 Changed 9 years ago by ryandesign (Ryan Carsten Schmidt)

Resolution: duplicate
Status: newclosed

Duplicate of #48807.

Note: See TracTickets for help on using tickets.