[SciPy-user] Polynomial interpolation

Robert Kern robert.kern@gmail....
Wed Apr 30 02:33:45 CDT 2008

On Wed, Apr 30, 2008 at 2:03 AM, Anne Archibald
<peridot.faceted@gmail.com> wrote:
> 2008/4/30 Rob Clewley <rob.clewley@gmail.com>:
> > Could someone please make the new interpolation classes into new-style
>  >  classes? And I don't know if it's considered a big deal, but for
>  >  future compatibility maybe the exception raising should be done in the
>  >  functional style: ValueError("message") rather than ValueError,
>  >  message ?
>  I can clean those up. But I'm not sure how to set things up as
>  "properties" so that the right things happen when users try to
>  manipulate the attributes.

If it doesn't feel right to you, don't do it. Your point about
properies giving a false sense of safety in this case is quite valid.
If it's not obvious how to apply properties nicely here, that might be
a good sign that properties aren't appropriate.

Robert Kern

"I have come to believe that the whole world is an enigma, a harmless
enigma that is made terrible by our own mad attempt to interpret it as
though it had an underlying truth."
 -- Umberto Eco

More information about the SciPy-user mailing list