Closed zlt999 closed 1 week ago
IIRC, resource
is a built-in library in CPython.
@eliben This looks inoffensive enough. PAGESIZE
, strictly speaking, is not even particularly necessary - it's only used for reading chunks to be decompressed, a hard coded buffer size would do just as well.
@sevaa agreed, would you like to send a quick PR to remove all that PAGESIZE mess? I suppose something like a 4 KiB buffer size would do
I run the packaged app by pyinstaller on windows platform, and get error raised as below:
Still not sure where this resouce.py come from. I use dir() and get output as below:
This resource.py seems to be empty.
After all, I changed the source code in elffile.py and the problem is gone.