зеркало из https://github.com/mozilla/gecko-dev.git
318ded3048
Mingw python has a different os.path setup from native python, and has os.sep and os.altsep reversed. In that case, the normsep function was doing the wrong thing, leading to all sorts of problems. While fixing this, also ensure the corresponding unit test covers this peculiarity, even when running under the native win32 python. --HG-- extra : rebase_source : 8fb18e0d4dc669c1d7e069f73fc44c22d419d43c |
||
---|---|---|
.. | ||
PyECC | ||
altgraph | ||
bitstring | ||
blessings | ||
compare-locales | ||
configobj | ||
eme | ||
futures | ||
gdbpp/gdbpp | ||
jsmin | ||
lldbutils | ||
mach | ||
macholib | ||
mock-1.0.0 | ||
mozboot | ||
mozbuild | ||
mozlint | ||
mozversioncontrol/mozversioncontrol | ||
psutil | ||
pyasn1 | ||
pyasn1-modules | ||
pylru | ||
pystache | ||
pyyaml | ||
redo | ||
requests | ||
rsa | ||
slugid | ||
virtualenv | ||
voluptuous | ||
which | ||
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: * 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 ## pyyaml | pystache Used in taskcluster related mach commands to update download from github and remove .git and tests. Then run tests in taskcluster/tests/