This issue tracker has been migrated to GitHub, and is currently read-only.
For more information, see the GitHub FAQs in the Python's Developer Guide.

Author Trundle
Recipients Trundle, Wes.McKinney, akuchling, ned.deily, pitrou
Date 2010-10-19.20:26:40
SpamBayes Score 4.948053e-07
Marked as misclassified No
Message-id <1287520003.04.0.926020563883.issue10144@psf.upfronthosting.co.za>
In-reply-to
Content
That behaviour is indeed caused by ncurses as it changes the buffer size of stdio. The rationale behind that is explained in a comment in ncurses/tinfo/setbuf.c (http://codesearch.google.com/codesearch/p?hl=en#5KTrgOW2hXs/pub/nslu2/sources/ncurses-5.4.tar.gz%7CqZkYBenqdbw/ncurses-5.4/ncurses/tinfo/setbuf.c&l=46)

That behaviour is also mentioned in the man-page of ncurses and one can disable it using the NCURSES_NO_SETBUF environment variable. If I set that environment variable, the example behaves as expected on my machine.
History
Date User Action Args
2010-10-19 20:26:43Trundlesetrecipients: + Trundle, akuchling, pitrou, ned.deily, Wes.McKinney
2010-10-19 20:26:43Trundlesetmessageid: <1287520003.04.0.926020563883.issue10144@psf.upfronthosting.co.za>
2010-10-19 20:26:41Trundlelinkissue10144 messages
2010-10-19 20:26:40Trundlecreate