Jeremy Hylton be317e615e patches from Mark Hammond
Attached is a set of diffs for the .py compiler that adds support
for the new extended call syntax.

compiler/ast.py:
CallFunc node gets 2 new children to support extended call syntax -
"star_args" (for "*args") and "dstar_args" (for "**args")

compiler/pyassem.py
It appear that self.lnotab is supposed to be responsible for
tracking line numbers, but self.firstlineno was still hanging
around.  Removed self.firstlineno completely.  NOTE - I didnt
actually test that the generated code has the correct line numbers!!

Stack depth tracking appeared a little broken - the checks never
made it beyond the "self.patterns" check - thus, the custom methods
were never called!  Fixed this.

(XXX Jeremy notes: I think this code is still broken because it
doesn't track stack effects across block bounaries.)

Added support for the new extended call syntax opcodes for depth
calculations.

compiler/pycodegen.py

Added support for the new extended call syntax opcodes.

compiler/transformer.py

Added support for the new extended call syntax.
2000-05-02 22:32:59 +00:00
..
2000-05-02 22:32:59 +00:00
2000-03-07 15:19:31 +00:00
2000-02-02 15:10:15 +00:00
2000-02-02 15:10:15 +00:00
2000-02-02 15:10:15 +00:00
2000-02-02 15:10:15 +00:00
2000-02-02 15:10:15 +00:00
1999-08-26 15:50:43 +00:00
2000-02-02 15:10:15 +00:00
2000-05-01 16:17:32 +00:00
2000-02-02 15:10:15 +00:00
2000-03-28 21:42:38 +00:00
2000-03-28 21:45:46 +00:00
2000-03-28 21:45:46 +00:00
2000-03-28 21:45:46 +00:00
2000-03-28 21:45:46 +00:00
2000-02-19 13:36:23 +00:00
2000-02-10 17:17:14 +00:00
2000-03-28 21:45:46 +00:00
2000-03-06 20:39:59 +00:00
2000-03-28 21:45:46 +00:00
2000-02-02 15:10:15 +00:00
2000-02-10 17:17:14 +00:00
2000-03-27 19:29:31 +00:00
2000-02-10 17:17:14 +00:00
2000-05-01 20:14:12 +00:00
2000-03-28 21:45:46 +00:00
2000-02-10 17:17:14 +00:00
2000-05-02 14:32:11 +00:00
2000-02-29 00:10:24 +00:00
2000-03-10 23:18:11 +00:00
2000-02-10 17:17:14 +00:00
2000-02-02 15:10:15 +00:00
2000-04-11 15:38:46 +00:00
2000-02-10 17:17:14 +00:00