Thanks for the correct answer @Asisnath and I just wanted to link to the official answer posted here:
It’s odd that everyone suddenly got this error after years of it never surfacing. I have to imagine that there was some update to IronPython with the latest Rhino or something like that, which suddenly made this an error whereas it previously was auto-corrected. In any case, it’s all fixed now.