Message6499
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. |
|
Date |
User |
Action |
Args |
2011-04-19 02:08:27 | dstromberg | set | recipients:
+ dstromberg |
2011-04-19 02:08:27 | dstromberg | set | messageid: <1303178907.87.0.0206118617444.issue1735@psf.upfronthosting.co.za> |
2011-04-19 02:08:27 | dstromberg | link | issue1735 messages |
2011-04-19 02:08:27 | dstromberg | create | |
|