[Numpy-discussion] StringIO test failure with Python3.1.2

Charles R Harris charlesr.harris@gmail....
Wed Mar 24 10:20:48 CDT 2010


On Wed, Mar 24, 2010 at 9:07 AM, Robert Kern <robert.kern@gmail.com> wrote:

> On Wed, Mar 24, 2010 at 09:43, David Cournapeau <cournape@gmail.com>
> wrote:
> > On Wed, Mar 24, 2010 at 11:35 PM, Nadav Horesh <nadavh@visionsense.com>
> wrote:
> >> Any idea why
> >>
> >>  from .io import StringIO
> >>
> >> and not
> >>
> >>  from io import StringIO
> >>
> >> ???
> >>
> >> (Why is the extra "." before "io")
> >
> > Maybe a bug in py2to3, because StringIO is in io in python 3, and we
> > have a io module in numpy (.io is the new syntax for relative import).
>
> Bug reported:
>
> http://bugs.python.org/issue8221
>
>
What would be the best fix? Should we rename io to something like npyio?

Chuck
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://mail.scipy.org/pipermail/numpy-discussion/attachments/20100324/11494062/attachment.html 


More information about the NumPy-Discussion mailing list