summaryrefslogtreecommitdiffstats
path: root/Demo/xml/rss2html.py
diff options
context:
space:
mode:
authorSkip Montanaro <skip@pobox.com>2002-07-25 06:18:42 (GMT)
committerSkip Montanaro <skip@pobox.com>2002-07-25 06:18:42 (GMT)
commit21ee37c94e78e43adabf178c53401cebde4ce96f (patch)
tree942c0688a42489b03a344040e3d2b439f081bb6b /Demo/xml/rss2html.py
parentf8c8cf8a9d8b9136571b65e82f95e136fd0374e8 (diff)
downloadcpython-21ee37c94e78e43adabf178c53401cebde4ce96f.zip
cpython-21ee37c94e78e43adabf178c53401cebde4ce96f.tar.gz
cpython-21ee37c94e78e43adabf178c53401cebde4ce96f.tar.bz2
remove spurious SET_LINENO from com_list_for and com_list_if. All they do
is slow things down unnecessarily and make tracing much more verbose. Something like def f(n): return [i for i in range(n) if i%2] should have at most two SET_LINENO instructions, not four. When tracing, the current line number should be printed once, not 2*n+1 times.
Diffstat (limited to 'Demo/xml/rss2html.py')
0 files changed, 0 insertions, 0 deletions