Guilherme Polo <ggp...@gmail.com> added the comment: Thanks for taking a look, my bad for taking so long to reply.
I'm adding a new patch now. This one, besides the fix needed mentioned above, disregards tp_iter from old class instances (since they are always available and tell us nothing). Added file: http://bugs.python.org/file13037/check_before_overriding.diff _______________________________________ Python tracker <rep...@bugs.python.org> <http://bugs.python.org/issue5218> _______________________________________ _______________________________________________ Python-bugs-list mailing list Unsubscribe: http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com