HomePhabricator

devtools: make github-merge.py use py3
f11c5a3cbd28Unpublished

Unpublished Commit ยท Learn More

Repository Importing: This repository is still importing.

Description

devtools: make github-merge.py use py3

This makes github-merge.py the first developer tool to go
all Python 3 (for context see #7717).

The changes are straightforward as the script already was
from __future__ import division,print_function,unicode_literals.

However urllib2 changed name, and json will only accept unicode data not
bytes.

This retains py2 compatibility for now: not strictly necessary
as it's not used by the build system - but it was easy.

Details

Provenance
Wladimir J. van der Laan <laanwj@gmail.com>Authored on Mar 23 2016, 10:55
schancelPushed on Jan 5 2018, 21:58
schancelPushed on Jan 5 2018, 21:39
schancelPushed on Jan 5 2018, 21:17
Parents
rSTAGING490064111f86: Merge #7649: Prevent multiple calls to CWallet::AvailableCoins
Branches
Unknown
Tags
Unknown

Event Timeline

Wladimir J. van der Laan <laanwj@gmail.com> committed rSTAGINGf11c5a3cbd28: devtools: make github-merge.py use py3 (authored by Wladimir J. van der Laan <laanwj@gmail.com>).Mar 23 2016, 12:15