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 r.david.murray
Recipients eric.araujo, georg.brandl, pjenvey, r.david.murray
Date 2013-02-14.03:00:07
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <1360810808.43.0.121612075375.issue17198@psf.upfronthosting.co.za>
In-reply-to
Content
The code appears to be correct, but I think we need to add an explicit import for ndbm in the __init__ file.  Right now I think it is only passing the tests because the test infrastructure imports all the dbm modules, including ndbm.

(I did not realize that doing 'import X.abc' causes 'abc' to be defined in the X.__init__.py module's namespace, but of course it must once I thought about it.)

The tricky bit here is writing a test case :)
History
Date User Action Args
2013-02-14 03:00:08r.david.murraysetrecipients: + r.david.murray, georg.brandl, pjenvey, eric.araujo
2013-02-14 03:00:08r.david.murraysetmessageid: <1360810808.43.0.121612075375.issue17198@psf.upfronthosting.co.za>
2013-02-14 03:00:08r.david.murraylinkissue17198 messages
2013-02-14 03:00:07r.david.murraycreate