Antoine Pitrou added the comment:

os.fdopen() in 2.x would always create a FILE*, and therefore inherit fread()'s 
semantics even in "unbuffered" mode. In 3.x, unbuffered I/O instead calls 
read() directly, and happily returns partial reads; this is by design.

So, I guess imaplib should be fixed  :-)

----------
components: +Library (Lib)
nosy: +pitrou
stage:  -> needs patch

_______________________________________
Python tracker <rep...@bugs.python.org>
<http://bugs.python.org/issue17443>
_______________________________________
_______________________________________________
Python-bugs-list mailing list
Unsubscribe: 
http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com

Reply via email to