28 Jun
2006
28 Jun
'06
12:01 p.m.
--On 28. Juni 2006 13:56:58 +0200 Florent Guillaume <fg@nuxeo.com> wrote:
Has this change been discussed? I don't agree with it. Unicode strings aren't byte strings. File and Image should only work with byte strings. Code dealing with them should always know and assume that they use str. Anything using unicode with them is broken or has done insufficient input validation.
I agree. This checkin must be reverted. In fact one raise a ValueError in case the data is a unicode string. -aj