Bugs item #1467309, was opened at 2006-04-09 13:42 Message generated for change (Tracker Item Submitted) made by Item Submitter You can respond by visiting: https://sourceforge.net/tracker/?func=detail&atid=105470&aid=1467309&group_id=5470
Please note that this message will contain a full copy of the comment thread, including the initial issue submission, for this request, not just the latest update. Category: Windows Group: None Status: Open Resolution: None Priority: 5 Submitted By: Adam Hupp (hupp) Assigned to: Nobody/Anonymous (nobody) Summary: open should default to binary mode on windows Initial Comment: On windows the open() function defaults to reading files in text mode. To get a binary mode file I need to append a "b" to the mode string. I think this is an unnessary platform inconsistency. Twice now I've had hard to track down bugs because I was reading a file in text mode and should have been using binary. This is a wart, IMO. I'd like to suggest that the default open mode on windows be made binary, with an option to change it to text if desired. ---------------------------------------------------------------------- You can respond by visiting: https://sourceforge.net/tracker/?func=detail&atid=105470&aid=1467309&group_id=5470 _______________________________________________ Python-bugs-list mailing list Unsubscribe: http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com