Find removed co_lnotab on code objects
Proprietaryco_lnotab was removed from code objects in Python 3.15. Use co_lines() instead, which yields (start, end, line) tuples (PEP 626). Only fires where the code object's type resolves to types.CodeType.
org. openrewrite. python. migrate. FindCodeObjectCoLnotabmod run . --recipe= org. openrewrite. python. migrate. FindCodeObjectCoLnotabInstall it once, then run it on every repository under the current directory. New to the Moderne CLI? Set it up.