gecko-dev/python
Gregory Szorc 95bd91b3cd 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 Bug 903149 - Part 1: Add jsmin Python package; r=glandium 2013-09-04 18:47:42 -07:00
lldbutils Bug 1002712 - Add lldb type summaries for rects and regions. r=heycam 2014-04-29 12:14:42 +02:00
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 Bug 995374 - Update virtualenv to 1.11.4; r=mshal 2014-04-11 12:07:20 -07:00
which
README
mach_commands.py Bug 952280 - mach python commands now use virtualenv APIs; r=mshal 2013-12-19 13:48:37 -08:00
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