Wanted to bring this one to your attention.
Both the old IronPython (GhPython Component) and the new C# Scripting component update an empty input value properly, however Python3 and IronPython 2 versions of the scripting component do not work.
Example (disconnecting an input, TEST should be null):
Not sure how this happened. But the code inside the component seems to be passing - to output when x is not set. I’d appreicate if you can show me how I can replicate this issue
Not sure if this helps but when I first was attempting to utilize Sticky to store input values I realized that the Python3 (new script editor component) retained the last input it was given even when disconnected. I used this thinking it was a feature and was annoyed slightly to have to add logic to handle “if input is null, then x = None” kind of code.
Then as I learned more about Sticky I realized I could script that functionality and that the input stickyness of the new script editor was probably a bug.
Ok I see where the problem is. I’ll get it fixed but it’s not gonna make it to this week’s WIP if we publish one. Sorry for the bug. This was introduced after I made python scopes persistent.