rhuijben, brane


Review
r1661247

r1661247 | danielsh | 2015-02-20 17:59:50 -0600 (Fri, 20 Feb 2015)

autogen.sh: Support Python 3.  All Python versions previously supported
remain supported.

Review by: rhuijben, brane

* build/generator/gen_base.py
  (GeneratorBase.write_file_if_changed):
    Convert str to bytes.  Document argument type.

* build/getversion.py
  (traceback): Import.
  (svn_extractor, sqlite_extractor):
    Rewrite 'except' statements in a syntax compatible with both Python 2.5
    and Python 3.  No functional change.

* gen-make.py:
    Ditto.

* build/transform_sql.py
  (Processor.process_file): Use dict.items() instead of dict.iteritems().

* subversion/tests/libsvn_subr/subst_translate-test.c
  (test_svn_subst_translate_string2_null_encoding_helper):
    Convert comment to ASCII.