commit | 9047c8f73d0e8c865452f80a4219d647be7c433a | [log] [tgz] |
---|---|---|
author | Raymond Hettinger <python@rcn.com> | Sun Oct 24 00:10:06 2004 +0000 |
committer | Raymond Hettinger <python@rcn.com> | Sun Oct 24 00:10:06 2004 +0000 |
tree | ee43ced8c934a7477d2025291774d667495a8bad | |
parent | 7cb13a971d6dc0feb50393a4c9a930928253a940 [diff] [blame] |
SF bug #1048870: call arg of lambda not updating
diff --git a/Python/compile.c b/Python/compile.c index dc636c0..dfb94d3 100644 --- a/Python/compile.c +++ b/Python/compile.c
@@ -261,6 +261,8 @@ if (cmp) return (cmp<0)?-1:1; cmp = co->co_flags - cp->co_flags; if (cmp) return (cmp<0)?-1:1; + cmp = co->co_firstlineno - cp->co_firstlineno; + if (cmp) return (cmp<0)?-1:1; cmp = PyObject_Compare(co->co_code, cp->co_code); if (cmp) return cmp; cmp = PyObject_Compare(co->co_consts, cp->co_consts);