Re: [Numpy-discussion] Silent DeprecationWarnings under Python 2.7 onwards

2010-09-17 Thread Peter
On Wed, Sep 15, 2010 at 3:34 PM, Benjamin Root wrote: > On Wed, Sep 15, 2010 at 8:28 AM, Ralf Gommers > wrote: >> >> >> On Fri, Sep 10, 2010 at 12:05 AM, Peter >>> http://docs.python.org/library/warnings.html#updating-code-for-new-versions-of-python >>> >>> This makes sense to me for deprecation

Re: [Numpy-discussion] Silent DeprecationWarnings under Python 2.7 onwards

2010-09-16 Thread Ralf Gommers
On Wed, Sep 15, 2010 at 10:34 PM, Benjamin Root wrote: > On Wed, Sep 15, 2010 at 8:28 AM, Ralf Gommers > wrote: > >> >> >> On Fri, Sep 10, 2010 at 12:05 AM, Peter < >> numpy-discuss...@maubp.freeserve.co.uk> wrote: >> >>> Hi all, >>> >>> NumPy currently makes extensive use of the DeprecationWarn

Re: [Numpy-discussion] Silent DeprecationWarnings under Python 2.7 onwards

2010-09-15 Thread Benjamin Root
On Wed, Sep 15, 2010 at 8:28 AM, Ralf Gommers wrote: > > > On Fri, Sep 10, 2010 at 12:05 AM, Peter < > numpy-discuss...@maubp.freeserve.co.uk> wrote: > >> Hi all, >> >> NumPy currently makes extensive use of the DeprecationWarning >> class to alert users when some feature is going to be withdrawn.

Re: [Numpy-discussion] Silent DeprecationWarnings under Python 2.7 onwards

2010-09-15 Thread Ralf Gommers
On Fri, Sep 10, 2010 at 12:05 AM, Peter < numpy-discuss...@maubp.freeserve.co.uk> wrote: > Hi all, > > NumPy currently makes extensive use of the DeprecationWarning > class to alert users when some feature is going to be withdrawn. > However, as of Python 2.7, the DeprecationWarning is silent by >

[Numpy-discussion] Silent DeprecationWarnings under Python 2.7 onwards

2010-09-09 Thread Peter
Hi all, NumPy currently makes extensive use of the DeprecationWarning class to alert users when some feature is going to be withdrawn. However, as of Python 2.7, the DeprecationWarning is silent by default, see: http://docs.python.org/library/warnings.html#updating-code-for-new-versions-of-python