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 ke265379ke
Recipients ke265379ke, steven.daprano
Date 2020-12-25.13:31:51
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <1608903111.41.0.800279345559.issue42733@roundup.psfhosted.org>
In-reply-to
Content
hi Steven

thanks for check my post

first test have a problem,you didn’t use r+ mode
step is 
1. f.read
2. f.truncate(0)
3. f.write(something)

my test msg tell you

“
tell after delete content 33
content 0 
tell after write 65
“

so you know after truncate f.tell =33
but no content in file
and after you write something into file
msg tell you f.tell =65
but “ {"how_dare_you": "how_dare_you"}” is only 33 length 
so you know must have someing in file

please use editor open the file
you will find it
History
Date User Action Args
2020-12-25 13:31:51ke265379kesetrecipients: + ke265379ke, steven.daprano
2020-12-25 13:31:51ke265379kesetmessageid: <1608903111.41.0.800279345559.issue42733@roundup.psfhosted.org>
2020-12-25 13:31:51ke265379kelinkissue42733 messages
2020-12-25 13:31:51ke265379kecreate