[pywin32-bugs] [ pywin32-Bugs-2672514 ] genpy.py uses codecs mode "wt"
OLD project page for the Python extensions for Windows
Brought to you by:
mhammond
From: SourceForge.net <no...@so...> - 2009-03-08 15:44:06
|
Bugs item #2672514, was opened at 2009-03-08 15:43 Message generated for change (Tracker Item Submitted) made by Item Submitter You can respond by visiting: https://sourceforge.net/tracker/?func=detail&atid=551954&aid=2672514&group_id=78018 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: com Group: None Status: Open Resolution: None Priority: 5 Private: No Submitted By: Tim Golden (tjgolden) Assigned to: Nobody/Anonymous (nobody) Summary: genpy.py uses codecs mode "wt" Initial Comment: The CVS version of genpy.py at line 780 calls codecs.open with a mode of "wt". (I'm not sure why). But the codecs module clumsily forces binary mode when opening -- clumsily, because it simply adds "b" to the mode if it's not there, which results in an invalid mode of "wtb". I'm assuming that this is an error on the pywin32 side, but I'm surprised it hasn't shown up elsewhere. This showed up, by the way, when I attempted use the msi.py tool to build an MSI from a Python checkout. ---------------------------------------------------------------------- You can respond by visiting: https://sourceforge.net/tracker/?func=detail&atid=551954&aid=2672514&group_id=78018 |