summaryrefslogtreecommitdiff
path: root/CHANGES
diff options
context:
space:
mode:
authorDavid Beazley <dave@dabeaz.com>2008-11-27 19:36:14 +0000
committerDavid Beazley <dave@dabeaz.com>2008-11-27 19:36:14 +0000
commitca5170e19a22acc8c960c1e2d60ecf353a197057 (patch)
tree3d18cafc75d61f3bc5412338db061175e796a212 /CHANGES
parentc66982f8e7dc7de7bbb73c1e40699fd22aef5eac (diff)
downloadply-ca5170e19a22acc8c960c1e2d60ecf353a197057.tar.gz
Python 2.6/3.0 compatibility changes
Diffstat (limited to 'CHANGES')
-rw-r--r--CHANGES24
1 files changed, 24 insertions, 0 deletions
diff --git a/CHANGES b/CHANGES
index 30ab9c4..b82acb0 100644
--- a/CHANGES
+++ b/CHANGES
@@ -1,5 +1,29 @@
Version 2.6
-----------------------------
+11/27/08: beazley
+ Numerous changes to support Python 3.0 including removal of deprecated
+ statements (e.g., has_key) and the additional of compatibility code
+ to emulate features from Python 2 that have been removed, but which
+ are needed. Fixed the unit testing suite to work with Python 3.0.
+ The code should be backwards compatible with Python 2.
+
+11/26/08: beazley
+ Loosened the rules on what kind of objects can be passed in as the
+ "module" parameter to lex() and yacc(). Previously, you could only use
+ a module or an instance. Now, PLY just uses dir() to get a list of
+ symbols on whatever the object is without regard for its type.
+
+11/26/08: beazley
+ Changed all except: statements to be compatible with Python2.x/3.x syntax.
+
+11/26/08: beazley
+ Changed all raise Exception, value statements to raise Exception(value) for
+ forward compatibility.
+
+11/26/08: beazley
+ Removed all print statements from lex and yacc, using sys.stdout and sys.stderr
+ directly. Preparation for Python 3.0 support.
+
11/04/08: beazley
Fixed a bug with referring to symbols on the the parsing stack using negative
indices.