Show More
@@ -75,7 +75,9 b' class LineBufferedWrapper(object):' | |||
|
75 | 75 | return res |
|
76 | 76 | |
|
77 | 77 | |
|
78 | # pytype: disable=attribute-error | |
|
78 | 79 | io.BufferedIOBase.register(LineBufferedWrapper) |
|
80 | # pytype: enable=attribute-error | |
|
79 | 81 | |
|
80 | 82 | |
|
81 | 83 | def make_line_buffered(stream): |
@@ -114,7 +116,9 b' class WriteAllWrapper(object):' | |||
|
114 | 116 | return total_written |
|
115 | 117 | |
|
116 | 118 | |
|
119 | # pytype: disable=attribute-error | |
|
117 | 120 | io.IOBase.register(WriteAllWrapper) |
|
121 | # pytype: enable=attribute-error | |
|
118 | 122 | |
|
119 | 123 | |
|
120 | 124 | def _make_write_all(stream): |
@@ -767,6 +771,7 b' else:' | |||
|
767 | 771 | raise |
|
768 | 772 | finally: |
|
769 | 773 | if stdin_bytes is not None: |
|
774 | assert not isinstance(stdin, int) | |
|
770 | 775 | stdin.close() |
|
771 | 776 | if not ensurestart: |
|
772 | 777 | # Even though we're not waiting on the child process, |
@@ -32,7 +32,6 b' mercurial/sslutil.py # [attribu' | |||
|
32 | 32 | mercurial/testing/storage.py # tons of [attribute-error] |
|
33 | 33 | mercurial/ui.py # [attribute-error], [wrong-arg-types] |
|
34 | 34 | mercurial/unionrepo.py # ui, svfs, unfiltered [attribute-error] |
|
35 | mercurial/utils/procutil.py # [attribute-error], [module-attr], [bad-return-type] | |
|
36 | 35 | mercurial/utils/memorytop.py # not 3.6 compatible |
|
37 | 36 | mercurial/win32.py # [not-callable] |
|
38 | 37 | mercurial/wireprotoframing.py # [unsupported-operands], [attribute-error], [import-error] |
@@ -68,7 +67,6 b' development, but may be a hinderance for' | |||
|
68 | 67 | > -x mercurial/thirdparty \ |
|
69 | 68 | > -x mercurial/ui.py \ |
|
70 | 69 | > -x mercurial/unionrepo.py \ |
|
71 | > -x mercurial/utils/procutil.py \ | |
|
72 | 70 | > -x mercurial/utils/memorytop.py \ |
|
73 | 71 | > -x mercurial/win32.py \ |
|
74 | 72 | > -x mercurial/wireprotoframing.py \ |
General Comments 0
You need to be logged in to leave comments.
Login now