>> Since print is now a builtin function why is there still a PRINT_EXPR
>> opcode?
Benjamin> I believe it's used in the interactive interpreter to display
Benjamin> the repr of an expression.
Wouldn't it make more sense for the interactive interpreter to call
print(repr(expr))
?
Skip
_______________________________________________
Python-Dev mailing list
[email protected]
http://mail.python.org/mailman/listinfo/python-dev
Unsubscribe:
http://mail.python.org/mailman/options/python-dev/archive%40mail-archive.com