Message852
Logged In: YES
user_id=657828
The behavior Steven describes is PyFile-related, not struct-
related. You could verify this by checking that value ==
unpack(format, pack(format, value))[0].
I don't think PyFile's behavior when writing binary data to a
non-binary file is really a bug; more like acceptable platform-
specific behavior. [The responsible party is
PyFile.FileFormat.getBytes.] If you change 'w' and 'r' to 'wb'
and 'rb' in Steven's example, Jython gives the same results as
CPython. |
|
Date |
User |
Action |
Args |
2008-02-20 17:17:15 | admin | link | issue753790 messages |
2008-02-20 17:17:15 | admin | create | |
|