gecko-dev/python
Mike Hommey 9367a34337 Bug 1696091 - Convert python/mozboot/mozboot/rust.py's __main__ to python 3. r=firefox-build-system-reviewers,sheehan,mhentges
- Replace urllib2.urlopen with requests.get. We use requests because
  http_download_and_hash, which is also used by __main__ uses it already.
- Convert byte strings to unicode strings.
- Don't wrap sys.stdout, and instead explicitly flush when wanted.

Differential Revision: https://phabricator.services.mozilla.com/D107026
2021-03-08 21:31:24 +00:00
..
devtools/migrate-l10n Bug 1654103: Standardize on Black for Python code in mozilla-central. 2020-10-26 18:34:53 +00:00
docs
gdbpp/gdbpp Bug 1654103: Standardize on Black for Python code in mozilla-central. 2020-10-26 18:34:53 +00:00
l10n Bug 1695707 - Update copy for DRM panel buttons and migrate to Fluent. r=Gijs,flod 2021-03-03 23:12:13 +00:00
lldbutils Bug 1654103: Standardize on Black for Python code in mozilla-central. 2020-10-26 18:34:53 +00:00
mach Bug 1694646 - Remove old build telemetry. r=mhentges 2021-03-02 15:04:27 +00:00
mozboot Bug 1696091 - Convert python/mozboot/mozboot/rust.py's __main__ to python 3. r=firefox-build-system-reviewers,sheehan,mhentges 2021-03-08 21:31:24 +00:00
mozbuild Bug 1696437 - Enable non-native theme on Android Nightly. r=mstange 2021-03-04 20:35:24 +00:00
mozlint Bug 1591991 Add lint Fixed count support to linters r=sylvestre 2021-02-08 19:00:10 +00:00
mozperftest Bug 1672422 - Default to mozperftest as the framework instead of browsertime r=perftest-reviewers,sparky 2021-03-01 15:32:10 +00:00
mozrelease Bug 1648832: Make updater/Balrog support AArch64 macOS. r=aki 2020-11-13 18:41:56 +00:00
mozterm Bug 1680345 - python3 - Require six 1.13.0 in non third_party and non web-platform packages r=jgraham,jmaher 2020-12-03 22:54:35 +00:00
mozversioncontrol Backed out changeset 5153f0eaf518 (bug 1676533) as requested by glandium. CLOSED TREE 2020-12-02 07:58:47 +02:00
mach_commands.py Bug 1682959 - Remove legacy_resolver support from mach. r=mhentges 2021-02-25 18:37:00 +00:00
moz.build Bug 1654103: Standardize on Black for Python code in mozilla-central. 2020-10-26 18:34:53 +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