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
{{ message }}
Repository navigation
zlib strategy constants not strictly enforced #10932
zlib.constant.Z_RLE is 3 but code will happily accept "3" and work just fine.
Either we should add a test to confirm that strings continue to work, or else strictly enforce that only exactly the constants provided by zlib.constants are acceptable.
Activity
zlib: be strict about what strategies are accepted
test,zlib: check string strategies
Trott commentedon Jan 21, 2017
#10933 and #10934 are the two possible approaches to this issue.
zlib: be strict about what strategies are accepted