I’ve never tried it before. Really? It gets caught in a loop? Weird, we’re not doing anything that exotic. I wonder what pylint is doing, it sounds more like a runtime checker than the syntax checker that is C lint.
I remember running into the same problem. Sadly I have not used it in a while. The fix I used was limiting how deep it would recursive scan to 2-3 levels.