Re: [Numpy-discussion] un-silencing Numpy's deprecation warnings

2012-05-22 Thread Jonathan T. Niehof
On 05/22/2012 03:50 AM, Peter wrote: > We had the same discussion for Biopython two years ago, and > introduced our own warning class to avoid our deprecations being > silent (and thus almost pointless). It is just a subclass of Warning > (originally we used a subclass of UserWarning). For SpacePy

Re: [Numpy-discussion] un-silencing Numpy's deprecation warnings

2012-05-22 Thread Robert Kern
On Tue, May 22, 2012 at 2:45 PM, Nathaniel Smith wrote: > On Tue, May 22, 2012 at 11:06 AM, Robert Kern wrote: >> On Tue, May 22, 2012 at 9:27 AM, Nathaniel Smith wrote: >>> So starting in Python 2.7 and 3.2, the Python developers have made >>> DeprecationWarnings invisible by default: >>>  http

Re: [Numpy-discussion] un-silencing Numpy's deprecation warnings

2012-05-22 Thread Nathaniel Smith
On Tue, May 22, 2012 at 11:06 AM, Robert Kern wrote: > On Tue, May 22, 2012 at 9:27 AM, Nathaniel Smith wrote: >> So starting in Python 2.7 and 3.2, the Python developers have made >> DeprecationWarnings invisible by default: >>  http://docs.python.org/whatsnew/2.7.html#the-future-for-python-2-x

Re: [Numpy-discussion] un-silencing Numpy's deprecation warnings

2012-05-22 Thread Robert Kern
On Tue, May 22, 2012 at 11:14 AM, Dag Sverre Seljebotn wrote: > On 05/22/2012 12:06 PM, Robert Kern wrote: >> On Tue, May 22, 2012 at 9:27 AM, Nathaniel Smith  wrote: >>> So maybe we should change all our DeprecationWarnings into >>> FutureWarnings (or at least the ones that we actually plan to f

Re: [Numpy-discussion] un-silencing Numpy's deprecation warnings

2012-05-22 Thread Dag Sverre Seljebotn
On 05/22/2012 12:06 PM, Robert Kern wrote: > On Tue, May 22, 2012 at 9:27 AM, Nathaniel Smith wrote: >> So starting in Python 2.7 and 3.2, the Python developers have made >> DeprecationWarnings invisible by default: >> http://docs.python.org/whatsnew/2.7.html#the-future-for-python-2-x >> http:

Re: [Numpy-discussion] un-silencing Numpy's deprecation warnings

2012-05-22 Thread Robert Kern
On Tue, May 22, 2012 at 9:27 AM, Nathaniel Smith wrote: > So starting in Python 2.7 and 3.2, the Python developers have made > DeprecationWarnings invisible by default: >  http://docs.python.org/whatsnew/2.7.html#the-future-for-python-2-x >  http://mail.python.org/pipermail/stdlib-sig/2009-Novembe

Re: [Numpy-discussion] un-silencing Numpy's deprecation warnings

2012-05-22 Thread Peter
On Tue, May 22, 2012 at 9:27 AM, Nathaniel Smith wrote: > So starting in Python 2.7 and 3.2, the Python developers have made > DeprecationWarnings invisible by default: >  http://docs.python.org/whatsnew/2.7.html#the-future-for-python-2-x >  http://mail.python.org/pipermail/stdlib-sig/2009-Novembe

[Numpy-discussion] un-silencing Numpy's deprecation warnings

2012-05-22 Thread Nathaniel Smith
So starting in Python 2.7 and 3.2, the Python developers have made DeprecationWarnings invisible by default: http://docs.python.org/whatsnew/2.7.html#the-future-for-python-2-x http://mail.python.org/pipermail/stdlib-sig/2009-November/000789.html http://bugs.python.org/issue7319 The only way t