Python + libedit woes

Joshua Root jmr at macports.org
Tue Sep 15 19:54:28 PDT 2015


On 2015-9-16 11:42 , Eric A. Borisch wrote:
> Any thoughts on this? Are most users not impacted, or have most not tried?
> 
> https://trac.macports.org/ticket/48807
> <https://trac.macports.org/ticket/48807#comment:15>
> 
> I'm clearly not the only one. :)
> 
>   - Eric

I see the issue where the >>> prompt is not displayed when it should be.
It looks like it is written but stays buffered until the next bit of
output is written. This sounds like the problem mentioned in the ncurses
release notes where a program assumes that ncurses' buffers are the same
as stdio's buffers. Either libedit or python probably needs a flush call
somewhere.

I don't see the other more serious problems though. It may have
something to do with the declared terminal type?

- Josh


More information about the macports-dev mailing list