releases-comm-central/python
Brendan Abolivier 3f1696cb2f Bug 1919265 - Force Unix-style line endings when generating Rust manifests. r=aleca
This change sets the `newline` argument to `open` calls to `\n`, so that
any line ending in these files are Unix-style; as opposed to Python's
default behaviour which is to use the line ending style of the operating
system.

This patch only changes `open` calls that are made in the context of
writing into a file (as opposed to reading from one).

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

--HG--
extra : amend_source : 7443a9d06f741803c7cede87fbaa321a0040cf96
2024-09-17 12:23:20 +00:00
..
l10n Bug 1909977 - Fix l10n_clone.py on Windows. r=coreycbryant 2024-08-05 21:07:03 +00:00
rocboot Bug 1865752 - Update Thunderbird build bootstrap script from m-c; require Python 3.8. r=dandarnell 2023-12-01 10:24:24 +00:00
rocbuild/rocbuild Bug 1919265 - Force Unix-style line endings when generating Rust manifests. r=aleca 2024-09-17 12:23:20 +00:00
sites Bug 1893718 - Replace source docs Makefile with a mach command. r=aleca 2024-04-29 15:37:40 -07:00
thirdroc Bug 1838308 - follow-up to really fix linting. rs=lint 2024-09-14 13:53:42 +03:00
README Bug 1833949 - Port bug 1826062: Automatic reformatting for Prettier 2.0.5. r=leftmostcat 2023-05-21 15:05:24 +10:00
moz.build Bug 1845361 - Fix linting. rs=linting DONTBUILD 2023-07-25 14:17:07 -04:00

README

This directory contains common Python code for Thunderbird.

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, AND it
applies only to applications build from comm-central derived repositories
(Thunderbird and Seamonkey), 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).