[SciPy-dev] change print statements to print functions in docstrings

Ryan May rmay31@gmail....
Sat Aug 15 12:02:05 CDT 2009


On Sat, Aug 15, 2009 at 11:50 AM, David Goldsmith
<d_l_goldsmith@yahoo.com>wrote:

> As a curious "innocent bystander" that only goes along with earth
> shattering software change "kicking and screaming" ;-) why did the Python 3
> PTB decide to change such a fundamental construct?
>

One reason is that by making it a function, it's easy to replace it with a
different, custom function.  It also (IMO) seems a bit more pythonic.
Remeber, the pain of breakage was kind of the point of 3.0. :)

Ryan

--
Ryan May
Graduate Research Assistant
School of Meteorology
University of Oklahoma
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://mail.scipy.org/pipermail/scipy-dev/attachments/20090815/c03af224/attachment.html 


More information about the Scipy-dev mailing list