On Mon, Nov 8, 2010 at 10:55 AM, Dino Viehland <[email protected]> wrote: > Ahh, yeah, we should probably have a helper method in here which will convert > the string back to bytes rather than all of these casts to Bytes. It could > also be > incompatible w/ CPython in that they *might* allow bytearray objects to be > returned > too which these casts would also prevent.
I'll check what CPython allows (I presume you're still prohibited from looking at the source for it?). I have a patch that checks for strings as well, but I'm not happy with it yet. - Jeff _______________________________________________ Users mailing list [email protected] http://lists.ironpython.com/listinfo.cgi/users-ironpython.com
