Message255194
Here is reproducer without IDLE. Looks as pickle is a culprit.
>>> import pickle
>>> s = ''
>>> for i in range(5):
... s += chr(0xe0)
... print(len(s), s, s.encode(), repr(s))
... print(' ', pickle.dumps(s))
...
1 à b'\xc3\xa0' 'à'
b'\x80\x03X\x02\x00\x00\x00\xc3\xa0q\x00.'
2 àà b'\xc3\xa0\xc3\xa0' 'àà'
b'\x80\x03X\x04\x00\x00\x00\xc3\xa0\xc3\xa0q\x00.'
3 àà b'\xc3\xa0\xc3\xa0' 'ààà'
b'\x80\x03X\x04\x00\x00\x00\xc3\xa0\xc3\xa0q\x00.'
4 àà b'\xc3\xa0\xc3\xa0' 'àààà'
b'\x80\x03X\x04\x00\x00\x00\xc3\xa0\xc3\xa0q\x00.'
5 àà b'\xc3\xa0\xc3\xa0' 'ààààà'
b'\x80\x03X\x04\x00\x00\x00\xc3\xa0\xc3\xa0q\x00.' |
|
Date |
User |
Action |
Args |
2015-11-23 16:57:45 | serhiy.storchaka | set | recipients:
+ serhiy.storchaka, terry.reedy, kbk, roger.serwy, steven.daprano, Árpád Kósa |
2015-11-23 16:57:45 | serhiy.storchaka | set | messageid: <1448297865.71.0.495032968408.issue25709@psf.upfronthosting.co.za> |
2015-11-23 16:57:45 | serhiy.storchaka | link | issue25709 messages |
2015-11-23 16:57:45 | serhiy.storchaka | create | |
|