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 vstinner
Recipients Michael.Felt, vstinner
Date 2019-01-04.22:42:50
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <>
Does the test pass if you open the file in read+write ("w+b") mode rather than write-only ("wb") mode?

I'm talking about this line:

open(support.TESTFN, 'wb')

Note: if you want to test, you have the modify the mode twice:
  "with open('%s', 'wb') as f:" % support.TESTFN,
  with open(support.TESTFN, 'wb') as f:
Date User Action Args
2019-01-04 22:42:51vstinnersetrecipients: + vstinner, Michael.Felt
2019-01-04 22:42:50vstinnersetmessageid: <>
2019-01-04 22:42:50vstinnerlinkissue35633 messages
2019-01-04 22:42:50vstinnercreate