[Python-Dev] list.extend

David Abrahams David Abrahams" <david.abrahams@rcn.com
Fri, 28 Jun 2002 01:22:05 -0400


From: "Tim Peters" <tim.one@comcast.net>

> If you want to
> change it, be sure to hunt down all the related ones too; e.g.,

I wouldn't know where to start with that project. Do you think it would be
a bad idea to make one of many error messages more accurate?

> BTW, most places that call PyInt_AsLong() either do so conditionally upon
> the success of a PyInt_Check(), or replace the exception raised when it
> returns -1 with an error.  Offhand I wasn't even able to provoke the msg
in
> question.

We extension writers like to use it too, though, and usually without an
extra layer of error processing.

-Dave