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 Arfrever, Claudiu.Popa, ncoghlan, serhiy.storchaka
Date 2013-10-31.15:13:46
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <1383232427.11.0.510120021862.issue19385@psf.upfronthosting.co.za>
In-reply-to
Content
Additional checks can slowdown the code. It doesn't matter in some operations, but not on __len__, __contains__, etc. EAFP approach is to catch AttributeError and raise appropriate dbm.dumb.error exception.
History
Date User Action Args
2013-10-31 15:13:47serhiy.storchakasetrecipients: + serhiy.storchaka, ncoghlan, Arfrever, Claudiu.Popa
2013-10-31 15:13:47serhiy.storchakasetmessageid: <1383232427.11.0.510120021862.issue19385@psf.upfronthosting.co.za>
2013-10-31 15:13:47serhiy.storchakalinkissue19385 messages
2013-10-31 15:13:46serhiy.storchakacreate