Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Use str.isascii #23378

Open
wants to merge 1 commit into
base: main
Choose a base branch
from
Open

Use str.isascii #23378

wants to merge 1 commit into from

Conversation

eagleoflqj
Copy link
Contributor

As Ubuntu focal is the oldest version supported by emscripten and it packages Python 3.8.2, I think it'd be safe to replace isascii.
https://launchpad.net/ubuntu/focal/+package/python3

@@ -476,17 +476,6 @@ def check_closure_compiler(cmd, args, env, allowed_to_fail):
return True


# Remove this once we require python3.7 and can use std.isascii.
# See: https://docs.python.org/3/library/stdtypes.html#str.isascii
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

If you are proposing we drop support for python3.6 can you open a bug for that where we can discuss the costs/benefits?

@sbc100
Copy link
Collaborator

sbc100 commented Jan 13, 2025

I created an issue to discuss bumping the minimum supported python version: #23387

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.

2 participants