Skip to content

[3.15] gh-153404: Silently ignore non-decimal digits in robots.txt Crawl-delay and Request-rate (GH-153405)#153830

Open
miss-islington wants to merge 1 commit into
python:3.15from
miss-islington:backport-597ec2d-3.15
Open

[3.15] gh-153404: Silently ignore non-decimal digits in robots.txt Crawl-delay and Request-rate (GH-153405)#153830
miss-islington wants to merge 1 commit into
python:3.15from
miss-islington:backport-597ec2d-3.15

Conversation

@miss-islington

@miss-islington miss-islington commented Jul 17, 2026

Copy link
Copy Markdown
Contributor

str.isdigit() returned True for non-decimal Unicode digits such as
U+00B2 SUPERSCRIPT TWO, which int() then rejected with ValueError.
(cherry picked from commit 597ec2d)

Co-authored-by: tonghuaroot (童话) tonghuaroot@gmail.com

…wl-delay and Request-rate (pythonGH-153405)

str.isdigit() returned True for non-decimal Unicode digits such as
U+00B2 SUPERSCRIPT TWO, which int() then rejected with ValueError.
(cherry picked from commit 597ec2d)

Co-authored-by: tonghuaroot (童话) <tonghuaroot@gmail.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants