Added imports should not be exposed in public API.
Bug #881591 reported by
Denis Zawada
This bug affects 1 person
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
awkwardduet |
Confirmed
|
Low
|
Unassigned |
Bug Description
Currently several fixers work by modifying imports. The default should be to not change the public API.
For example:
from itertools import imap
Should be:
from itertools import imap as _imap
or even
from itertools import imap as _3to2__imap
To post a comment you must log in.