On Aug 11, 2013 4:37 PM, "Andrew Dalke" wrote:
>
> On Aug 11, 2013, at 10:24 PM, Benjamin Root wrote:
> > The idea would be that within numpy (and we should fix SciPy as well),
we would always import numpy._testing as testing, and not import testing.py
ourselves.
>
> The problem is the existing co
On Sun, Aug 11, 2013 at 2:24 PM, Benjamin Root wrote:
>
> On Aug 11, 2013 5:02 AM, "Ralf Gommers" wrote:
> >
> >
> >
> >
> > On Sun, Aug 11, 2013 at 3:35 AM, Benjamin Root wrote:
> >>
> >> Would there be some sort of way to detect that numpy.testing wasn't
> explicitly imported and issue a depr
On Aug 11, 2013, at 10:24 PM, Benjamin Root wrote:
> The idea would be that within numpy (and we should fix SciPy as well), we
> would always import numpy._testing as testing, and not import testing.py
> ourselves.
The problem is the existing code out there which does:
import numpy as np
...
n
On Aug 11, 2013 5:02 AM, "Ralf Gommers" wrote:
>
>
>
>
> On Sun, Aug 11, 2013 at 3:35 AM, Benjamin Root wrote:
>>
>> Would there be some sort of way to detect that numpy.testing wasn't
explicitly imported and issue a deprecation warning? Say, move the code
into numpy._testing, import in into the
On Sun, Aug 11, 2013 at 3:35 AM, Benjamin Root wrote:
> Would there be some sort of way to detect that numpy.testing wasn't
> explicitly imported and issue a deprecation warning? Say, move the code
> into numpy._testing, import in into the namespace as testing, but then have
> the testing.py file
On Aug 10, 2013 12:50 PM, "Ralf Gommers" wrote:
>
>
>
>
> On Sat, Aug 10, 2013 at 5:21 PM, Andrew Dalke
wrote:
>>
>> [Short version: It doesn't look like my proposal or any
>> simple alternative is tenable.]
>>
>> On Aug 10, 2013, at 10:28 AM, Ralf Gommers wrote:
>> > It does break backwards comp
On Sat, Aug 10, 2013 at 5:21 PM, Andrew Dalke wrote:
> [Short version: It doesn't look like my proposal or any
> simple alternative is tenable.]
>
> On Aug 10, 2013, at 10:28 AM, Ralf Gommers wrote:
> > It does break backwards compatibility though, because now you can do:
> >
> >import numpy a
[Short version: It doesn't look like my proposal or any
simple alternative is tenable.]
On Aug 10, 2013, at 10:28 AM, Ralf Gommers wrote:
> It does break backwards compatibility though, because now you can do:
>
>import numpy as np
>np.testing.assert_equal(x, y)
Yes, it does.
I realize
On Wed, Aug 7, 2013 at 3:26 PM, Andrew Dalke wrote:
> On Aug 7, 2013, at 4:37 AM, Charles R Harris wrote:
> > I haven't forgotten and intend to look at it before the next release.
>
> Thanks!
>
> On a related topic, last night I looked into deferring the
> import for numpy.testing. This is the onl
On Aug 7, 2013, at 4:37 AM, Charles R Harris wrote:
> I haven't forgotten and intend to look at it before the next release.
Thanks!
On a related topic, last night I looked into deferring the
import for numpy.testing. This is the only other big place
where numpy's import overhead might be reduced
10 matches
Mail list logo