Hi Jorg, I somehow totally missed your answer. Of course I'm glad to provide a proper patch (and get rid of those awful advices in my init.el ;) ). Indeed I was searching through my old reports at debbugs mainly in order to push this one ahead, so it's nice to see you interested (although a bit late from my side...). I'm attaching a patch adding a new customization option to suppress highlighting. As soon as you apply it I will be submitting the corresponding PR to elpy in order to have full python highlighting all along the line. The patch is against emacs 27, please let me know if you have any problem applying it on top 26. Best regards -- Carlos