Skip to content

zlib strategy constants not strictly enforced #10932

@Trott

Description

@Trott
  • Version: v8.0.0-pre
  • Platform: Darwin Kernel Version 16.3.0
  • Subsystem: zlib

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.

Metadata

Metadata

Assignees

No one assigned

    Labels

    zlibIssues and PRs related to the zlib subsystem.

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions