From: Edmund L. <el...@in...> - 2003-06-06 16:51:12
|
I notice that when alternateID=True, and the associated .byWhatever() selection is performed, a SQLObjectNotFound exception is raised rather than None or [] being returned. However, when a normal .select() method is used, [] is returned. Does this seem a bit inconsistent? I'm thinking that with a .select(), one expects a list, so an empty list for no result makes sense. Similarly, with a .byWhatever(), one expects an object, so perhaps None for no result makes more sense than an exception? ...Edmund. |