charref() maybe throw OverflowError: Python int too large to convert to C int
Open
- Dominant language
- Python
- Stars
- 2.2k
- Forks
- 296
- PR merge metrics
- No merged PRs in 30d
Description
in charref():
`
if name[0] in ["x", "X"]:
c = int(name[1:], 16)
else:
c = int(name)
`
if name like "xabcdeabcdeabcdeabcde" will cause chr(c) throw OverflowError.
Contributor guide
Assessment
This issue has not been assessed yet.