David Abrahams" <firstname.lastname@example.org
Fri, 28 Jun 2002 02:05:22 -0400
From: "Tim Peters" <email@example.com>
> Increasing accuracy isn't necessarily helpful. In any context where
> PyInt_AsLong is called, an int most certainly is required *in the end*.
> Spelling out that the implementation may satisfy this requirement by
> a non-int type whether it knows how to convert instances of itself to an
> doesn't seem helpful to me as a user. I'm not thinking that much about
> internal implementation, and "of course" if an int is required Python
> accept an object of a type that knows how to convert itself to an int.
OK. Explicit is better than implicit, except when it's obvious what GvR
really meant ;-)
> But I suppose you don't like seeing
> SyntaxError: invalid syntax
> at the end of a 7-line statement either <wink>.
I never like seeing that, but I don't know what you're getting at.