- Timestamp:
- Mar 18, 2011, 10:51:59 AM (13 years ago)
- File:
-
- 1 edited
-
trunk/doc/upgrade.txt (modified) (2 diffs)
Legend:
- Unmodified
- Added
- Removed
-
trunk/doc/upgrade.txt
r1161 r1162 8 8 .. sectnum:: 9 9 10 ---------------------------------------------- 11 Upgrading from Genshi 0.6.x to the py3k branch12 ---------------------------------------------- 10 ------------------------------------------------------ 11 Upgrading from Genshi 0.6.x to the development version 12 ------------------------------------------------------ 13 13 14 The most noticable API change in the Genshi py3k branch is that the 14 The Genshi development version now supports both Python 2 and Python 3. 15 16 The most noticable API change in the Genshi development version is that the 15 17 default encoding in numerous places is now None (i.e. unicode) instead 16 18 of UTF-8. This change was made in order to ease the transition to Python 3 … … 18 20 19 21 If your application relies on the default UTF-8 encoding a simple way to 20 have it work both with Genshi 0.6.x and the py3k branchis to specify the22 have it work both with Genshi 0.6.x and the development version is to specify the 21 23 encoding explicitly in calls to the following classes, methods and functions: 22 24
Note: See TracChangeset
for help on using the changeset viewer.
