Skip to content

Python 3 support

Bitbucket Importer requested to merge bitbucket/declined-pr-8 into branch/default

Created originally on Bitbucket by kiilerix (Mads Kiilerich)

Changesets for this Pull Request have not been imported, because it had been already declined on Bitbucket. Marked as closed by the import user.

This will make hgview supporting both Python 2.7 and Python 3.

The changes while running Python 2 is minimal and the risk should be low. But please review and test carefully for backward compatibility cases you might care about. Especially around corner cases of encoding.

The Python 3 port will need more testing. Bugs will be found, and type conversions must be added. Careful review and testing is even more important here, but details can perhaps be fixed later af landing most of this.

The changes are all separate and should be reviewed separately. Most of them are fine to apply partially - tricky parts can be revisited later.

The changes are polished and ordered in a way where changes either fit in naturally, or when they fix a problem that would cause problems if trying to run with Python 3.

Merge request reports

Loading