[python-meh] [PATCH] Introduce support for Python 3 while keeping Python 2 working
Vratislav Podzimek
vpodzime at redhat.com
Thu Oct 17 08:19:11 UTC 2013
On Tue, 2013-10-15 at 16:30 +0200, Miro HronĨok wrote:
> This commit introduces support for Python 3. Some of the behaviour is slightly
> changed, however, it should work in general.
>
> Libreport is still not working with Python 3, but that should be the only
> blocking thing now.
>
> Makefile and setup.py might need some modifications as well, currently only
> make test3 has been added.
> ---
> Makefile | 4 ++++
> meh/__init__.py | 4 ++--
> meh/dump.py | 39 ++++++++++++++++++++++++++++-----------
> meh/handler.py | 12 ++++++------
> meh/safe_string.py | 7 +++++++
> tests/baseclass.py | 7 +++----
> tests/handle_binary.py | 15 +++++++++------
> tests/handle_unicode.py | 13 ++++++++-----
> tests/safe_string_test.py | 15 ++++++++++-----
> 9 files changed, 77 insertions(+), 39 deletions(-)
This looks good to me. If there are no objections, I'll push this patch.
--
Vratislav Podzimek
Anaconda Rider | Red Hat, Inc. | Brno - Czech Republic
More information about the anaconda-patches
mailing list