pylint #9386 don't issue "unable to import module" when in try: except ImportError [open]
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) | |
priority | normal |
---|---|
type | enhancement |
done in | <not specified> |
load | 0.500 |
load left | 0.500 |
closed by | <not specified> |
similar entities
- logilab-astng #2459 __path__ handling
- pylint #4288 message [en|dis]abling refactoring
- logilab-astng #9515 strange message for non-class "Class baz has no egg member"
- pylint #3203 disabling W0702 (no exception's type specified) works in a strange way
- pylint #4016 message deactivation / multi lines statements
[see all]