title: pyserial.readline() with python 2.7
body: <p>I am using python 2.7.2 with pyserial 2.6.
  What is the best way to use pyserial.readline() when talking to a device that has a character other than "\n" for eol? The <a href="http://pyserial.sourceforge.net/shortintro.html#opening-serial-ports" rel="nofollow">pyserial doc</a> points out that pyserial.readline() no longer takes an 'eol=' argument in python 2.6+, but recommends using io.TextIOWrapper as follows:
    ser = serial.serial_for_url('loop://', timeout=1)
    sio = io.TextIOWrapper(io.BufferedRWPair(ser, ser))</p>
  
  <p>However the python <a href="http://docs.python.org/library/io.html#io.BufferedRWPair" rel="nofollow">io.BufferedRWPair doc</a> specifically warns against that approach, saying "BufferedRWPair does not attempt to synchronize accesses to its underlying raw streams. You should not pass it the same object as reader and writer; use BufferedRandom instead."</p>
  
  <p>Could someone point to a working example of pyserial.readline() working with an eol other than 'eol'?</p>
  
  <p>Thanks,
  Tom</p>