On Wed, 2006-28-06 at 14:09 +0200, Andreas Jung wrote: > > --On 28. Juni 2006 09:36:56 -0230 Rocky Burt <[EMAIL PROTECTED]> 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
signature.asc
Description: This is a digitally signed message part
_______________________________________________ Zope-Dev maillist - Zope-Dev@zope.org http://mail.zope.org/mailman/listinfo/zope-dev ** No cross posts or HTML encoding! ** (Related lists - http://mail.zope.org/mailman/listinfo/zope-announce http://mail.zope.org/mailman/listinfo/zope )