Project 'python-team/modules/python-structlog' was moved to 'python-team/packages/python-structlog'. Please update any links and bookmarks that may still have the old path.
Do not call marshal.loads(...) of precompiled Python bytecode as it is...
Do not call marshal.loads(...) of precompiled Python bytecode as it is inherently unsafe. Replace for now with a brief summary of the code section of .pyc files. (Closes: #371)
Showing
- diffoscope/comparators/python.py 4 additions, 52 deletionsdiffoscope/comparators/python.py
- tests/comparators/test_python.py 14 additions, 9 deletionstests/comparators/test_python.py
- tests/data/pyc_expected_diff 6 additions, 11 deletionstests/data/pyc_expected_diff
- tests/data/test1.pyc-renamed 0 additions, 0 deletionstests/data/test1.pyc-renamed
- tests/data/test2.pyc-renamed 0 additions, 0 deletionstests/data/test2.pyc-renamed
Loading