mirror of
https://gitlab.winehq.org/wine/wine-gecko.git
synced 2024-09-13 09:24:08 -07:00
02603c4738
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 |
||
---|---|---|
.. | ||
blessings | ||
codegen | ||
configobj | ||
jsmin | ||
lldbutils | ||
mach | ||
mock-1.0.0 | ||
mozboot | ||
mozbuild | ||
mozversioncontrol/mozversioncontrol | ||
psutil | ||
virtualenv | ||
which | ||
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