Message5111
r+b means read binary with possible update. There's difference between
in CPython and Jython as seen in the attached test file. Reopening.
$ python t_array.py
array('i', [1, 2, 3, 4, 5, 1, 2, 3, 4, 5, 1, 2, 3, 4, 5, 1, 2, 3, 4, 5])
$ jython t_array.py
Traceback (most recent call last):
File "t_array.py", line 12, in <module>
x.tofile(f)
TypeError: file needs to be in write or append mode |
|
Date |
User |
Action |
Args |
2009-09-07 17:25:46 | zyasoft | set | messageid: <1252344346.05.0.0204125368519.issue1457@psf.upfronthosting.co.za> |
2009-09-07 17:25:46 | zyasoft | set | recipients:
+ zyasoft, draghuram, jravon |
2009-09-07 17:25:45 | zyasoft | link | issue1457 messages |
2009-09-07 17:25:45 | zyasoft | create | |
|