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

classic Classic list List threaded Threaded
89 messages Options
12345
Reply | Threaded
Open this post in threaded view
|  
Report Content as Inappropriate

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

MacPorts
#48807: python35 messes with terminal state on exit
--------------------------+--------------------------------
 Reporter:  yselivanov@…  |      Owner:  macports-tickets@…
     Type:  defect        |     Status:  new
 Priority:  Normal        |  Milestone:
Component:  ports         |    Version:  2.3.3
 Keywords:  python        |       Port:  python35
--------------------------+--------------------------------
 Here's what happens after you exit the repl:



 {{{
 yury@ysmac ~ $ python3.5
 Python 3.5.0rc3 (default, Sep  7 2015, 23:03:25)
 [GCC 4.2.1 Compatible Apple LLVM 6.0 (clang-600.0.56)] on darwin
 Type "help", "copyright", "credits" or "license" for more information.
 >>> ^D>>>
 yury@ysmac ~ $ yury@ysmac ~ $ yury@ysmac ~ $ yury@ysmac ~ $ yury@ysmac ~ $
 }}}

--
Ticket URL: <https://trac.macports.org/ticket/48807>
MacPorts <https://www.macports.org/>
Ports system for OS X
_______________________________________________
macports-tickets mailing list
[hidden email]
https://lists.macosforge.org/mailman/listinfo/macports-tickets
Reply | Threaded
Open this post in threaded view
|  
Report Content as Inappropriate

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

MacPorts
#48807: python35 messes with terminal state on exit
---------------------------+--------------------------------
  Reporter:  yselivanov@…  |      Owner:  macports-tickets@…
      Type:  defect        |     Status:  new
  Priority:  Normal        |  Milestone:
 Component:  ports         |    Version:  2.3.3
Resolution:                |   Keywords:  python
      Port:  python35      |
---------------------------+--------------------------------

Comment (by yselivanov@…):

 You also can't see what you type.

 Typing 'reset[ENTER]' fixes the terminal.  It works this way both in iTerm
 and in stock Terminal.app

 Here's some output from python3.4:


 {{{
 yury@ysmac ~ $ python3
 Python 3.4.3 (default, Aug 19 2015, 17:29:49)
 [GCC 4.2.1 Compatible Apple LLVM 6.0 (clang-600.0.54)] on darwin
 Type "help", "copyright", "credits" or "license" for more information.
 >>>
 yury@ysmac ~ $
 yury@ysmac ~ $
 yury@ysmac ~ $
 yury@ysmac ~ $
 yury@ysmac ~ $
 }}}

--
Ticket URL: <https://trac.macports.org/ticket/48807#comment:1>
MacPorts <https://www.macports.org/>
Ports system for OS X
_______________________________________________
macports-tickets mailing list
[hidden email]
https://lists.macosforge.org/mailman/listinfo/macports-tickets
Reply | Threaded
Open this post in threaded view
|  
Report Content as Inappropriate

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

MacPorts
In reply to this post by MacPorts
#48807: python35 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      |
---------------------------+-------------------
Changes (by mf2k@…):

 * keywords:  python =>
 * owner:  macports-tickets@… => jwa@…
 * cc: yselivanov@… (removed)


Comment:

 In the future, please Cc the port maintainers ({{{port info --maintainers
 python35}}}), if any. As reporter, you do not need to Cc yourself.

--
Ticket URL: <https://trac.macports.org/ticket/48807#comment:3>
MacPorts <https://www.macports.org/>
Ports system for OS X
_______________________________________________
macports-tickets mailing list
[hidden email]
https://lists.macosforge.org/mailman/listinfo/macports-tickets
Reply | Threaded
Open this post in threaded view
|  
Report Content as Inappropriate

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

MacPorts
In reply to this post by MacPorts
#48807: python35 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 suv-sf@…):

 On OS X 10.7.5, all python versions rebuilt with ncurses 6.0 are affected,
 see also:[[BR]]
 https://lists.macosforge.org/pipermail/macports-
 dev/2015-August/031308.html

--
Ticket URL: <https://trac.macports.org/ticket/48807#comment:4>
MacPorts <https://www.macports.org/>
Ports system for OS X
_______________________________________________
macports-tickets mailing list
[hidden email]
https://lists.macosforge.org/mailman/listinfo/macports-tickets
Reply | Threaded
Open this post in threaded view
|  
Report Content as Inappropriate

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

MacPorts
In reply to this post by MacPorts
#48807: python35 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 charlie.clark@…):

 I suspect it's the related to the same issue but within the Python shell I
 need to press Return a second time to get a command prompt. This is a
 serious inconvenience!

