Message5111

Author zyasoft
Recipients draghuram, jravon, zyasoft
Date 2009-09-07.17:25:45
SpamBayes Score 3.346018e-11
Marked as misclassified No
Message-id <1252344346.05.0.0204125368519.issue1457@psf.upfronthosting.co.za>
In-reply-to
Content
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
History
Date User Action Args
2009-09-07 17:25:46zyasoftsetmessageid: <1252344346.05.0.0204125368519.issue1457@psf.upfronthosting.co.za>
2009-09-07 17:25:46zyasoftsetrecipients: + zyasoft, draghuram, jravon
2009-09-07 17:25:45zyasoftlinkissue1457 messages
2009-09-07 17:25:45zyasoftcreate