Skip to content

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

Merged
hugovk merged 1 commit into
python:3.15from
miss-islington:backport-597ec2d-3.15
Jul 31, 2026
Merged

[3.15] gh-153404: Silently ignore non-decimal digits in robots.txt Crawl-delay and Request-rate (GH-153405)#153830
hugovk merged 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>
@hugovk
hugovk merged commit 27372c2 into python:3.15 Jul 31, 2026
55 checks passed
@miss-islington
miss-islington deleted the backport-597ec2d-3.15 branch July 31, 2026 09:28
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants