Message162895
> > The point of supporting unicode would precisely be to avoid a
> > unicode->bytes conversion when unicode strings are received.
>
> A byte-wise comparison of the memory representation would work IFF both
> sides have the same type and unicode kind. Anything else could give away
> details of the content.
My proposal was to only allow them on ASCII strings. Any other unicode
kind would raise an error (perhaps NotImplementedError). |
|
Date |
User |
Action |
Args |
2012-06-15 12:53:15 | pitrou | set | recipients:
+ pitrou, loewis, ncoghlan, christian.heimes, fijall, python-dev, petri.lehtinen, hynek |
2012-06-15 12:53:15 | pitrou | link | issue15061 messages |
2012-06-15 12:53:15 | pitrou | create | |
|