You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Python 3.9 is the last version providing backward compatibility layers.
Opening GzipFile file for writing without specifying the mode argument is deprecated
Without even looking at the code, my guess is that we want a mode of "rb" (read-only binary) where gzip is used, as we don't generally write to gzip files in cve-bin-tool.
The text was updated successfully, but these errors were encountered:
The mode for gzipfile can be of 'r', 'rb', 'a', 'ab', 'w', 'wb', 'x' or 'xb' for binary mode, or 'rt', 'at', 'wt', or 'xt' for text mode. The default is 'rb'.So I think its resolved.
U may close this issue
In #910, @chazuttu noted the following:
We should fix this by specifying the mode argument. You can read about the arguments in the documentation here:
https://docs.python.org/3/library/gzip.html
Without even looking at the code, my guess is that we want a mode of "rb" (read-only binary) where gzip is used, as we don't generally write to gzip files in cve-bin-tool.
The text was updated successfully, but these errors were encountered: