Xidorn Quan wrote on 02/12/16 00:49:

> Note that this kind of changes may lead to weird Python error. We have
> seen one in bug 1321468.
> 
> If you recently see any unexpected Python error when running mach
> commands, try execute "./mach clobber python" first. ("./mach clobber"
> would *not* work because it only purges things inside the objdir, no
> *.pyc files elsewhere.)

Thanks for following up on this topic! One thing I could suggest is to
simply get rid of the generation of .pyc files when running Python
commands. This can be done by exporting the following variable:

export PYTHONDONTWRITEBYTECODE=1

-- 
Henrik Skupin
Senior Software Engineer
Mozilla Corporation
_______________________________________________
dev-platform mailing list
dev-platform@lists.mozilla.org
https://lists.mozilla.org/listinfo/dev-platform

Reply via email to