[MacPorts] #49739: python interpreter disappearing command prompt and terminal issue after exit

MacPorts noreply at macports.org
Wed Nov 18 11:30:29 PST 2015


#49739: python interpreter disappearing command prompt and terminal issue after
exit
--------------------------------+--------------------------------
 Reporter:  nathanfriday@…      |      Owner:  macports-tickets@…
     Type:  defect              |     Status:  new
 Priority:  Normal              |  Milestone:
Component:  ports               |    Version:  2.3.4
 Keywords:  python interpreter  |       Port:  python27
--------------------------------+--------------------------------
 The python interpreter has a disappear command prompt issue. Upon exiting,
 the terminal no longer displays what is being typed, but does indeed run
 the commands. After entering the python interpreter again the command
 prompt still disappears, but upon exiting the second time, the terminal
 issue is gone.

 I did uninstall MacPorts and all it's ports after upgrading the OS to
 Yosemite. The issue occurs with python27 but not the apple python27. I
 have tried uninstalling all ports and reinstalling, but the issue
 persists. There seems to be no issue with running python scripts.

 Posted below you will find an example of my dilemma.

 nathan at Nat-Hon:~$ python
 Python 2.7.10 (default, Oct 28 2015, 23:29:19)
 [GCC 4.2.1 Compatible Apple LLVM 7.0.0 (clang-700.1.76)] on darwin
 Type "help", "copyright", "credits" or "license" for more information.
 >>> 3+4
 >>> 7
 3+4
 >>> 7

 >>> a=4
 >>> a
 >>> 4
 a
 >>> 4
 a=4
 >>> a=4
 >>> 3+4
 >>> 7

 >>> exit()
 >>> nathan at Nat-Hon:~$ Adlm                     Downloads
 Music                    StuffIt                  program
 Applications             Dropbox                  MyPorts
 Transmission             requested.txt
 Applications (Parallels) Gabedit                  Pictures
 bash-fix                 restore_ports.tcl
 Conduit                  Library                  Polfer_Website
 bin                      tmp
 Desktop                  MacPorts-2.3.4           Public
 cfg
 Documents                Movies                   Sites
 key.sh
 nathan at Nat-Hon:~$ nathan at Nat-Hon:~$ nathan at Nat-Hon:~$ nathan at Nat-Hon:~$
 Python 2.7.10 (default, Oct 28 2015, 23:29:19)
 [GCC 4.2.1 Compatible Apple LLVM 7.0.0 (clang-700.1.76)] on darwin
 Type "help", "copyright", "credits" or "license" for more information.
 >>> 3+4
  7
 >>>
 >>> exit()
 >>> nathan at Nat-Hon:~$ ls
 Adlm                     Downloads                Music
 StuffIt                  program
 Applications             Dropbox                  MyPorts
 Transmission             requested.txt
 Applications (Parallels) Gabedit                  Pictures
 bash-fix                 restore_ports.tcl
 Conduit                  Library                  Polfer_Website
 bin                      tmp
 Desktop                  MacPorts-2.3.4           Public
 cfg
 Documents                Movies                   Sites
 key.sh
 nathan at Nat-Hon:~$

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


More information about the macports-tickets mailing list