Disable autojunk for python difflib (#1001)

This commit is contained in:
MS 2024-06-08 10:36:32 -04:00 committed by GitHub
parent 2147be19de
commit cb74a8c80e
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -565,7 +565,7 @@ def recomp_lookup(addr: int, exact: bool) -> Optional[str]:
orig_asm = [x[1] for x in orig_combined]
recomp_asm = [x[1] for x in recomp_combined]
diff = difflib.SequenceMatcher(None, orig_asm, recomp_asm)
diff = difflib.SequenceMatcher(None, orig_asm, recomp_asm, autojunk=False)
ratio = diff.ratio()
if ratio != 1.0: