Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

change u == 0 test to avoid py3.8+ syntax warning#580

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 ourterms of service andprivacy statement. We’ll occasionally send you account related emails.

Already on GitHub?Sign in to your account

Merged

Conversation

murrayrm
Copy link
Member

PR#546 introduced a test of the formu == 0 that generates a SyntaxWarning in Python 3.8+. I changed this to setu toNone by default and then check foru is None. A good description of the reason for the warning ishere.

@coveralls
Copy link

Coverage Status

Coverage remained the same at 89.14% when pulling89dcf3c on murrayrm:fix_is_py3.8+ into55d7e2b on python-control:master.

@sawyerbfuller
Copy link
Contributor

good catch, thanks. just so easy to write 'is' by accident in such cases, I thought i had gotten it out of my system but I guess not. : )

@sawyerbfullersawyerbfuller merged commit992bf0e intopython-control:masterMar 20, 2021
@murrayrmmurrayrm deleted the fix_is_py3.8+ branchMarch 20, 2021 04:00
@murrayrmmurrayrm added this to the0.9.0 milestoneMar 20, 2021
Sign up for freeto join this conversation on GitHub. Already have an account?Sign in to comment
Reviewers
No reviews
Assignees
No one assigned
Labels
None yet
Projects
None yet
Milestone
0.9.0
Development

Successfully merging this pull request may close these issues.

3 participants
@murrayrm@coveralls@sawyerbfuller

[8]ページ先頭

©2009-2025 Movatter.jp