Files
firefox/python
Gregory Szorc f8d0e741b3 Bug 1413254 - Write a JSON file with normalized data; r=jmaher
The new file contains changes that optimize for final file size:

* The components are stored as an integer index/key into a map
  instead of strings.
* Paths are stored in hierarchical dicts.
* No indentation is used.

These changes significantly redude redundancy in string data. For every
file in the repo, the raw JSON size is decreased from 27,074,607 to
7,643,529 bytes.

MozReview-Commit-ID: 58FWSct8W39
2017-10-31 10:57:14 -07:00
..

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