On 8/22/06, Nick Coghlan <ncoghlan@gmail.com> wrote:
The error argument for PyNumber_AsSsize_t is only used for
overflow handling (that's why it's always either IndexError or OverflowError
in the core). The TypeError for non-integers (like 1.0) is raised separately
(even if you set the error argument to NULL to request clipping).

Thanks, fixed.

--
Thomas Wouters <thomas@python.org>

Hi! I'm a .signature virus! copy me into your .signature file to help me spread!