[Numpy-discussion] code review/build & test for datetime business day API

Charles R Harris charlesr.harris at gmail.com
Mon Jul 25 17:29:36 EDT 2011


2011/7/25 Stéfan van der Walt <stefan at sun.ac.za>

> On Mon, Jul 25, 2011 at 2:11 PM, Charles R Harris
> <charlesr.harris at gmail.com> wrote:
> > It's just asking for import problems and general confusion to shadow a
> > Python module, that's why we renamed io to npyio.
>
> Why?  Users can simply do
>
> import numpy.io as npyio ?
>
>
It caused problems with 2to3 for one thing because it was getting imported
as io in the package. It is just a bad idea to shadow python modules and
best avoided.

Chuck
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.python.org/pipermail/numpy-discussion/attachments/20110725/76098ebc/attachment.html>


More information about the NumPy-Discussion mailing list