+ fix bug in PyStreambuf when reading binary data

This commit is contained in:
wmayer
2016-06-11 15:38:51 +02:00
parent ec82ea252a
commit 38d5aebf4f

View File

@@ -562,8 +562,6 @@ std::streambuf::int_type PyStreambuf::underflow()
c = static_cast<std::string>(res)[0];
num++;
buffer[pbSize+i] = c;
if (c == '\n')
break;
}
catch (Py::Exception& e) {
e.clear();