Closed RainbowXie closed 4 months ago
It's not an issue from the PyCript. The restriction is from the OS, You can check out the Python doc - https://docs.python.org/3.9/using/windows.html#removing-the-max-path-limitation.
PyCript has been tested with large data and PyCript can work with large data till you have a max path limitation increased.
It's not a valid bug from the PyCript.
yep, I also mentioned it in my issue, the limitation can expanded to 32,000 characters. but it also not enough in my case which is far more exceeded than 32,000.
It's not an issue from the PyCript. The restriction is from the OS, You can check out the Python doc - https://docs.python.org/3.9/using/windows.html#removing-the-max-path-limitation.
PyCript has been tested with large data and PyCript can work with large data till you have a max path limitation increased.
It's not a valid bug from the PyCript.
As i mentioned its a restriction from OS not from the Pycript. You can edit the PyCript and your script to use other encoding instead of base64 to reduce the length.
I think the better way is use standard input/output stream to avoid this.
when try to encrypt/decrypt a super long data like:
It will throw an exception:
which is a windows system limitation. It can mitigation by Windows Registry item: LongPathsEnabled, but still not enough in this case.
since it's not usual but more or less encountered at the time of use. It should be solve by tools itself.