[reportlab-users] Missing Unicode support in validators

Dinu Gherman reportlab-users@reportlab.com
Wed, 25 Feb 2004 11:35:37 +0100


--Apple-Mail-2-613890121
Content-Transfer-Encoding: 7bit
Content-Type: text/plain;
	charset=US-ASCII;
	format=flowed

Andy Robinson:

>>> ...
>>> from types import FloatType, IntType, ListType, TupleType, \
>>>     StringType, UnicodeType
>>> ...
>>> class _isString(Validator):
>>>     def test(self,x):
>>>         return type(x) in (StringType, UnicodeType)
>>> ...
>>
>> Any comments on this one?
>
> We can accept this kind of patch now; we could not until
> August because of 1.5.2 compatibility.  I just checked it
> in.

Unfortunately, that's not in 1.19 and not in CVS, either...

You-know-who'ly,

Dinu

--
Dinu C. Gherman - http://python.net/~gherman
......................................................................
"Honest disagreement is often a good sign of progress." (Gandhi) 
--Apple-Mail-2-613890121
Content-Transfer-Encoding: 7bit
Content-Type: text/enriched;
	charset=US-ASCII

Andy Robinson:


<excerpt><excerpt><excerpt>...

from types import FloatType, IntType, ListType, TupleType, \

    StringType, UnicodeType

...

class _isString(Validator):

    def test(self,x):

        return type(x) in (StringType, UnicodeType)

...

</excerpt>

Any comments on this one?

</excerpt>

We can accept this kind of patch now; we could not until

August because of 1.5.2 compatibility.  I just checked it

in.

</excerpt>

Unfortunately, that's not in 1.19 and not in CVS, either...


You-know-who'ly,


Dinu


--

Dinu C. Gherman - http://python.net/~gherman

......................................................................

"Honest disagreement is often a good sign of progress." (Gandhi) 
--Apple-Mail-2-613890121--