On Fri, Aug 18, 2006 at 12:17:58AM +0200, Leopold Toetsch wrote:
> A lot of src/string string_ operations are capable of dealing with NULL 
> strings currently [1]. *But* that's AFAIK specificied nowhere, and might just 
> be an accident, i.e. an extra (unneeded/unwanted) check for A NULL argument. 
> A consistent behavior would make all these things just errors, the same as we 
> got with the Null PMC, which has been created for this very reason - the same 
> as a SEGV in C, when accessing a NULL ptr.

Indeed, these _should_ all be errors.  However, there is often no direct way
to indicate an error when the output type has no out-of-band values, like
INTVAL.  And exceptions are still too expensive.  So at present I'd consider
this a misbug.
-- 
Chip Salzenberg <[EMAIL PROTECTED]>

Reply via email to