[Idle-dev] preserving newline representation in source files

Guido van Rossum guido@python.org
Fri, 03 Jan 2003 12:44:33 -0500


> >> I wonder -- has anyone considered such behavior for a future Idle version?
> 
> Guido> Until recently this would have been a pain.  As of Python 2.3,
> Guido> it can be done quite conveniently using universal newlines,
> Guido> open(filename,"U"), and the new 'newlines' attribute of
> Guido> resulting file objects.
> 
> I suspected as much, which is part of the reason I asked the question
> :-) I'm hoping that someone familiar with Idle internals will like the
> idea enough to implement it.

Add a SF bug report for it.

--Guido van Rossum (home page: http://www.python.org/~guido/)