The following issues were found

Lib/test/badsyntax_3131.py
1 issues
invalid character in identifier (<unknown>, line 2)
Error

Line: 2 Column: 2

              # -*- coding: utf-8 -*-
€ = 2

            

Reported by Pylint.

Lib/lib2to3/tests/data/crlf.py
1 issues
Missing parentheses in call to 'print'. Did you mean print("hi")? (<unknown>, line 1)
Error

Line: 1 Column: 8

              print "hi"

print "Like bad Windows newlines?"

            

Reported by Pylint.

Lib/test/test_named_expressions.py
1 issues
invalid syntax (<unknown>, line 331)
Error

Line: 331 Column: 23

              
    def test_named_expression_assignment_17(self):
        a = [1]
        element = a[b:=0]
        self.assertEqual(b, 0)
        self.assertEqual(element, a[0])

    def test_named_expression_assignment_18(self):
        class TwoDimensionalList:

            

Reported by Pylint.

Lib/test/ann_module4.py
1 issues
Missing module docstring
Error

Line: 1 Column: 1

              # This ann_module isn't for test_typing,
# it's for test_module

a:int=3
b:str=4

            

Reported by Pylint.

Lib/test/memory_watchdog.py
1 issues
Constant name "page_size" doesn't conform to UPPER_CASE naming style
Error

Line: 19 Column: 9

                  try:
        page_size = os.sysconf('SC_PAGE_SIZE')
    except (ValueError, AttributeError):
        page_size = 4096

while True:
    sys.stdin.seek(0)
    statm = sys.stdin.read()
    data = int(statm.split()[5])

            

Reported by Pylint.

Lib/lib2to3/tests/data/bom.py
1 issues
Missing parentheses in call to 'print'. Did you mean print("BOM BOOM!")? (<unknown>, line 2)
Error

Line: 2 Column: 8

              # coding: utf-8
print "BOM BOOM!"

            

Reported by Pylint.

Lib/test/test_grammar.py
1 issues
invalid syntax (<unknown>, line 763)
Error

Line: 763 Column: 11

                      self.assertEqual(f.__annotations__, {'return': list})

        # Test expressions as decorators (PEP 614):
        @False or null
        def f(x): pass
        @d := null
        def f(x): pass
        @lambda f: null(f)
        def f(x): pass

            

Reported by Pylint.

Lib/test/bad_getattr3.py
1 issues
Missing module docstring
Error

Line: 1 Column: 1

              def __getattr__(name):
    if name != 'delgetattr':
        raise AttributeError
    del globals()['__getattr__']
    raise AttributeError

            

Reported by Pylint.

Lib/lib2to3/tests/data/py2_test_grammar.py
1 issues
leading zeros in decimal integer literals are not permitted; use an 0o prefix for octal integers (<unknown>, line 31)
Error

Line: 31 Column: 31

              
    def testPlainIntegers(self):
        self.assertEquals(0xff, 255)
        self.assertEquals(0377, 255)
        self.assertEquals(2147483647, 017777777777)
        # "0x" is not a valid literal
        self.assertRaises(SyntaxError, eval, "0x")
        from sys import maxint
        if maxint == 2147483647:

            

Reported by Pylint.

Lib/test/test_asyncio/echo3.py
1 issues
Missing module docstring
Error

Line: 1 Column: 1

              import os

if __name__ == '__main__':
    while True:
        buf = os.read(0, 1024)
        if not buf:
            break
        try:
            os.write(1, b'OUT:'+buf)

            

Reported by Pylint.