gecko-dev/python/mozbuild
Ricky Stewart fe95d91222 Bug 1606124 - mozbuild/util.py supports Python 3 r=mars
Many of the utility classes very heavily rely on multiple inheritance which is broadly unncessary and made debugging difficult, so I ripped it out wherever it was necessary. The indented_repr() function is also more or less a re-implementation of pprint, so to support Python 3 I've instead made it a small wrapper around pprint. (This results in the output of the function being slightly different than we're used to, as pprint does sorting/indentation/line breaking differently than indented_repr() currently does, but it'll be nice to not have to maintain this code that is slightly different than pprint for no real reason.)

Differential Revision: https://phabricator.services.mozilla.com/D58306

--HG--
extra : moz-landing-system : lando
2020-01-08 16:08:15 +00:00
..
dumbmake Bug 1575375 - Pull mozbuild tests out of make check. r=nalexander 2019-08-21 05:00:50 +00:00
mozbuild Bug 1606124 - mozbuild/util.py supports Python 3 r=mars 2020-01-08 16:08:15 +00:00
mozpack Bug 1605264 - "./mach package" should use Python 3 r=firefox-build-system-reviewers,mshal 2020-01-02 17:27:48 +00:00
setup.py Bug 1559975 - Make python/mozbuild lint with 'py2' and 'py3' r=catlee 2019-07-05 14:36:43 +00:00