Closed
Bug 1879120
Opened 4 months ago
Closed 4 months ago
Remove all python deprecation warning: invalid escape sequence
Categories
(Firefox Build System :: General, task)
Firefox Build System
General
Tracking
(firefox125 fixed)
RESOLVED
FIXED
125 Branch
Tracking | Status | |
---|---|---|
firefox125 | --- | fixed |
People
(Reporter: sergesanspaille, Assigned: sergesanspaille)
References
Details
Attachments
(2 files)
The script attached can be used to scan existing python code for invalid escape sequence. It's more systematic than the best-effort approach we currently have.
Assignee | ||
Comment 1•4 months ago
|
||
Running
git ls-tree -r HEAD --name-only | while read line; do case $line in ; *.py) ~/sources/litlint/litlint $line ;; esac; done 2>&1 | grep -v -E '^third_party/' | tee litlint.log
And cleaning up the logfile with
grep invalid\ escape litlint.log | grep -v -E '^third_party/' -c
yield 146 entries on current tree
Assignee | ||
Comment 2•4 months ago
|
||
Updated•4 months ago
|
Attachment #9378866 -
Attachment description: Bug 1879120 - Remove all python deprecation warning: invalid escape sequence r=ahochheiden → Bug 1879120 - Remove all python deprecation warning: invalid escape sequence r=ahochheiden!
Updated•4 months ago
|
Attachment #9378866 -
Attachment description: Bug 1879120 - Remove all python deprecation warning: invalid escape sequence r=ahochheiden! → Bug 1879120 - Remove all python deprecation warning: invalid escape sequence r=ahochheiden
Updated•4 months ago
|
Attachment #9378866 -
Attachment description: Bug 1879120 - Remove all python deprecation warning: invalid escape sequence r=ahochheiden → Bug 1879120 - Remove all python deprecation warning: invalid escape sequence r=ahochheiden!
Updated•4 months ago
|
Attachment #9378866 -
Attachment description: Bug 1879120 - Remove all python deprecation warning: invalid escape sequence r=ahochheiden! → Bug 1879120 - Remove all python deprecation warning: invalid escape sequence r=ahochheiden! UPGRADE_NSPR_RELEASE
Pushed by sguelton@mozilla.com: https://hg.mozilla.org/integration/autoland/rev/9efb6f330567 Remove all python deprecation warning: invalid escape sequence r=ahochheiden,webdriver-reviewers,perftest-reviewers,afinder UPGRADE_NSPR_RELEASE
Created web-platform-tests PR https://github.com/web-platform-tests/wpt/pull/44782 for changes under testing/web-platform/tests
Status: NEW → RESOLVED
Closed: 4 months ago
status-firefox125:
--- → fixed
Resolution: --- → FIXED
Target Milestone: --- → 125 Branch
Upstream PR merged by moz-wptsync-bot
Comment 7•2 months ago
|
||
Hello. Please do not use UPGRADE_NSPR_RELEASE for allowing individual commits in the nsprpub directory. The barrier to add that tag is intended to let developers know that individual changes need to be added to the separate NSPR project, and that the nsprpub directory should be upgraded as a whole, only. All individual commits in the nsprpub directory are already overwritten the next time a NSPR release is uplifted.
You need to log in
before you can comment on or make changes to this bug.
Description
•