Re: [Numpy-discussion] Remove deprecated skiprows

2011-04-05 Thread Wes McKinney
On Tue, Apr 5, 2011 at 7:32 PM, Robert Kern wrote: > On Tue, Apr 5, 2011 at 18:20, Wes McKinney wrote: > >> FYI: >> >> http://docs.python.org/library/warnings.html >> >> "DeprecationWarning     Base category for warnings about deprecated >> features (ignored by default)." >> >> Maybe DeprecationW

Re: [Numpy-discussion] Remove deprecated skiprows

2011-04-05 Thread Robert Kern
On Tue, Apr 5, 2011 at 18:20, Wes McKinney wrote: > FYI: > > http://docs.python.org/library/warnings.html > > "DeprecationWarning     Base category for warnings about deprecated > features (ignored by default)." > > Maybe DeprecationWarnings should be changed to something that isn't > ignored by

Re: [Numpy-discussion] Remove deprecated skiprows

2011-04-05 Thread Wes McKinney
On Tue, Apr 5, 2011 at 5:52 PM, Ralf Gommers wrote: > On Tue, Apr 5, 2011 at 11:45 PM, Skipper Seabold wrote: >> On Sun, Apr 3, 2011 at 8:20 PM, Charles R Harris >> wrote: >>> Should skiprows be removed? >>> >>>     if skiprows: >>>     warnings.warn(\ >>>     "The use of `skiprows`

Re: [Numpy-discussion] Remove deprecated skiprows

2011-04-05 Thread Pierre GM
On Apr 6, 2011, at 12:16 AM, Alan G Isaac wrote: > On 4/5/2011 6:11 PM, Skipper Seabold wrote: >> To my mind, skip_headers is a bool Well, that's understandable... So, yet another change of name to skip_header_lines, skip_footer_lines, with the deprecation that goes with it ? More seriously, a

Re: [Numpy-discussion] Remove deprecated skiprows

2011-04-05 Thread Alan G Isaac
On 4/5/2011 6:11 PM, Skipper Seabold wrote: > To my mind, skip_headers is a bool I agree. Alan Isaac ___ NumPy-Discussion mailing list NumPy-Discussion@scipy.org http://mail.scipy.org/mailman/listinfo/numpy-discussion

Re: [Numpy-discussion] Remove deprecated skiprows

2011-04-05 Thread Skipper Seabold
On Tue, Apr 5, 2011 at 6:05 PM, Pierre GM wrote: > > On Apr 5, 2011, at 11:52 PM, Ralf Gommers wrote: > >> On Tue, Apr 5, 2011 at 11:45 PM, Skipper Seabold wrote: >>> On Sun, Apr 3, 2011 at 8:20 PM, Charles R Harris >>> wrote: Should skiprows be removed?     if skiprows:    

Re: [Numpy-discussion] Remove deprecated skiprows

2011-04-05 Thread Pierre GM
On Apr 5, 2011, at 11:52 PM, Ralf Gommers wrote: > On Tue, Apr 5, 2011 at 11:45 PM, Skipper Seabold wrote: >> On Sun, Apr 3, 2011 at 8:20 PM, Charles R Harris >> wrote: >>> Should skiprows be removed? >>> >>> if skiprows: >>> warnings.warn(\ >>> "The use of `skiprows` i

Re: [Numpy-discussion] Remove deprecated skiprows

2011-04-05 Thread Ralf Gommers
On Tue, Apr 5, 2011 at 11:45 PM, Skipper Seabold wrote: > On Sun, Apr 3, 2011 at 8:20 PM, Charles R Harris > wrote: >> Should skiprows be removed? >> >>     if skiprows: >>     warnings.warn(\ >>     "The use of `skiprows` is deprecated, it will be removed in >> numpy 2.0.\n" \ >>    

Re: [Numpy-discussion] Remove deprecated skiprows

2011-04-05 Thread Skipper Seabold
On Sun, Apr 3, 2011 at 8:20 PM, Charles R Harris wrote: > Should skiprows be removed? > >     if skiprows: >     warnings.warn(\ >     "The use of `skiprows` is deprecated, it will be removed in > numpy 2.0.\n" \ >     "Please use `skip_header` instead.", >     Deprecat

Re: [Numpy-discussion] Remove deprecated skiprows

2011-04-05 Thread Ralf Gommers
On Mon, Apr 4, 2011 at 2:20 AM, Charles R Harris wrote: > Should skiprows be removed? > >     if skiprows: >     warnings.warn(\ >     "The use of `skiprows` is deprecated, it will be removed in > numpy 2.0.\n" \ >     "Please use `skip_header` instead.", >     Deprecat

[Numpy-discussion] Remove deprecated skiprows

2011-04-03 Thread Charles R Harris
Should skiprows be removed? if skiprows: warnings.warn(\ "The use of `skiprows` is deprecated, it will be removed in numpy 2.0.\n" \ "Please use `skip_header` instead.", DeprecationWarning) skip_header = skiprows Its been deprecated since 1.