tabreturn / thonny-py5mode

A py5 plug-in for Thonny
Do What The F*ck You Want To Public License
23 stars 8 forks source link

removing maxsize argument from `get_python_version_string()` call #60

Closed villares closed 1 month ago

villares commented 2 months ago

This fixes https://github.com/tabreturn/thonny-py5mode/issues/59 for me on Thonny 4.1.4

Will it work on earlier versions? I'm not sure.

villares commented 1 month ago

The get_python_version_string function comes from: from thonny.common import get_python_version_string

I checked how Thonny was using it in their own about dialog, and the definition/signature changed, there is no maxsize argument anymore: https://github.com/thonny/thonny/commit/88a3d788d3e4acff3cd6c907fa04d39de0956aa5