Mercurial > hg
view tests/test-check-pylint.t @ 32049:ed42e00a5c4e
progress: retry ferr.flush() and .write() on EINTR (issue5532)
See the inline comment how this could mitigate the issue.
I couldn't reproduce the exact problem on my Linux machine, but there are
at least two people who got EINTR in progress.py, and it seems file_write()
of Python 2 is fundamentally broken [1]. Let's make something in on 4.2.
[1]: https://hg.python.org/cpython/file/v2.7.13/Objects/fileobject.c#l1850
author | Yuya Nishihara <yuya@tcha.org> |
---|---|
date | Thu, 13 Apr 2017 22:31:17 +0900 |
parents | 5b048d5f8884 |
children | 778dc37ce683 |
line wrap: on
line source
#require test-repo pylint hg10 Run pylint for known rules we care about. ----------------------------------------- There should be no recorded failures; fix the codebase before introducing a new check. Current checks: - W0102: no mutable default argument $ touch $TESTTMP/fakerc $ pylint --rcfile=$TESTTMP/fakerc --disable=all \ > --enable=W0102 --reports=no \ > mercurial hgext hgext3rd (?) ------------------------------------ (?) Your code has been rated at 10.00/10 (?) (?)