You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Note: these values reflect the state of the issue at the time it was migrated and might not reflect the current state.
Show more details
GitHub fields:
assignee='https://github.com/benjaminp'closed_at=<Date2009-01-09.02:01:20.723>created_at=<Date2009-01-08.02:26:51.986>labels= ['expert-2to3']
title='Incorrect detection of module as local'updated_at=<Date2009-01-09.02:01:20.710>user='https://github.com/loewis'
Activity
loewis commentedon Jan 8, 2009
There is an unfortunate interaction of two fixers to be observed in
django. django.util.text.py contains
This gets fixed to
because there is also a local module django.util.html. This is
incorrect; it should have converted it to
As a workaround, I now run
on ImportError of the (converted) import statement. Is there a better
work-around?
benjaminp commentedon Jan 8, 2009
Should we just run the import fixer (fixes stdlib module names) after
the import fixer (fixes sibling imports)?
loewis commentedon Jan 8, 2009
That should work, yes.
benjaminp commentedon Jan 9, 2009
Fixed in r68422.