Skip to content

Commit f7732a5

Browse files
committed
Add a note on Py2.6 compatibility to FAQ
1 parent 755a86c commit f7732a5

File tree

1 file changed

+7
-0
lines changed

1 file changed

+7
-0
lines changed

docs/faq.rst

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -266,6 +266,13 @@ definitions) that greatly reduce the maintenance burden for single-source
266266
Py2/3 compatible code. ``future`` leverages these features and aims to
267267
close the remaining gap between Python 3 and 2.6 / 2.7.
268268

269+
Python 2.6 does not offer the following features which help with Py3
270+
compatibility:
271+
- ``surrogateescape`` error handler for string encoding or decoding;
272+
- ``memoryview`` objects.
273+
274+
Otherwise Python 2.6 is mostly supported.
275+
269276
Python 3.2 could perhaps be supported too, although the illegal unicode
270277
literal ``u'...'`` syntax may be inconvenient to work around. The Py3.2
271278
userbase is very small, however. Please let us know via GitHub `issue #29

0 commit comments

Comments
 (0)