--
Ticket URL: <https://trac.macports.org/ticket/48807#comment:7>
MacPorts <https://www.macports.org/>
Ports system for OS X
_______________________________________________
macports-tickets mailing list
[hidden email]
https://lists.macosforge.org/mailman/listinfo/macports-tickets
Reply | Threaded
Open this post in threaded view
|  
Report Content as Inappropriate

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

MacPorts
In reply to this post by MacPorts
#48807: python35 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 yselivanov@…):

 Final Python 3.5 will be released in a few days. Is there a chance this
 will be fixed?

--
Ticket URL: <https://trac.macports.org/ticket/48807#comment:8>
MacPorts <https://www.macports.org/>
Ports system for OS X
_______________________________________________
macports-tickets mailing list
[hidden email]
https://lists.macosforge.org/mailman/listinfo/macports-tickets
Reply | Threaded
Open this post in threaded view
|  
Report Content as Inappropriate

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

MacPorts
In reply to this post by MacPorts
#48807: python35 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 charlie.clark@…):

 Replying to [comment:8 yselivanov@…]:
 > Final Python 3.5 will be released in a few days. Is there a chance this
 will be fixed?
 I don't think that really matters. This is affecting all versions of
 Python.

--
Ticket URL: <https://trac.macports.org/ticket/48807#comment:10>
MacPorts <https://www.macports.org/>
Ports system for OS X
_______________________________________________
macports-tickets mailing list
[hidden email]
https://lists.macosforge.org/mailman/listinfo/macports-tickets
Reply | Threaded
Open this post in threaded view
|  
Report Content as Inappropriate

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

MacPorts
In reply to this post by MacPorts
#48807: python35 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 ufdup89@…):

 Replying to [comment:10 charlie.clark@…]:
 > Replying to [comment:8 yselivanov@…]:
 > > Final Python 3.5 will be released in a few days. Is there a chance
 this will be fixed?
 > I don't think that really matters. This is affecting all versions of
 Python.

 reverting to ncurses @5.9_2 seems to fix the problem...

--
Ticket URL: <https://trac.macports.org/ticket/48807#comment:11>
MacPorts <https://www.macports.org/>
Ports system for OS X
_______________________________________________
macports-tickets mailing list
[hidden email]
https://lists.macosforge.org/mailman/listinfo/macports-tickets
Reply | Threaded
Open this post in threaded view
|  
Report Content as Inappropriate

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

MacPorts
In reply to this post by MacPorts
#48807: python35 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 charlie.clark@…):

 Replying to [comment:11 ufdup89@…]:
 > reverting to ncurses @5.9_2 seems to fix the problem...
 Sure, but this isn't easily done because you can't downgrade ports. But it
 does suggest that there may be a bug in ncurses v6.

--
Ticket URL: <https://trac.macports.org/ticket/48807#comment:12>
MacPorts <https://www.macports.org/>
Ports system for OS X
_______________________________________________
macports-tickets mailing list
[hidden email]
https://lists.macosforge.org/mailman/listinfo/macports-tickets
Reply | Threaded
Open this post in threaded view
|  
Report Content as Inappropriate

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

MacPorts
In reply to this post by MacPorts
#48807: python35 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@…):

 As noted in the mailing on the list, adjusting the port to use readline
 rather than libedit makes things work.

--
Ticket URL: <https://trac.macports.org/ticket/48807#comment:13>
MacPorts <https://www.macports.org/>
Ports system for OS X
_______________________________________________
macports-tickets mailing list
[hidden email]
https://lists.macosforge.org/mailman/listinfo/macports-tickets
Reply | Threaded
Open this post in threaded view
|  
Report Content as Inappropriate

Re: [MacPorts] #48807: python messes with terminal state on exit (was: python35 messes with terminal state on exit)

MacPorts
In reply to this post by MacPorts
#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      |
---------------------------+-------------------

--
Ticket URL: <https://trac.macports.org/ticket/48807#comment:15>
MacPorts <https://www.macports.org/>
Ports system for OS X
_______________________________________________
macports-tickets mailing list
[hidden email]
https://lists.macosforge.org/mailman/listinfo/macports-tickets
Reply | Threaded
Open this post in threaded view
|  
Report Content as Inappropriate

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

MacPorts
In reply to this post by MacPorts
#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
_______________________________________________
macports-tickets mailing list
[hidden email]
https://lists.macosforge.org/mailman/listinfo/macports-tickets
Reply | Threaded
Open this post in threaded view
|  
Report Content as Inappropriate

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

MacPorts
In reply to this post by MacPorts
#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@…):

 There is a stackoverflow thread as well:
 http://stackoverflow.com/questions/32578009/python-macports-and-buffer-
 problems - I've posted a link to this discussion there; completing the
 loop.

