<feed xmlns='http://www.w3.org/2005/Atom'>
<title>delta/python-packages/pyflakes.git/pyflakes/checker.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>Support Python 3.7</title>
<updated>2017-05-29T20:23:10+00:00</updated>
<author>
<name>Steven Myint</name>
<email>git@stevenmyint.com</email>
</author>
<published>2017-05-29T14:50:17+00:00</published>
<link rel='alternate' type='text/html' href='http://git.baserock.org/cgit/delta/python-packages/pyflakes.git/commit/?id=61185921fb1e94dbefe2596ccef863d0142fcbeb'/>
<id>61185921fb1e94dbefe2596ccef863d0142fcbeb</id>
<content type='text'>
This fixes #271.
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
This fixes #271.
</pre>
</div>
</content>
</entry>
<entry>
<title>Process function scope variable annotations (#88)</title>
<updated>2017-01-22T20:01:45+00:00</updated>
<author>
<name>Jakub Stasiak</name>
<email>jakub@stasiak.at</email>
</author>
<published>2017-01-22T20:01:45+00:00</published>
<link rel='alternate' type='text/html' href='http://git.baserock.org/cgit/delta/python-packages/pyflakes.git/commit/?id=a007c3d7f05b42647ef7d07be7c3afb3bb36ccdb'/>
<id>a007c3d7f05b42647ef7d07be7c3afb3bb36ccdb</id>
<content type='text'>
Even though variable annotations in function scope aren't evaluated at
runtime it's still useful for static analysis tools to process them and
catch some issues (and not report some things that aren't issues).

Let's take the following code:

     from typing import Any

     def fun():
          a: Any

Previously pyflakes would report Any to be unused:

     test.py:1: 'typing.Any' imported but unused

With this patch it's no longer the case.</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Even though variable annotations in function scope aren't evaluated at
runtime it's still useful for static analysis tools to process them and
catch some issues (and not report some things that aren't issues).

Let's take the following code:

     from typing import Any

     def fun():
          a: Any

Previously pyflakes would report Any to be unused:

     test.py:1: 'typing.Any' imported but unused

With this patch it's no longer the case.</pre>
</div>
</content>
</entry>
<entry>
<title>Enable support for PEP 526 annotated assignments (#84)</title>
<updated>2017-01-07T01:36:27+00:00</updated>
<author>
<name>Łukasz Langa</name>
<email>lukasz@langa.pl</email>
</author>
<published>2017-01-07T01:36:27+00:00</published>
<link rel='alternate' type='text/html' href='http://git.baserock.org/cgit/delta/python-packages/pyflakes.git/commit/?id=dae4fa70d8d5fd98e81ceb72c007c0c60725dfec'/>
<id>dae4fa70d8d5fd98e81ceb72c007c0c60725dfec</id>
<content type='text'>
Without this change, code with annotated assignments is crashing pyflakes with
an attribute error (`object has no attribute 'ANNASSIGN'`).

Test plan: new tests introduced conforming to behavior described in the PEP.</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Without this change, code with annotated assignments is crashing pyflakes with
an attribute error (`object has no attribute 'ANNASSIGN'`).

Test plan: new tests introduced conforming to behavior described in the PEP.</pre>
</div>
</content>
</entry>
<entry>
<title>Fix format string checking (#80)</title>
<updated>2016-09-08T02:23:51+00:00</updated>
<author>
<name>Jared Garst</name>
<email>jgarst@users.noreply.github.com</email>
</author>
<published>2016-09-08T02:23:51+00:00</published>
<link rel='alternate' type='text/html' href='http://git.baserock.org/cgit/delta/python-packages/pyflakes.git/commit/?id=434bbb06d4dc38ab09eb9405be6fc1279286f69d'/>
<id>434bbb06d4dc38ab09eb9405be6fc1279286f69d</id>
<content type='text'>
format strings (PEP 498) defines a new AST node, JOINEDSTR which
contains a list of string expressions.</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
format strings (PEP 498) defines a new AST node, JOINEDSTR which
contains a list of string expressions.</pre>
</div>
</content>
</entry>
<entry>
<title>Point URLs to PyCQA (#79)</title>
<updated>2016-09-02T07:51:38+00:00</updated>
<author>
<name>Ville Skyttä</name>
<email>ville.skytta@iki.fi</email>
</author>
<published>2016-09-02T07:51:38+00:00</published>
<link rel='alternate' type='text/html' href='http://git.baserock.org/cgit/delta/python-packages/pyflakes.git/commit/?id=2f50952805a04fe73315922ae10f0d38e3c3d5dc'/>
<id>2f50952805a04fe73315922ae10f0d38e3c3d5dc</id>
<content type='text'>
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
</pre>
</div>
</content>
</entry>
<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>Check for duplicate dictionary keys (#72)</title>
<updated>2016-07-24T23:15:29+00:00</updated>
<author>
<name>geokala</name>
<email>walker_s@hotmail.co.uk</email>
</author>
<published>2016-07-24T23:15:29+00:00</published>
<link rel='alternate' type='text/html' href='http://git.baserock.org/cgit/delta/python-packages/pyflakes.git/commit/?id=152ca182a603d7327925873db9a795797812968d'/>
<id>152ca182a603d7327925873db9a795797812968d</id>
<content type='text'>
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
</pre>
</div>
</content>
</entry>
<entry>
<title>Fix "continue" and "break" checks ignoring py3.5's "async for" loop (#71)</title>
<updated>2016-07-04T14:24:49+00:00</updated>
<author>
<name>Yann Kaiser</name>
<email>kaiser.yann@gmail.com</email>
</author>
<published>2016-07-04T14:24:49+00:00</published>
<link rel='alternate' type='text/html' href='http://git.baserock.org/cgit/delta/python-packages/pyflakes.git/commit/?id=72acff0029ba7c98b6b1345c51a3db023409e853'/>
<id>72acff0029ba7c98b6b1345c51a3db023409e853</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>Avoid traceback when exception is del-ed in except (#67)</title>
<updated>2016-05-06T12:40:50+00:00</updated>
<author>
<name>Phil Frost</name>
<email>indigo@bitglue.com</email>
</author>
<published>2016-05-06T12:40:50+00:00</published>
<link rel='alternate' type='text/html' href='http://git.baserock.org/cgit/delta/python-packages/pyflakes.git/commit/?id=f69d4b415b5f83a2c0b09f494927350f80eb0947'/>
<id>f69d4b415b5f83a2c0b09f494927350f80eb0947</id>
<content type='text'>
Fixes a regression introduced by
2a698f87c02a43d4489e30481e9def14ed4b4431.

This would fail with a KeyError:

try:
    pass
except Exception as e:
    del e

Fixes lp:1578903</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Fixes a regression introduced by
2a698f87c02a43d4489e30481e9def14ed4b4431.

This would fail with a KeyError:

try:
    pass
except Exception as e:
    del e

Fixes lp:1578903</pre>
</div>
</content>
</entry>
</feed>
