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

Want the latest updates on software, tech news, and AI?
Get latest updates about software, tech news, and AI from SourceForge directly in your inbox once a month.