-
-
Notifications
You must be signed in to change notification settings - Fork 13
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
module mode setup() issue, maybe? #125
Comments
It's the comment after
It will work if you remove the comment. Last night I said I knew you'd find another bug for me to fix, and you did not disappoint! This is a stupid error in the split setup code that most likely has been in py5 for a long time. It shouldn't be difficult to fix. Thanks for finding this! |
This is now fixed. Also fixed a similar problem caused by type hints: def setup() -> None:
py5.size(200, 200) That's valid Python code that should work. |
@villares , you are very welcome!!!! |
This used to work in module mode, didn't it? Or I'm getting it wrong and the setup disentanglement is just for imported mode?
py5.__version__ '0.8.2.dev0'
Update: it works in
'0.8.0a2'
it doesn't work in'0.8.1a1'
.Now:
The text was updated successfully, but these errors were encountered: