New submission from Dan Stromberg <strombrg@...>:
In Jython 2.5.2 (I didn't see 2.5.2 in the version list) os.read() returns an object of type unicode, but should return an object of type str in Python 2.x's.
This is inconsistent with CPython 2.x and PyPy 1.4.1, both of which return str.
Because CPython 3.x's os.read() returns bytes (which are similar to 2.x str's), use of os.read() is perhaps becoming important for systems programming, where os.read() gives nice binary blobs in both 2.x and 3.x, without imposing any encoding assumptions on the data being read.
title: return type of os.read is unicode, not str
Jython tracker <report@...>