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 methane, serhiy.storchaka, vstinner
Date 2021-03-31.14:09:41
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <1617199781.4.0.266226385257.issue43680@roundup.psfhosted.org>
In-reply-to
Content
As for dbm.dumb, it was an attempt to make _Database._commit() working at the shutdown stage (it is indirectly called from __del__()). See issue723231. Although in Python 2 __builtin__.open != io.open, and in Python 3.0 the code already uses io.open directly.

I afraid that this code is not reliable (and never was reliable), because modules os and io can be cleared before calling it, so os.unlink and io.open would not work. But this is a different issue.
History
Date User Action Args
2021-03-31 14:09:41serhiy.storchakasetrecipients: + serhiy.storchaka, vstinner, methane
2021-03-31 14:09:41serhiy.storchakasetmessageid: <1617199781.4.0.266226385257.issue43680@roundup.psfhosted.org>
2021-03-31 14:09:41serhiy.storchakalinkissue43680 messages
2021-03-31 14:09:41serhiy.storchakacreate