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 serhiy.storchaka
Date 2018-04-29.08:09:37
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <1524989378.13.0.682650639539.issue33383@psf.upfronthosting.co.za>
In-reply-to
Content
Calling the get() method of the dbm.ndbm database object with only single argument causes a crash because the default value is set to NULL.

The regression was introduce in 3.5.

The proposed patch fixes the crash and add tests for the get() method for all dbm implementations.
History
Date User Action Args
2018-04-29 08:09:38serhiy.storchakasetrecipients: + serhiy.storchaka
2018-04-29 08:09:38serhiy.storchakasetmessageid: <1524989378.13.0.682650639539.issue33383@psf.upfronthosting.co.za>
2018-04-29 08:09:38serhiy.storchakalinkissue33383 messages
2018-04-29 08:09:37serhiy.storchakacreate