title: Write unbuffered on python 3
body: <p>I'm trying to create a file on python without buffer, so its written at the same time I use write(). But for some reason I got an error.<br/>
  This is the line I'm using:<br/><br/>
  <code>my_file = open("test.txt", "a", buffering=0)
  my_file.write("Testing unbuffered writing\n")</code><br/><br/>
  And this is the error I got:<br/>
  <code>my_file = open("test.txt", "a", buffering=0)
  ValueError: can't have unbuffered text I/O</code>
  <br/><br/>
  There is anyway to do an unbuffered write on a file?
  I'm using python 3 on pyCharm.<br/>
  Thanks</p>