view examples_to_py3k.sh @ 932:e53161c2773c

Merge r1140 from py3k: add support for python 3 to core genshi components (genshi.core, genshi.input and genshi.output): * default input and output encodings changed from UTF-8 to None (i.e. unicode strings) * Namespace and QName objects do not call stringrepr in __repr__ in Python 3 since repr() returns a unicode string there. * track changes to expat parser in Python 3 (mostly it accepts bytes instead of strings)
author hodgestar
date Fri, 18 Mar 2011 09:08:12 +0000
parents 1a86e0af2ae1
children
line wrap: on
line source
#!/bin/sh
#
# Script to run 2to3 on files not covered by setup.py
#
export PYTHONIOENCODING=utf8

# General 2to3 run
2to3 -w --no-diffs examples/
Copyright (C) 2012-2017 Edgewall Software