gecko-dev/python
Mike Hommey 148c9de331 Bug 1498450 - Avoid the footgun from @depends-function comparison r=froydnj
While we do have some uses of @depends-function comparison in some
templaces, related to host/target, we ought to be using `is` comparisons
rather than `==` anyways, so we switch those, and prevent other kinds of
comparisons being used at all.

This unveils the one noted in
https://phabricator.services.mozilla.com/D7713?id=21357#inline-30414
(and surprisingly only that one), that we remove entirely since it was
doing nothing in practice. Bug 1492305 will have to add it back in a
proper form.

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

--HG--
extra : moz-landing-system : lando
2018-10-12 13:44:08 +00:00
..
devtools/migrate-l10n
docs Backed out 3 changesets (bug 1346026) for Bugzilla linting 2018-05-23 19:42:13 +03:00
l10n/fluent_migrations Bug 1486934 - Modify about:about to use fluent for localization r=Gijs,flod,jaws,Pike 2018-10-10 17:41:47 +00:00
mach Bug 1291335 - Check mozconfig for --disable-tests when running mach test commands r=gbrown 2018-10-03 15:40:48 +00:00
mozboot Bug 1494287 - followup: Fix undefined variable in fallback path. r=me 2018-10-12 08:24:04 +09:00
mozbuild Bug 1498450 - Avoid the footgun from @depends-function comparison r=froydnj 2018-10-12 13:44:08 +00:00
mozlint Bug 1494069 - [mozlint] Collapse exclude paths into their smallest possible set, r=egao 2018-10-12 15:57:42 +00:00
mozrelease Merge inbound to mozilla-central. a=merge 2018-09-14 01:01:37 +03:00
mozterm Bug 1471171 - Indicate that mozterm is universal and works on any version of Python; r=emorley 2018-07-02 12:03:10 +01:00
mozversioncontrol Bug 1472177 - Run mozversioncontrol tests under python 3 r=gps 2018-07-24 21:21:46 +00:00
safety Bug 1476003 Update python virtual environment for |mach python-safety| r=davehunt 2018-07-16 15:36:50 +00:00
mach_commands.py Bug 1476390 - [python-test] Default number of processes to multiprocessing.cpu_count() r=davehunt 2018-07-18 16:15:48 +00:00
moz.build Bug 1469872 - update bugzilla products and components in moz.build files: devtools. r=nalexander 2018-06-20 21:34:40 +03: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