<feed xmlns='http://www.w3.org/2005/Atom'>
<title>delta/python-packages/pyflakes.git/pyflakes/test/test_imports.py, branch python37</title>
<subtitle>github.com: pyflakes/pyflakes.git
</subtitle>
<link rel='alternate' type='text/html' href='http://git.baserock.org/cgit/delta/python-packages/pyflakes.git/'/>
<entry>
<title>Fix typos (#77)</title>
<updated>2016-07-27T19:54:06+00:00</updated>
<author>
<name>Jakub Wilk</name>
<email>jwilk@jwilk.net</email>
</author>
<published>2016-07-27T19:54:06+00:00</published>
<link rel='alternate' type='text/html' href='http://git.baserock.org/cgit/delta/python-packages/pyflakes.git/commit/?id=9883d104e5559fb20a96fa68e537b702a09ec8f2'/>
<id>9883d104e5559fb20a96fa68e537b702a09ec8f2</id>
<content type='text'>
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
</pre>
</div>
</content>
</entry>
<entry>
<title>Fix TypeError when processing relative imports (#61)</title>
<updated>2016-05-12T18:28:52+00:00</updated>
<author>
<name>John Vandenberg</name>
<email>jayvdb@gmail.com</email>
</author>
<published>2016-05-12T18:28:52+00:00</published>
<link rel='alternate' type='text/html' href='http://git.baserock.org/cgit/delta/python-packages/pyflakes.git/commit/?id=d8591997d9718f482f7f1d39f2bf1aa0e4a5ab92'/>
<id>d8591997d9718f482f7f1d39f2bf1aa0e4a5ab92</id>
<content type='text'>
Fixes lp:1560134

aec68a784 added module names to error messages,
however it caused a TypeError for relative imports
that do not specify a module such as:

   from . import x

This fixes the TypeError, and also adds the necessary
leading dots for relative import error messages.

Add tests for various types of relative imports.</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Fixes lp:1560134

aec68a784 added module names to error messages,
however it caused a TypeError for relative imports
that do not specify a module such as:

   from . import x

This fixes the TypeError, and also adds the necessary
leading dots for relative import error messages.

Add tests for various types of relative imports.</pre>
</div>
</content>
</entry>
<entry>
<title>Suppress RedefinedWhileUnused for submodule import (#62)</title>
<updated>2016-05-05T20:16:10+00:00</updated>
<author>
<name>John Vandenberg</name>
<email>jayvdb@gmail.com</email>
</author>
<published>2016-05-05T20:16:10+00:00</published>
<link rel='alternate' type='text/html' href='http://git.baserock.org/cgit/delta/python-packages/pyflakes.git/commit/?id=45c28a31d3f4c402056433da2a7eb29f565e4344'/>
<id>45c28a31d3f4c402056433da2a7eb29f565e4344</id>
<content type='text'>
Fixes lp:1578051

aec68a7 added module names to error messages, which included
a new class SubmoduleImportation to handle the special case
of submodule imports.  It correctly handled the case of
a submodule import occurring after the root module was imported,
but didnt handle the opposite case of the submodule import
occurring before the root module was imported.</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Fixes lp:1578051

aec68a7 added module names to error messages, which included
a new class SubmoduleImportation to handle the special case
of submodule imports.  It correctly handled the case of
a submodule import occurring after the root module was imported,
but didnt handle the opposite case of the submodule import
occurring before the root module was imported.</pre>
</div>
</content>
</entry>
<entry>
<title>Importation classes with imported name and alias</title>
<updated>2016-03-15T15:47:56+00:00</updated>
<author>
<name>John Vandenberg</name>
<email>jayvdb@gmail.com</email>
</author>
<published>2015-11-25T14:24:53+00:00</published>
<link rel='alternate' type='text/html' href='http://git.baserock.org/cgit/delta/python-packages/pyflakes.git/commit/?id=aec68a7847d8dbd1371242f42f9302103a68178f'/>
<id>aec68a7847d8dbd1371242f42f9302103a68178f</id>
<content type='text'>
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.
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
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.
</pre>
</div>
</content>
</entry>
<entry>
<title>Check feature names imported from future</title>
<updated>2015-11-24T13:20:04+00:00</updated>
<author>
<name>John Vandenberg</name>
<email>jayvdb@gmail.com</email>
</author>
<published>2015-11-24T13:20:04+00:00</published>
<link rel='alternate' type='text/html' href='http://git.baserock.org/cgit/delta/python-packages/pyflakes.git/commit/?id=8d80642a76e16af6a8756a21b9ef9ec9a4b32108'/>
<id>8d80642a76e16af6a8756a21b9ef9ec9a4b32108</id>
<content type='text'>
As '*' does not appear in __future__.all_feature_names, this
also reports an error on : from __future__ import *
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
As '*' does not appear in __future__.all_feature_names, this
also reports an error on : from __future__ import *
</pre>
</div>
</content>
</entry>
<entry>
<title>Report each usage of star imports</title>
<updated>2015-11-24T12:49:04+00:00</updated>
<author>
<name>John Vandenberg</name>
<email>jayvdb@gmail.com</email>
</author>
<published>2015-11-24T12:49:04+00:00</published>
<link rel='alternate' type='text/html' href='http://git.baserock.org/cgit/delta/python-packages/pyflakes.git/commit/?id=0532189b34086740d7fe553bd87c0a6cf682a93b'/>
<id>0532189b34086740d7fe553bd87c0a6cf682a93b</id>
<content type='text'>
Also detect unused star imports.
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Also detect unused star imports.
</pre>
</div>
</content>
</entry>
<entry>
<title>Python 3 only allows import * at module level</title>
<updated>2015-11-18T15:51:53+00:00</updated>
<author>
<name>John Vandenberg</name>
<email>jayvdb@gmail.com</email>
</author>
<published>2015-11-18T15:44:31+00:00</published>
<link rel='alternate' type='text/html' href='http://git.baserock.org/cgit/delta/python-packages/pyflakes.git/commit/?id=02f55ed784db600d02ae130ec325ac37d44322a9'/>
<id>02f55ed784db600d02ae130ec325ac37d44322a9</id>
<content type='text'>
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
</pre>
</div>
</content>
</entry>
<entry>
<title>Import in Class is a public member</title>
<updated>2015-11-15T08:20:01+00:00</updated>
<author>
<name>John Vandenberg</name>
<email>jayvdb@gmail.com</email>
</author>
<published>2015-11-15T05:18:25+00:00</published>
<link rel='alternate' type='text/html' href='http://git.baserock.org/cgit/delta/python-packages/pyflakes.git/commit/?id=dcf31a1ae62cd6ba1514acf61786db846b8d9d88'/>
<id>dcf31a1ae62cd6ba1514acf61786db846b8d9d88</id>
<content type='text'>
An import in a class is a member of the class,
and may be used outside the class scope, so it
can not be marked as unused.
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
An import in a class is a member of the class,
and may be used outside the class scope, so it
can not be marked as unused.
</pre>
</div>
</content>
</entry>
<entry>
<title>Don't report UnusedImport when binding global name</title>
<updated>2015-08-14T16:12:15+00:00</updated>
<author>
<name>ryneeverett</name>
<email>ryneeverett@gmail.com</email>
</author>
<published>2015-08-14T01:53:01+00:00</published>
<link rel='alternate' type='text/html' href='http://git.baserock.org/cgit/delta/python-packages/pyflakes.git/commit/?id=ad8e83db81c054152ae931ad9c8d3148b4171972'/>
<id>ad8e83db81c054152ae931ad9c8d3148b4171972</id>
<content type='text'>
When an import binds to a name declared global by the "global"
statment, don't report it as unused.
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
When an import binds to a name declared global by the "global"
statment, don't report it as unused.
</pre>
</div>
</content>
</entry>
<entry>
<title>Improve 'global' statement support.</title>
<updated>2015-04-28T00:31:21+00:00</updated>
<author>
<name>ryneeverett</name>
<email>ryneeverett@gmail.com</email>
</author>
<published>2015-04-28T00:28:01+00:00</published>
<link rel='alternate' type='text/html' href='http://git.baserock.org/cgit/delta/python-packages/pyflakes.git/commit/?id=03ffc76367c2910f37908105391c425cc4ae52da'/>
<id>03ffc76367c2910f37908105391c425cc4ae52da</id>
<content type='text'>
Add declared globals to each scope in the scope stack to avoid
erroneous UndefinedName errors when they are loaded.
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Add declared globals to each scope in the scope stack to avoid
erroneous UndefinedName errors when they are loaded.
</pre>
</div>
</content>
</entry>
</feed>
