Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Trac #20884: line buffering in sage-logger causes "hang" due to invis…
…ible prompt when installing experimental packages (Observed on Mac OS X.) As I reported in http://trac.sagemath.org/ticket/20708#comment:8: When installing an "experimental" package, Sage warns a lot and then prompts the user. Because of line buffering, one does not see the prompt, but Sage just waits indefinitely. {{{ sage -f latte_int ... [latte_int-1.7.3] =========================== WARNING =========================== [latte_int-1.7.3] You are about to download and install an experimental package. [latte_int-1.7.3] This probably won't work at all for you! There is no guarantee [latte_int-1.7.3] that it will build correctly, or behave as expected. [latte_int-1.7.3] Use at your own risk! [latte_int-1.7.3] =============================================================== }}} <--- This is where it asks "[latte_int-1.7.3] Are you sure you want to continue [Y/n]?" but this is line-buffered and not visible to the user. URL: https://trac.sagemath.org/20884 Reported by: mkoeppe Ticket author(s): Matthias Koeppe Reviewer(s): Leif Leonhardy, Volker Braun
- Loading branch information