gencache.py: StringIO needs to be BytesIO
OLD project page for the Python extensions for Windows
Brought to you by:
mhammond
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.