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 dict lookup of driver name by sys.platform #343

Merged

Conversation

cclauss
Copy link
Contributor

@cclauss cclauss commented Oct 19, 2024

Dict lookup is faster and more readable but the principal advantage is that Python 3.13 adds more sys.platforms like android, ios, and emscripten so the reliable expandability of drivers could come in handy.

@cclauss cclauss marked this pull request as draft October 20, 2024 08:09
@cclauss cclauss force-pushed the dict-lookup-of-driver-by-sys.platform branch from b5ef9a2 to be2aca6 Compare October 25, 2024 16:34
@cclauss cclauss marked this pull request as ready for review October 25, 2024 16:34
@cclauss
Copy link
Contributor Author

cclauss commented Oct 27, 2024

@willwade Ready for review.

@willwade
Copy link
Collaborator

Good with me. Let's merge if we can - this and the six PR- then I'll update my branches and push changes so we can fix espeak. My calculator is that espeak would never have passed these tests..

@willwade willwade merged commit da247c1 into nateshmbhat:master Oct 27, 2024
11 checks passed
@cclauss cclauss deleted the dict-lookup-of-driver-by-sys.platform branch October 27, 2024 13:19
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