Akira Kitada <akit...@gmail.com> added the comment: Yes, using a static variable there is wrong and actually I'm now working on "dbm_iterobject" just as Martin suggested.
dbm iterator should behave just like one in dict. I think I can use Objects/dictobject.c as a good example for this. Attached is minimal tests for dbm iterator. ---------- Added file: http://bugs.python.org/file13682/test_issue5736.diff _______________________________________ Python tracker <rep...@bugs.python.org> <http://bugs.python.org/issue5736> _______________________________________ _______________________________________________ Python-bugs-list mailing list Unsubscribe: http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com