Danek Duvall wrote:
> On Thu, Dec 18, 2008 at 12:31:09PM -0600, Shawn Walker wrote:
> 
>>> Okay.  I didn't see anything at the URL you sent saying that if a CR was
>>> the last thing printed on a line, the softspace handling would be
>>> overridden and no newline printed.
>> You are right, their explanation doesn't document that, it was observed 
>> behaviour I discovered on my own, but it seemed logical to me in the 
>> context of their explanation.  Reading through the python source code 
>> itself, it also seems to make sense if you look at the main interpreter 
>> loop from lines 1530-1560 in the python 2.4.5 source drop; though at this 
>> point, I'm far-off into undocumented territory (not that python documents 
>> the at exit softspace behaviour either that I can find).
>>
>> Hence why I'm still offering to attempt to use sys.stdout.write() instead.  
> 
> No, it's not necessary, but if you could summarize the discussion in the
> bug, I'd appreciate it.

No problem; I'll also add a brief code comment.

Cheers,
-- 
Shawn Walker
_______________________________________________
pkg-discuss mailing list
[email protected]
http://mail.opensolaris.org/mailman/listinfo/pkg-discuss

Reply via email to