зеркало из https://github.com/mozilla/gecko-dev.git
e0c0104c60
The rigid type comparison added in 51a92a22d6d1 (bug 1375231) was too rigid. This broke at least one consumer that was comparing an empty PositiveOptionValue/NegativeOptionValue against a string. Since comparisons against empty OptionValue are convenient and don't violate the spirit of the type checking previously added, this commit relaxes the type equivalence check in cases where the OptionValue is empty. MozReview-Commit-ID: UllTrzCjj --HG-- extra : rebase_source : 2c41428d1be667edecdab0947d006a1a6a533569 |
||
---|---|---|
.. | ||
devtools/migrate-l10n | ||
mach | ||
mozboot | ||
mozbuild | ||
mozlint | ||
mozversioncontrol/mozversioncontrol | ||
README | ||
mach_commands.py | ||
moz.build |
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