mirror of
https://github.com/mozilla/gecko-dev.git
synced 2024-11-24 21:31:04 +00:00
964834abba
The 'U' flag represents "universal newline". It has been deprecated since Python3.3. Since then "universal newline" is the default when a file is opened in text mode (not bytes). In Python3.11 using the 'U' flag throws errors. There should be no harm in removing 'U' from 'open' everywhere it is used, and doing allows the use of Python3.11. For more reading see: https://docs.python.org/3.11/whatsnew/3.11.html#changes-in-the-python-api Differential Revision: https://phabricator.services.mozilla.com/D147721 |
||
---|---|---|
.. | ||
chrome | ||
packager | ||
test | ||
__init__.py | ||
archive.py | ||
copier.py | ||
dmg.py | ||
errors.py | ||
executables.py | ||
files.py | ||
manifests.py | ||
mozjar.py | ||
path.py | ||
unify.py |