Stefan Behnel | 8 Feb 12:04
Picon
Favicon
Gravatar

Re: Typo in exception message


Antti Kaihola, 08.02.2010 11:11:
> I'm catching exceptions from cssselect and my code needs to make decisions
> based on not only exception classes but also the particular exception
> messages.

Could you provide an insight into your use case here? I wouldn't mind
adding some machine-readable information to the exceptions, in case that
helps. (patches appreciated)

> The word "pseudo" is mistyped as "psuedo" in four different exceptions. Are
> these typos going to be kept unchanged for good, or should my code be
> prepared to match a corrected version as well?
> 
> The same typo seems to occur on the lxml web pages as well, by the way.

Thanks for catching that. I fixed it in the code and the docs. At least
lxml 2.3 will have this change.

Stefan

Gmane