[Python-Dev] Why is there still a PRINT_EXPR opcode in Python 3? (original) (raw)

Benjamin Peterson benjamin at python.org
Mon Jan 5 00:32:54 CET 2009


On Sun, Jan 4, 2009 at 5:28 PM, <skip at pobox.com> wrote:

Since print is now a builtin function why is there still a PRINTEXPR opcode?

I believe it's used in the interactive interpreter to display the repr of an expression.

-- Regards, Benjamin



More information about the Python-Dev mailing list