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

Modify easygui code and docs to return True/False instead of 1/0 #5

Closed
robertlugg opened this issue Nov 17, 2014 · 1 comment
Closed
Assignees
Milestone

Comments

@robertlugg
Copy link
Owner

Most people using this package are likely starting from a newer version of Python, so I think this would be fine. it possibly could break backwards compatibility, but I really think it should change.

@robertlugg robertlugg self-assigned this Nov 17, 2014
@robertlugg robertlugg added this to the 0.97 Release milestone Dec 3, 2014
@robertlugg
Copy link
Owner Author

After discussions with Horst, we decided to change the usage to True/False where possible. Generally, if people are testing truthiness, this won't hurt backward compatability, but their code uses ==1 as a comparison, I'm not sure what happens.

@robertlugg robertlugg changed the title Modify ccbox and ynbox to return True/False instead of 1/0 Modify easygui code and docs to return True/False instead of 1/0 Dec 3, 2014
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

No branches or pull requests

1 participant