In article <h09ten$5q...@lust.ihug.co.nz>, Lawrence D'Oliveiro <l...@geek-central.gen.new_zealand> wrote:
> In message <rnospamon-e7e08b.18181804062...@news.gha.chartermi.net>, Ron > Garret wrote: > > > Python 2.6.2 on OS X 10.5.7: > > Same result, Python 2.6.1-3 on Debian Unstable. My $LANG is en_NZ.UTF-8. > > > ... I always thought one of the fundamental > > invariants of unix processes was that there's no way for a process to > > know what's on the other end of its stdout. > > Well, there have long been functions like isatty(3). That's probably what's > involved here. Oh. Right. Duh. I am having an unbelievably bad day involving lawyers. (And not language lawyers, real ones.) Found the answer here: http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=415968 rg -- http://mail.python.org/mailman/listinfo/python-list