Re:Python 3.6.0 released
by sirtaj on Friday December 23, 2016 @12:40PM
(#13245996)
As I understand it, print() was created not from a sense of consistency, but because a few awkward cases could be simply solved by turning print from a statement into an expression. Use in lambdas would be one example.
[ Parent
| on HN ]
Re:Python 3.6.0 released
by mixmastamyk on Friday December 23, 2016 @03:00PM
(#13246893)
I don't like the extra parens, but I made an editor shortcut to alleviate that.
Other cases such as redirecting to a file, and changing the line ending are handled much more intuitively with the print function.