To reiterate my point on a previous thread, I don't think this should happen
until NumPy 2.0. This *will* break a massive number of doctests, and what's
worse, it will do so in a way that makes it difficult to support doctesting for
both 1.13 and 1.14. I don't see a big enough benefit to these c
On Fri, 2017-06-30 at 17:55 +1000, Juan Nunez-Iglesias wrote:
> To reiterate my point on a previous thread, I don't think this should
> happen until NumPy 2.0. This *will* break a massive number of
> doctests, and what's worse, it will do so in a way that makes it
> difficult to support doctesting
Will it be possible for people not at SciPy to participate ? The timing
looks I could finally spend some time on numpy again this year
David
On Thu, Jun 29, 2017 at 7:07 PM, Charles R Harris wrote:
> Hi All,
>
> I will be running the NumPy sprint at Scipy 2017 and I'm trying to put
> together a
Indeed, for scikit-learn, this would be a major problem.
Gaël
On Fri, Jun 30, 2017 at 05:55:52PM +1000, Juan Nunez-Iglesias wrote:
> To reiterate my point on a previous thread, I don't think this should happen
> until NumPy 2.0. This *will* break a massive number of doctests, and what's
> worse,
On 06/30/2017 03:55 AM, Juan Nunez-Iglesias wrote:
To reiterate my point on a previous thread, I don't think this should
happen until NumPy 2.0. This *will* break a massive number of doctests,
and what's worse, it will do so in a way that makes it difficult to
support doctesting for both 1.13 a
Is it feasible/desirable to provide a doctest runner that ignores
whitespace? That would allow downstream projects to fix their doctests on
1.14+ with a one-line change, without breaking tests on 1.13.
On Fri, Jun 30, 2017 at 11:11 AM, Allan Haldane
wrote:
> On 06/30/2017 03:55 AM, Juan Nunez-Ig
On 06/30/2017 03:04 PM, CJ Carey wrote:
> Is it feasible/desirable to provide a doctest runner that ignores
> whitespace? That would allow downstream projects to fix their doctests on
> 1.14+ with a one-line change, without breaking tests on 1.13.
Good idea. I have already implemented this actuall
On 30 June 2017 at 03:34, Joseph Fox-Rabinovitz
wrote:
> This is a useful idea certainly. I would recommended extending it to an
> arbitrary number of axes. You could either raise an error if the ndim of the
> two arrays are unequal, or allow a broadcast of a lesser ndimmed src array.
>
Now I am
If you are serious about adding this to numpy, an even better option might
be to create a pull request with the implementation and solicit comments on
that. The problem lends itself to an easy solution in pure Python, so this
should not be too hard to do.
-Joe
On Fri, Jun 30, 2017 at 4:08 PM
On 06/30/2017 09:17 AM, Gael Varoquaux wrote:
> Indeed, for scikit-learn, this would be a major problem.
>
> Gaël
I just ran the scikit-learn tests.
With the new behavior (removed whitespace), I do get 70 total failures:
$ make test-doc
Ran 39 tests in 39.503s
FAILED (SKIP=3, failur
On Sat, Jul 1, 2017 at 7:04 AM, CJ Carey wrote:
> Is it feasible/desirable to provide a doctest runner that ignores
> whitespace?
>
Yes, and yes. Due to doctest being in the stdlib that is going to take
forever to have any effect though; a separate our-sane-doctest module would
be the way to shi
One problem is that it becomes hard (impossible?) for downstream packages
such as scikit-learn to doctest under multiple versions of the numpy.
Past experience has shown that it could be useful.
Gaël
On Fri, Jun 30, 2017 at 06:30:53PM -0400, Allan Haldane wrote:
> On 06/30/2017 09:17 AM, Gael Var
On Fri, Jun 30, 2017 at 4:47 PM, Gael Varoquaux <
gael.varoqu...@normalesup.org> wrote:
>
> One problem is that it becomes hard (impossible?) for downstream packages
> such as scikit-learn to doctest under multiple versions of the numpy.
> Past experience has shown that it could be useful.
It's no
I agree that shipping a sane/sanitising doctest runner would go 95% of the way
to alleviating my concerns.
Regarding 2.0, this is the whole point of semantic versioning: downstream
packages can pin their dependency as 1.x and know that they
- will continue to work with any updates
- won’t make t
On Fri, Jun 30, 2017 at 7:23 PM, Juan Nunez-Iglesias wrote:
> I agree that shipping a sane/sanitising doctest runner would go 95% of the
> way to alleviating my concerns.
>
> Regarding 2.0, this is the whole point of semantic versioning: downstream
> packages can pin their dependency as 1.x and kn
On Fri, Jun 30, 2017 at 7:23 PM, Juan Nunez-Iglesias
wrote:
> I do have sympathy for Ralf’s argument that "exact repr's are not part of
the NumPy (or Python for that matter) backwards compatibility guarantees”.
But it is such a foundational project in Scientific Python that I think
extreme care i
16 matches
Mail list logo