~pyflakes-dev/pyflakes/master

Viewing all changes in revision 208.

  • Committer: John Vandenberg
  • Date: 2016-03-15 15:47:56 UTC
  • Revision ID: git-v1:aec68a7847d8dbd1371242f42f9302103a68178f
Importation classes with imported name and alias

In order to solve many corner cases related to imports,
more information is needed about each import.

This change creates two new classes:
- SubmoduleImportation
- ImportationFrom

And adds an optional parameter full_name to the super class
Importation.

Functionally, this change only improves existing error messages
to report the full imported name where previously an error
would include only the import alias.

expand all expand all

Show diffs side-by-side

added added

removed removed

Lines of Context: