Commit d36bc2a1 by Chris Jerdonek

Added "support for Python 3" to README and HISTORY.

Still need to address Python 3 packaging issues (setup.py, etc).
parent 4be82fd1
...@@ -4,6 +4,7 @@ History ...@@ -4,6 +4,7 @@ History
0.5.1 (TBD) 0.5.1 (TBD)
----------- -----------
* Added support for Python 3.2 (following conversion with 2to3_).
* Test runner now supports both yaml and json forms of Mustache spec. * Test runner now supports both yaml and json forms of Mustache spec.
0.5.0 (2012-04-03) 0.5.0 (2012-04-03)
...@@ -98,5 +99,6 @@ Bug fixes: ...@@ -98,5 +99,6 @@ Bug fixes:
* First release * First release
.. _2to3: http://docs.python.org/library/2to3.html
.. _issue #13: https://github.com/defunkt/pystache/issues/13 .. _issue #13: https://github.com/defunkt/pystache/issues/13
.. _Mustache spec: https://github.com/mustache/spec .. _Mustache spec: https://github.com/mustache/spec
...@@ -29,6 +29,7 @@ Pystache is tested with the following versions of Python: ...@@ -29,6 +29,7 @@ Pystache is tested with the following versions of Python:
* Python 2.5 (requires simplejson) * Python 2.5 (requires simplejson)
* Python 2.6 * Python 2.6
* Python 2.7 * Python 2.7
* Python 3.2
JSON support is needed only for the command-line interface and to run the JSON support is needed only for the command-line interface and to run the
spec tests. We require simplejson_ for earlier versions of Python since spec tests. We require simplejson_ for earlier versions of Python since
...@@ -82,8 +83,9 @@ Pull it together:: ...@@ -82,8 +83,9 @@ Pull it together::
Python 3 Python 3
======== ========
As of v0.5.1, Pystache fully supports Python 3. There are slight differences As of version 0.5.1, Pystache fully supports Python 3. There are slight
in behavior between Pystache running under Python 2 and 3, as follows: differences in behavior between Pystache running under Python 2 and 3,
as follows:
* In Python 2, the default html-escape function ``cgi.escape()`` does not * In Python 2, the default html-escape function ``cgi.escape()`` does not
escape single quotes; whereas in Python 3, the default escape function escape single quotes; whereas in Python 3, the default escape function
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment