gecko-dev/python
Andrew Halberstadt 0912d6c960 Bug 1583360 - [mozbuild] Make reader.find_sphinx_variables a little more generic, r=nalexander
The BuildReader's 'find_sphinx_variables' function is hardcoded to look for the
SPHINX_TREES and SPHINX_PYTHON_PACKAGE_DIRS variables. But it's otherwise
implemented to find any arbitrary variable (as long as they are a simple list
or dict).

This change simply moves the variable name(s) to the function call. The comment
about possibly wanted to use a higher level AST library to parse other kinds of
variables still applies, but for now this change is good enough to suit my
needs.

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

--HG--
extra : moz-landing-system : lando
2019-10-18 14:05:49 +00:00
..
devtools/migrate-l10n Bug 1559975 - fix python2 linter errors for python/devtools r=ahal 2019-07-16 17:46:08 +00:00
docs
gdbpp/gdbpp Bug 1564314 - Make linters happy with the gdbpp code. r=nalexander 2019-07-11 18:19:44 +00:00
l10n Bug 1588925 - fix typo in crash guard string, r=flod,fluent-reviewers 2019-10-16 11:57:56 +00:00
mach Bug 1433941 - Passed remainder arguments as it is |mach python-test| r=ahal 2019-10-04 18:32:37 +00:00
mozboot Bug 1583582 - Mach should not depend on fields in /etc/os-release. r=kvark 2019-10-11 19:27:14 +00:00
mozbuild Bug 1583360 - [mozbuild] Make reader.find_sphinx_variables a little more generic, r=nalexander 2019-10-18 14:05:49 +00:00
mozlint Bug 1585686 - [mozlint] Avoid UnicodeEncodeError for users who have an 'ascii' locale r=gbrown 2019-10-03 13:17:08 +00:00
mozrelease Bug 1587206 - [lint.flake8] Enable F632 across the tree, r=sylvestre 2019-10-10 18:50:33 +00:00
mozterm
mozversioncontrol Bug 1586010 - [mozversioncontrol] Ensure env in appropriate format for subprocess, r=chmanchester 2019-10-04 15:48:24 +00:00
safety
mach_commands.py Bug 1433941 - Passed remainder arguments as it is |mach python-test| r=ahal 2019-10-04 18:32:37 +00:00
moz.build Bug 1575375 - Always include mozbuild/mozpack tests. r=nalexander 2019-08-21 03:05:09 +00:00
README

This directory contains common Python code.

The basic rule is that if Python code is cross-module (that's "module" in the
Mozilla meaning - as in "module ownership") and is MPL-compatible, it should
go here.

What should not go here:

* Vendored python modules (use third_party/python instead)
* Python that is not MPL-compatible (see other-licenses/)
* Python that has good reason to remain close to its "owning" (Mozilla)
  module (e.g. it is only being consumed from there).

Historical information can be found at
https://bugzilla.mozilla.org/show_bug.cgi?id=775243
https://bugzilla.mozilla.org/show_bug.cgi?id=1346025