gecko-dev/python/mozbuild/mozpack/packager
Ricky Stewart e2fe57521b Bug 1638060 - Standardize interface of `mozfile` classes as `bytes`-based streams r=glandium
At the beginning of the Python 3 migration (circa bug 1602540), we made an update to the interface of `mozpack/files.py` in the direction of aligning with Python 3's built-in `file` support; namely, that opening a file in text mode returns a stream of `str` (text), and that opening a file in binary mode returns a stream of `bytes`. This was deemed to be more trouble than it was worth. This patch undoes all of those changes to the interface in favor of moving back to the Python 2 style, where all files are bytestreams.

Differential Revision: https://phabricator.services.mozilla.com/D75424
2020-05-22 01:11:29 +00:00
..
__init__.py Bug 1638060 - Standardize interface of `mozfile` classes as `bytes`-based streams r=glandium 2020-05-22 01:11:29 +00:00
formats.py
l10n.py Bug 1633037 - Remove all remaining references to $(PYTHON) across Makefiles r=glandium 2020-05-05 20:32:23 +00:00
unpack.py Bug 1638060 - Standardize interface of `mozfile` classes as `bytes`-based streams r=glandium 2020-05-22 01:11:29 +00:00