Python Newbie

Ian Kelly ian.g.kelly at gmail.com
Sat Feb 23 14:13:41 EST 2013


On Sat, Feb 23, 2013 at 11:44 AM, jmfauth <wxjmfauth at gmail.com> wrote:
> Until you realize this:
>
> Py32:
>
>>>> timeit.timeit("'abc需'")
> 0.032749386495456466
>>>> sys.getsizeof('abc需')
> 42
>
> Py33:
>
>>>> timeit.timeit("'abc需'")
> 0.04104208536801017
>>>> sys.getsizeof('abc需')
> 50
>
> Very easy to explain: wrong, incorrect, naive unicode
> handling.

You've previously been asked not to hijack unrelated threads with your
misguided Unicode FUD.  Since you persist in doing so, consider your
posts now relegated to my trash folder.



More information about the Python-list mailing list