platformio / platform-atmelavr

Atmel AVR: development platform for PlatformIO
https://registry.platformio.org/platforms/platformio/atmelavr
Apache License 2.0
138 stars 105 forks source link

feat(py3): use modernize to support Python3 #86

Closed cfobel closed 5 years ago

cfobel commented 6 years ago

The python-modernize can help with this considerably, e.g.:

python-modernize . -w

will automatically use the six module to apply numerous transformations required for Python 2/3 compatability. The python-modernize tool was used to generate all changes in this commit.

ivankravets commented 5 years ago

Thank you so much for your PR. It seems that we added support for PY3. We just need only the 1 line https://github.com/platformio/platform-atmelavr/commit/f5a2ade952fbce6f3166a3b3f65bf598237f4c98