summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorFlorent Xicluna <florent.xicluna@gmail.com>2014-03-22 19:40:37 +0100
committerFlorent Xicluna <florent.xicluna@gmail.com>2014-03-22 19:40:37 +0100
commit06c713990a87d3c10cd02749ee7e0ee44220ea4c (patch)
tree1f86b933e9614f9a185b283378532fd45a10b630
parent0d923586284450e43bc3f5eba85fc1d459b1225b (diff)
downloadpyflakes-06c713990a87d3c10cd02749ee7e0ee44220ea4c.tar.gz
Release version 0.80.8
-rw-r--r--NEWS.txt3
-rw-r--r--pyflakes/__init__.py2
-rw-r--r--pyflakes/checker.py6
3 files changed, 3 insertions, 8 deletions
diff --git a/NEWS.txt b/NEWS.txt
index f91f5a4..aee125c 100644
--- a/NEWS.txt
+++ b/NEWS.txt
@@ -1,4 +1,4 @@
-UNRELEASED:
+0.8.0 (2014-03-22):
- Adapt for the AST in Python 3.4.
- Fix caret position on SyntaxError.
- Fix crash on Python 2.x with some doctest SyntaxError.
@@ -10,6 +10,7 @@ UNRELEASED:
- Correctly parse incremental `__all__ += [...]`.
- Catch return with arguments inside a generator (Python <= 3.2).
- Do not complain about `_` in doctests.
+ - Drop deprecated methods `pushFunctionScope` and `pushClassScope`.
0.7.3 (2013-07-02):
- Do not report undefined name for generator expression and dict or
diff --git a/pyflakes/__init__.py b/pyflakes/__init__.py
index 419da13..53bc072 100644
--- a/pyflakes/__init__.py
+++ b/pyflakes/__init__.py
@@ -1,2 +1,2 @@
-__version__ = '0.7.3'
+__version__ = '0.8'
diff --git a/pyflakes/checker.py b/pyflakes/checker.py
index 624a9f4..e756ff4 100644
--- a/pyflakes/checker.py
+++ b/pyflakes/checker.py
@@ -329,12 +329,6 @@ class Checker(object):
def pushScope(self, scopeClass=FunctionScope):
self.scopeStack.append(scopeClass())
- def pushFunctionScope(self): # XXX Deprecated
- self.pushScope(FunctionScope)
-
- def pushClassScope(self): # XXX Deprecated
- self.pushScope(ClassScope)
-
def report(self, messageClass, *args, **kwargs):
self.messages.append(messageClass(self.filename, *args, **kwargs))