> Chris Garrigues <[EMAIL PROTECTED]> writes:
>
> >> For example, what prevents the Python interpreter from appending a
> >> string by appending it character-by-character?  In that case, the
> >> competing "appends" may intertwine in an unexpected way.
> >
> > If it does this, then you've just found a rather nasty performance
> > bug in Python.

Jason wrote:
> No, Python doesn't do this.  File objects in Python and related
> methods are just thin wrappers around your system's stdio C library.
>
> See http://python.org/dev/doc/devel/lib/bltin-file-objects.html
> _____________________________________________

Hmmm ... from the URL you cited, I obtained this:

<BEGIN>
write( str) :  Write a string to the file. There is no return value. Due to
buffering, the string may not actually show up in the file until the flush()
or close() method is called.
<END>

Statements like that do not inspire confidence.

I'll research it to the end.

Dave.

_____________________________________________
tmda-users mailing list ([EMAIL PROTECTED])
http://tmda.net/lists/listinfo/tmda-users

Reply via email to