The following issues were found
Lib/test/crashers/infinite_loop_re.py
2 issues
Line: 1
Column: 1
# This was taken from http://python.org/sf/1541697
# It's not technically a crasher. It may not even truly be infinite,
# however, I haven't waited a long time to see the result. It takes
# 100% of CPU while running this and should be fixed.
import re
starttag = re.compile(r'<[a-zA-Z][-_.:a-zA-Z0-9]*\s*('
r'\s*([a-zA-Z_][-:.a-zA-Z_0-9]*)(\s*=\s*'
Reported by Pylint.
Line: 15
Column: 5
r')*\s*/?\s*(?=[<>])')
if __name__ == '__main__':
foo = '<table cellspacing="0" cellpadding="0" style="border-collapse'
starttag.match(foo)
Reported by Pylint.
Lib/test/test_importlib/import_/__init__.py
2 issues
Line: 1
Column: 1
import os
from test.support import load_package_tests
def load_tests(*args):
return load_package_tests(os.path.dirname(__file__), *args)
Reported by Pylint.
Line: 4
Column: 1
import os
from test.support import load_package_tests
def load_tests(*args):
return load_package_tests(os.path.dirname(__file__), *args)
Reported by Pylint.
Lib/test/imp_dummy.py
2 issues
Line: 1
Column: 1
# Fodder for test of issue24748 in test_imp
dummy_name = True
Reported by Pylint.
Line: 3
Column: 1
# Fodder for test of issue24748 in test_imp
dummy_name = True
Reported by Pylint.
Lib/lib2to3/tests/data/fixers/parrot_example.py
2 issues
Line: 1
Column: 1
def parrot():
pass
Reported by Pylint.
Line: 1
Column: 1
def parrot():
pass
Reported by Pylint.
Lib/test/test_importlib/__init__.py
2 issues
Line: 1
Column: 1
import os
from test.support import load_package_tests
def load_tests(*args):
return load_package_tests(os.path.dirname(__file__), *args)
Reported by Pylint.
Line: 4
Column: 1
import os
from test.support import load_package_tests
def load_tests(*args):
return load_package_tests(os.path.dirname(__file__), *args)
Reported by Pylint.
Lib/test/test_import/data/package/__init__.py
2 issues
Line: 2
Column: 1
import package.submodule
package.submodule
Reported by Pylint.
Line: 1
Column: 1
import package.submodule
package.submodule
Reported by Pylint.
Lib/test/test_import/data/circular_imports/util.py
2 issues
Line: 1
Column: 1
def util():
pass
Reported by Pylint.
Line: 1
Column: 1
def util():
pass
Reported by Pylint.
Lib/test/test_multiprocessing_fork.py
2 issues
Line: 16
Column: 1
if sys.platform == 'darwin':
raise unittest.SkipTest("test may crash on macOS (bpo-33725)")
test._test_multiprocessing.install_tests_in_module_dict(globals(), 'fork')
if __name__ == '__main__':
unittest.main()
Reported by Pylint.
Line: 1
Column: 1
import unittest
import test._test_multiprocessing
import sys
from test import support
if support.PGO:
raise unittest.SkipTest("test is not helpful for PGO")
Reported by Pylint.
Lib/test/test_multiprocessing_forkserver.py
2 issues
Line: 13
Column: 1
if sys.platform == "win32":
raise unittest.SkipTest("forkserver is not available on Windows")
test._test_multiprocessing.install_tests_in_module_dict(globals(), 'forkserver')
if __name__ == '__main__':
unittest.main()
Reported by Pylint.
Line: 1
Column: 1
import unittest
import test._test_multiprocessing
import sys
from test import support
if support.PGO:
raise unittest.SkipTest("test is not helpful for PGO")
Reported by Pylint.
Lib/test/test_import/data/circular_imports/rebinding.py
2 issues
Line: 3
Column: 1
"""Test the binding of names when a circular import shares the same name as an
attribute."""
from .rebinding2 import util
Reported by Pylint.
Line: 3
Column: 1
"""Test the binding of names when a circular import shares the same name as an
attribute."""
from .rebinding2 import util
Reported by Pylint.