gecko/python
Gregory Szorc 02603c4738 Bug 1052526 - Treat appending None to List as empty list; r=glandium
As a special exception, we change List's + and += operators to treat
"+ None" and "+= None" as "+ []" and "+= []" respectively.

This is a hack to make moz.build files simpler so they don't have to
perform "is x" checks before appending x.

While I was here, I fixed the implementation of List.__add__ to return a
List instead of list.

--HG--
extra : rebase_source : e61db4be4cf8144b092609d3baf84c372b9cf9a0
extra : amend_source : dfabc00765582764426f7cf74e79354a0bfb0824
2014-08-12 09:23:33 -07:00
..
blessings
codegen
configobj
jsmin
lldbutils
mach Bug 1043524 - Define group variable is an existing parser is passed; r=jgraham 2014-07-24 11:35:15 -07:00
mock-1.0.0
mozboot Merge mozilla-central to mozilla-inbound on a CLOSED TREE 2014-07-28 16:30:30 +02:00
mozbuild Bug 1052526 - Treat appending None to List as empty list; r=glandium 2014-08-12 09:23:33 -07: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
which
mach_commands.py
moz.build Bug 947256 - Report ccache hit rate at the end of the build; r=gps 2014-07-30 02:23:00 -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