On Dec 15, 2011, at 1:12 PM, Paul McNett wrote:
> I wonder if this should be:
>
> if ord(val[0] > 127):
> raise ValueError("GroupChar must be a valid ASCII char...")
> if len(val > 1):
> raise ValueError("GroupChar must be a single char...")
>
> because it is more useful when developing to be interrupted with a stack
> trace, than
> to have to look in the error log and wonder where in the code the error
> occurred. Or
> worse, not even realizing there was a problem.
As my other message said, I didn't mean to commit that change. I had
run into an issue when I was playing with dNumericBox, and was looking for a
graceful way to handle bad group characters. Nothing I did really helped, and I
was planning on getting back to this at some point...
-- Ed Leafe
_______________________________________________
Post Messages to: [email protected]
Subscription Maintenance: http://leafe.com/mailman/listinfo/dabo-dev
Searchable Archives: http://leafe.com/archives/search/dabo-dev
This message:
http://leafe.com/archives/byMID/[email protected]