--
Ticket URL: <https://trac.macports.org/ticket/48807#comment:18>
MacPorts <https://www.macports.org/>
Ports system for OS X
_______________________________________________
macports-tickets mailing list
[hidden email]
https://lists.macosforge.org/mailman/listinfo/macports-tickets
Reply | Threaded
Open this post in threaded view
|  
Report Content as Inappropriate

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

MacPorts
In reply to this post by MacPorts
#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@…):

 Does it work for those impacted if you install pyNN-readline?

--
Ticket URL: <https://trac.macports.org/ticket/48807#comment:19>
MacPorts <https://www.macports.org/>
Ports system for OS X
_______________________________________________
macports-tickets mailing list
[hidden email]
https://lists.macosforge.org/mailman/listinfo/macports-tickets
Reply | Threaded
Open this post in threaded view
|  
Report Content as Inappropriate

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

MacPorts
In reply to this post by MacPorts
#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 charlie.clark@…):

 Replying to [comment:19 eborisch@…]:
 > Does it work for those impacted if you install pyNN-readline?
 I confirm that this works for Python 2.6, Python 2.7 and Python 3.4. But
 it doesn't work for Python 3.3 (port is obsolete) or Python 3.5 (no port
 py35-readline).

--
Ticket URL: <https://trac.macports.org/ticket/48807#comment:20>
MacPorts <https://www.macports.org/>
Ports system for OS X
_______________________________________________
macports-tickets mailing list
[hidden email]
https://lists.macosforge.org/mailman/listinfo/macports-tickets
Reply | Threaded
Open this post in threaded view
|  
Report Content as Inappropriate

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

MacPorts
In reply to this post by MacPorts
#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 suv-sf@…):

 Replying to [comment:19 eborisch@…]:
 > Does it work for those impacted if you install pyNN-readline?

 On OS X 10.7.5:
 * Confirmed for Python 2.6, 2.7 and 3.4[[BR]]
 * Not confirmed for Python 2.5 (I reinstated py25-readline in a local
 portfile repository for testing)

--
Ticket URL: <https://trac.macports.org/ticket/48807#comment:21>
MacPorts <https://www.macports.org/>
Ports system for OS X
_______________________________________________
macports-tickets mailing list
[hidden email]
https://lists.macosforge.org/mailman/listinfo/macports-tickets
Reply | Threaded
Open this post in threaded view
|  
Report Content as Inappropriate

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

MacPorts
In reply to this post by MacPorts
#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 libedit  |
-------------------------------+-------------------
Changes (by jmr@…):

 * cc: mcalhoun@… (added)
 * port:  python35 => python35 libedit


--
Ticket URL: <https://trac.macports.org/ticket/48807#comment:22>
MacPorts <https://www.macports.org/>
Ports system for OS X
_______________________________________________
macports-tickets mailing list
[hidden email]
https://lists.macosforge.org/mailman/listinfo/macports-tickets
Reply | Threaded
Open this post in threaded view
|  
Report Content as Inappropriate

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

MacPorts
In reply to this post by MacPorts
#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 libedit  |
-------------------------------+-------------------

Comment (by eborisch@…):

 As mentioned on the mailing list, this addresses  the symptom, and has not
 identified the underlying issue. For users who just want it to work, that
 is likely OK, but we should still try to understand the root cause.

--
Ticket URL: <https://trac.macports.org/ticket/48807#comment:23>
MacPorts <https://www.macports.org/>
Ports system for OS X
_______________________________________________
macports-tickets mailing list
[hidden email]
https://lists.macosforge.org/mailman/listinfo/macports-tickets
Reply | Threaded
Open this post in threaded view
|  
Report Content as Inappropriate

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

MacPorts
In reply to this post by MacPorts
#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 libedit  |
-------------------------------+-------------------

Comment (by yselivanov@…):

 It's nearly impossible to use python right now.  Can this be fixed asap?
 If switching to readline from libedit helps -- can we do that?

--
Ticket URL: <https://trac.macports.org/ticket/48807#comment:24>
MacPorts <https://www.macports.org/>
Ports system for OS X
_______________________________________________
macports-tickets mailing list
[hidden email]
https://lists.macosforge.org/mailman/listinfo/macports-tickets
Reply | Threaded
Open this post in threaded view
|  
Report Content as Inappropriate

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

MacPorts
In reply to this post by MacPorts
#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 libedit  |
-------------------------------+-------------------

Comment (by eborisch@…):

 Users can install pyNN-readline in the interim. The problem doesn't exist
 for everyone (see mailing list) so it's not clear what the best course of
 action is here...

--
Ticket URL: <https://trac.macports.org/ticket/48807#comment:25>
MacPorts <https://www.macports.org/>
Ports system for OS X
_______________________________________________
macports-tickets mailing list
[hidden email]
https://lists.macosforge.org/mailman/listinfo/macports-tickets
12345
Loading...