mirror of
https://github.com/mozilla/gecko-dev.git
synced 2024-12-15 03:00:30 +00:00
605aa0fa02
This patch makes BuildEnvironmentNotFoundException a subclass of AttributeError as well, because hasattr in python3 no longer catches all tracebacks but only AttributeError, and we use both hasattr and BuildEnvironmentNotFoundException to guard against a handful of buildconfig variables in a few places where it is OK to not have a buildenvironment. We also use universal_newlines in real_host in init.configure (since I found that fix while working on the AttributeError one) so that we get the right string type back from the process call Lastly this patch also uses BytesIO for calling into a ReducedConfigureSandbox as its stdout and stderr pipes, This ensures that related code handling the sandbox doesn't complain about getbuffer() missing in StringIO in py3. Differential Revision: https://phabricator.services.mozilla.com/D36605 --HG-- extra : moz-landing-system : lando |
||
---|---|---|
.. | ||
autoconf | ||
build-clang | ||
build-infer | ||
clang-plugin | ||
compare-mozconfig | ||
debian-packages | ||
docs | ||
gyp_includes | ||
macosx | ||
mobile | ||
moz.configure | ||
package/mac_osx | ||
pgo | ||
pymake | ||
sanitizers | ||
sparse-profiles | ||
tests/cram | ||
unix | ||
valgrind | ||
win32 | ||
win64 | ||
win64-aarch64 | ||
workspace-hack | ||
__init__.py | ||
.gdbinit_python.in | ||
.lldbinit.in | ||
appini_header.py | ||
application.ini.in | ||
automation.py.in | ||
binary-location.mk | ||
buildconfig.py | ||
cargo-host-linker | ||
cargo-host-linker.bat | ||
cargo-linker | ||
cargo-linker.bat | ||
checksums.py | ||
defines.sh | ||
dumbmake-dependencies | ||
gecko_templates.mozbuild | ||
gen_automation.py | ||
gen_symverscript.py | ||
gen_test_packages_manifest.py | ||
genrc.sh | ||
gn.mozbuild | ||
gyp_base.mozbuild | ||
gyp.mozbuild | ||
mach_bootstrap.py | ||
merge_profdata.py | ||
moz-automation.mk | ||
moz.build | ||
mozconfig.artifact | ||
mozconfig.artifact.automation | ||
mozconfig.automation | ||
mozconfig.cache | ||
mozconfig.clang-cl | ||
mozconfig.comm-support | ||
mozconfig.common | ||
mozconfig.common.override | ||
mozconfig.lld-link | ||
mozconfig.nasm | ||
mozconfig.no-compile | ||
mozconfig.node | ||
mozconfig.pgo | ||
mozconfig.rust | ||
mozconfig.stylo | ||
mozconfig.win-common | ||
qemu-wrap | ||
submit_telemetry_data.py | ||
templates.mozbuild | ||
test_templates.mozbuild | ||
update-settings.ini | ||
upload_generated_sources.py | ||
upload.py | ||
variables.py | ||
virtualenv_packages.txt | ||
windows_toolchain.py |