Python Newbie
jmfauth
wxjmfauth at gmail.com
Sat Feb 23 13:44:17 EST 2013
On 23 fév, 16:43, Steve Simmons <square.st... at gmail.com> wrote:
> On 22/02/2013 22:37, piterrr.dolin... at gmail.com wrote:> So far I am getting the impression
...
>
> My main message to you would be : don't approach Python with a negative
> attitude, give it a chance and I'm sure you'll come to enjoy it.
>
----
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.
jmf
More information about the Python-list
mailing list