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 zhongxiang117
Recipients zhongxiang117
Date 2021-05-02.22:33:34
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <1619994815.29.0.724748719135.issue44013@roundup.psfhosted.org>
In-reply-to
Content
The variable of instance cannot be reused in two consecutive codes chunk combinations. Please check the difference in attached file, xtempfile.py, function: test_3 & test_4.

However, surprisingly, the problem can be fixed in test_5 and test_6.

Which may be helpful for debug: why does the value of "id(fd.name)" keep constant all the time inside those combinations?
History
Date User Action Args
2021-05-02 22:33:35zhongxiang117setrecipients: + zhongxiang117
2021-05-02 22:33:35zhongxiang117setmessageid: <1619994815.29.0.724748719135.issue44013@roundup.psfhosted.org>
2021-05-02 22:33:35zhongxiang117linkissue44013 messages
2021-05-02 22:33:35zhongxiang117create