gecko-dev/python
Mike Hommey a8db2a2c62 Bug 1258619 - Properly sandbox functions inside a template. r=chmanchester
The way functions are being sandboxed in moz.configure land is that
their global namespace is being replaced with a limited and identifiable
dict. And we avoid re-wrapping a function that already received this
treatment.

The problem is that template functions have their global namespace
replaced, and any function that is defined within the template inherits
that global namespace. So when it comes time to wrap those functions
defined in templates with e.g. depends, we detect that they're already
wrapped although they are not, because we look if their global namespace
is of the recognizable type we use when replacing it.

So instead of looking at the global namespace type, keep track of all
functions that are wrapped.
2016-03-23 13:24:54 +09:00
..
PyECC
bitstring
blessings
compare-locales Backed out changeset a87a27864bb8 (bug 1223385) 2016-01-15 13:51:54 +01:00
configobj
eme
futures
jsmin
lldbutils Bug 1235261 - Part 4: Remove AutoFallibleTArray. r=froydnj 2016-02-02 17:36:30 +02:00
mach Bug 991343 - Suppress time output when running inside emacs, r=gps 2016-03-11 16:51:24 -08:00
mock-1.0.0
mozboot Bug 1257783 - mach-bootstrap: ask git user to clone hg.mozilla.org with git-cinnabar. r=gps 2016-03-22 11:05:50 +08:00
mozbuild Bug 1258619 - Properly sandbox functions inside a template. r=chmanchester 2016-03-23 13:24:54 +09:00
mozversioncontrol/mozversioncontrol Bug 1225599 - Pull Mercurial repos with common 3rd party extensions disabled; r=dminor 2015-12-15 10:47:33 -08:00
psutil
pyasn1
pyasn1-modules
pystache
pyyaml
redo
requests Bug 1247994 - Upgrade vendored requests package to 2.9.1; r=mshal 2016-02-12 10:03:53 -08:00
rsa
slugid
virtualenv Bug 1242228 - Upgrade virtualenv to 14.0.1; r=mshal 2016-01-23 18:48:43 -08:00
which
README
mach_commands.py bug 1255479 - make `mach python-tests` use TestResolver for discovery, make `mach test` work for python tests. r=nalexander 2016-03-10 12:30:10 -05:00
moz.build bug 1257607 - Add Version type to moz.configure. r=glandium 2016-03-17 11:52:18 -04: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:

* 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/