Skip to content

Python 3.x #7

Description

@neithere

Hi Wynn,

Thank you for the app! Unfortunately, it's broken after making Python 3.5 the default version on my system.

Do you consider upgrading the code?

Looks like the only reason why the app is broken is the usage of outdated APIs. For example, items.has_key(k) is non-pythonic and was removed from Python 3. Even in Python 2.x it was recommended to write k in items. The full list of such things can be seen by running these commands:

$ sudo pip install pep8
$ pep8 /usr/local/bin/grc
$ pep8 /usr/local/bin/grcat

I would expect that simply fixing the errors and warnings would make the app work fine with modern Pythons.

I can help with some changes if you need.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions