Package: pylint
Version: 0.18.0-1
Severity: wishlist

As I try to write compatible code I quite often have to do conditional
import like this:

try:
    import io
except ImportError:
    try:
        import cStringIO as io
    except ImportError:
        import StringIO as io

However pylint complains about one or another module being not
importable:

F:  7: Unable to import 'io' (No module named io)

Maybe this could be improved.

Helmut



-- 
To UNSUBSCRIBE, email to debian-bugs-dist-requ...@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org

Reply via email to