Content-Length: 277244 | pFad | https://github.com/python/cpython/issues/91595

02 Comparison of character and integer · Issue #91595 · python/cpython · GitHub
Skip to content

Comparison of character and integer #91595

@sweetStreet

Description

@sweetStreet

Bug report
"ch == 0x7F" seems to be incorrect, use "ord(ch) == 0x7F" instead

elif ch < ' ' or ch == 0x7F:

Your environment

  • CPython versions tested on: 3.7.10
  • Operating system and architecture: Linux x86-64

Metadata

Metadata

Assignees

Labels

type-bugAn unexpected behavior, bug, or error

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions









    ApplySandwichStrip

    pFad - (p)hone/(F)rame/(a)nonymizer/(d)eclutterfier!      Saves Data!


    --- a PPN by Garber Painting Akron. With Image Size Reduction included!

    Fetched URL: https://github.com/python/cpython/issues/91595

    Alternative Proxies:

    Alternative Proxy

    pFad Proxy

    pFad v3 Proxy

    pFad v4 Proxy