title: Nonblocking fifo
body: <p>How can I make a fifo between two python processes, that allow dropping of lines if the reader is not able to handle the input?</p>
  
  <ul>
  <li>If the reader tries to <code>read</code> or <code>readline</code> faster then the writer writes, it should block.</li>
  <li>If the reader cannot work as fast as the writer writes, the writer should not block. Lines should not be buffered (except one line at a time) and only the last line written should be received by the reader on its next <code>readline</code> attempt.</li>
  </ul>
  
  <p>Is this possible with a named fifo, or is there any other simple way for achiving this?</p>