ysj.ray <ysj....@gmail.com> added the comment: Updated patch following C code review comments from http://bugs.python.org/review/9523/show
Two big changes: 1. Add check for each time assign a Py_ssize_t variable to datum.dsize(int), if value not fit, raise a ValueError(following PEP 353) 2. Simplify dbm.update(), behave more like dict.update(). ---------- Added file: http://bugs.python.org/file21738/issue_9523_4.diff _______________________________________ Python tracker <rep...@bugs.python.org> <http://bugs.python.org/issue9523> _______________________________________ _______________________________________________ Python-bugs-list mailing list Unsubscribe: http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com