I’ve got it working by going back to Python Mode build 3035 in place of current 3038 (3039 at its repo).
Build 3035 was in the subfolder “old/” btW.
Anyways, you should report the issue here:
If you are on Windows 64-bits, be sure to check this issue, and the workaround of deleting/renaming from the Processing IDE folder this file: \processing-3.x.x\modes\java\libraries\serial\library\windows32\jSSC-2.8.dll