Menu

#750 gencache.py: StringIO needs to be BytesIO

v1.0 (example)
open
nobody
None
5
2017-04-19
2017-04-19
No

When deploying a win32com-based executable (using py2exe), in python3, gencache.py line 107 throws an error, since StringIO expects a string and not bytes (which is the correct data type of the "data" parameter). After changing StringIO to BytesIO, the problem seems to be resolved. It would be great if that change can be applied in the source tree. Thanks.

Discussion