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

MAINT: make sure we pass ints to addWidget for python 3.10 #115

Merged
merged 1 commit into from
Nov 17, 2022

Conversation

ZLLentz
Copy link
Member

@ZLLentz ZLLentz commented Nov 17, 2022

The python 3.10 test suite fails on addWidget receiving floats.
This is my code golf submission for resolving it.

The floor division is appropriate and maintains the same layout behavior on both 3.9 and 3.10.

Regardless of this PR, lucid can't quite be run on python 3.10 yet. See pcdshub/pcds-envs#205 (comment)

Copy link
Contributor

@tangkong tangkong left a comment

Choose a reason for hiding this comment

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

I don't know why I hadn't heard about code golf until now. Quite the fitting name

@ZLLentz ZLLentz merged commit 046a49c into pcdshub:master Nov 17, 2022
@ZLLentz ZLLentz deleted the maint_py310 branch November 17, 2022 17:51
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