Closed GoogleCodeExporter closed 8 years ago
I replaced the with open... line with:
wmm_file = open(wmm_filename,"rb")
if (1):
and the module seems to work now.
Original comment by krobin...@gmail.com
on 15 Oct 2010 at 3:10
I haven't looked at this in 5 years. My guess is that this is a 2.5 vs. 2.6
issue with respect to the syntax of open(). I'll investigate.
Original comment by cmwe...@gmail.com
on 19 Dec 2014 at 4:45
The documentation for 2.5 indicates that the mode parameter is optional and
that the default is "r" for read only (read only text mode on windows and mac).
Since the .COF file is ascii text the "rb" (read binary) mode should not be
correct.
See:
https://docs.python.org/release/2.5/tut/node9.html#SECTION009200000000000000000
I'll continue to investigate to see if the "rb" mode could be harmful.
Original comment by cmwe...@gmail.com
on 19 Dec 2014 at 4:59
Not fixing. Cannot reproduce.
Original issue reported on code.google.com by
krobin...@gmail.com
on 15 Oct 2010 at 1:17