Kevin J. Smith
2010-05-26 00:50:26 UTC
Hi,
I've stumbled across a problem whereby if you have a UnicodeString validator
with a max parameter as part of a schema and you throw it a float, it will
first do a len() check and throw a TypeError rather than a Invalid
exception.
I have checked through the source forge bugs and it looks like this is
identical to ID: 2879603. The issue is closed but there hasn't been a
release since it was closed. I don't really want to take the dev version
from the trunk so I was just wondering if anyone out there has a patch for
the issue.
Cheers
--
Never take life seriously. Nobody gets out alive anyway.
I've stumbled across a problem whereby if you have a UnicodeString validator
with a max parameter as part of a schema and you throw it a float, it will
first do a len() check and throw a TypeError rather than a Invalid
exception.
I have checked through the source forge bugs and it looks like this is
identical to ID: 2879603. The issue is closed but there hasn't been a
release since it was closed. I don't really want to take the dev version
from the trunk so I was just wondering if anyone out there has a patch for
the issue.
Cheers
--
Never take life seriously. Nobody gets out alive anyway.