2011/7/25 Stéfan van der Walt <[email protected]>

> On Mon, Jul 25, 2011 at 2:11 PM, Charles R Harris
> <[email protected]> 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
_______________________________________________
NumPy-Discussion mailing list
[email protected]
http://mail.scipy.org/mailman/listinfo/numpy-discussion

Reply via email to