Georg Brandl added the comment: Unfortunately, this is impossible to fix with the current implementation, which only tokenizes the source. A full parse would be necessary.
Since this is just a minor inconvenience (and there are many situations where the source cannot be found at all), I'm closing this as won't fix. ---------- nosy: +georg.brandl resolution: -> wont fix status: open -> closed _______________________________________ Python tracker <rep...@bugs.python.org> <http://bugs.python.org/issue17631> _______________________________________ _______________________________________________ Python-bugs-list mailing list Unsubscribe: https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com