Skip to content

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

Merged
serhiy-storchaka merged 1 commit into
python:3.14from
miss-islington:backport-597ec2d-3.14
Jul 17, 2026
Merged

[3.14] gh-153404: Silently ignore non-decimal digits in robots.txt Crawl-delay and Request-rate (GH-153405)#153831
serhiy-storchaka merged 1 commit into
python:3.14from
miss-islington:backport-597ec2d-3.14

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 597ec2d7e5f8bbd5a1eb9e6780444cae46cec3ea)

Co-authored-by: tonghuaroot (童话) <tonghuaroot@gmail.com>
@serhiy-storchaka
serhiy-storchaka enabled auto-merge (squash) July 17, 2026 06:00
@serhiy-storchaka
serhiy-storchaka merged commit 1b060a6 into python:3.14 Jul 17, 2026
49 checks passed
@miss-islington
miss-islington deleted the backport-597ec2d-3.14 branch July 17, 2026 06:23
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