This issue tracker has been migrated to GitHub, and is currently read-only.
For more information, see the GitHub FAQs in the Python's Developer Guide.

Author serhiy.storchaka
Recipients kbk, roger.serwy, serhiy.storchaka, steven.daprano, terry.reedy, Árpád Kósa
Date 2015-11-23.16:57:45
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <1448297865.71.0.495032968408.issue25709@psf.upfronthosting.co.za>
In-reply-to
Content
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.'
History
Date User Action Args
2015-11-23 16:57:45serhiy.storchakasetrecipients: + serhiy.storchaka, terry.reedy, kbk, roger.serwy, steven.daprano, Árpád Kósa
2015-11-23 16:57:45serhiy.storchakasetmessageid: <1448297865.71.0.495032968408.issue25709@psf.upfronthosting.co.za>
2015-11-23 16:57:45serhiy.storchakalinkissue25709 messages
2015-11-23 16:57:45serhiy.storchakacreate