unreadline()

Michael Hudson mwh at python.net
Mon Aug 12 10:38:41 EDT 2002


Thomas Guettler <zopestoller at thomas-guettler.de> writes:

> There seems to be no "unreadline()" for files and streams
> 
> How could this be implemented?

I think answers to your second question explain the first.

Write a buffering wrapper if you have a specific need.

Cheers,
M.

-- 
  > so python will fork if activestate starts polluting it?
  I find it more relevant to speculate on whether Python would fork
  if the merpeople start invading our cities riding on the backs of 
  giant king crabs.                 -- Brian Quinlan, comp.lang.python



More information about the Python-list mailing list