[Zope-dev] Re: Re: Re: [Checkins] SVN: Zope/branches/2.10/ OFS Image: Image and File now both support simple unicode objects for data (they function the same as strings for data).

Rocky Burt rocky at serverzen.com
Wed Jun 28 09:33:09 EDT 2006


On Wed, 2006-28-06 at 14:09 +0200, Andreas Jung wrote:
> 
> --On 28. Juni 2006 09:36:56 -0230 Rocky Burt <rocky at serverzen.com> wrote:
> > I'll still change the logic to do isinstance(data, str) rather than
> > type('') == type(data) and I'll also add the explicit check for unicode
> > and raise a ValueError if found, does this all sound ok?
> >
> 
> sounds good

Ok, all done on 2.10 branch and trunk.  But I did use a TypeError
instead of a ValueError.

- Rocky

-- 
Rocky Burt
ServerZen Software -- http://www.serverzen.com
News About The Server (blog) -- http://www.serverzen.net

-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 191 bytes
Desc: This is a digitally signed message part
Url : http://mail.zope.org/pipermail/zope-dev/attachments/20060628/85df3d87/attachment.bin


More information about the Zope-Dev mailing list