gecko/python
Mike Hommey ae5ccc4eb3 Bug 1071568 - Only pass down templates to the sandbox context when calling moz.build templates. r=mshal
It's not entirely clear passing down all the metadata makes sense. On the
other hand, when creating the template execution sandbox, passing down
exports does assign the value for the exported variable in that execution
context. When that context is merged with the caller sandbox context, the
exported variable is reassigned, even if the value is not modified. Then,
if the caller sandbox itself reassigns the exported variable, it fails
because calling a template already did it once, unexpectedly.

Not passing down exported variables makes the template execution sandbox
never set those exported variables, so that they are not merged back. The
caller sandbox can then properly reassign the exported variable.
2014-10-09 10:14:26 +09:00
..
blessings
codegen
configobj
jsmin
lldbutils Bug 1002712 - Add lldb type summaries for rects and regions. r=heycam 2014-04-29 12:14:42 +02:00
mach Bug 1077272 - Allow argument groups in mach commands. r=gps. 2014-10-08 15:11:50 -07:00
mock-1.0.0
mozboot Bug 1057305 - Make mach bootstrap work with elementary os; r=gps 2014-08-22 16:54:48 +05:30
mozbuild Bug 1071568 - Only pass down templates to the sandbox context when calling moz.build templates. r=mshal 2014-10-09 10:14:26 +09:00
mozversioncontrol/mozversioncontrol Bug 1033656 - Add reviewboard to mach mercurial-setup; version checking; r=smacleod 2014-07-02 14:05:42 -07:00
psutil
virtualenv Bug 995374 - Update virtualenv to 1.11.4; r=mshal 2014-04-11 12:07:20 -07:00
which
mach_commands.py Bug 1076649 - Remove the '+' prefixing from mach commands with allow_all_arguments=True. r=gps 2014-10-07 07:36:27 +09:00
moz.build Bug 1077381 - Encode generate_browsersearch verbose output as utf-8. r=gps 2014-10-06 11:32:24 -07: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