com_print_stmt(): Guido rightly points out that the stream expression
authorBarry Warsaw <barry@python.org>
Mon, 21 Aug 2000 17:07:20 +0000 (17:07 +0000)
committerBarry Warsaw <barry@python.org>
Mon, 21 Aug 2000 17:07:20 +0000 (17:07 +0000)
commit24703a02e737134ee71368d891d5170500885db7
tree94d96935d87b0135342dff5f153525f56f10d68b
parent62c53ddabef25f3dd4fa2019ee998a3f4189a3bd
com_print_stmt(): Guido rightly points out that the stream expression
in extended prints should only be evaluated once.  This patch plays
stack games (documented!) to fix this.
Python/compile.c