Patches item #1525766, was opened at 2006-07-20 08:29 Message generated for change (Comment added) made by gbrandl You can respond by visiting: https://sourceforge.net/tracker/?func=detail&atid=305470&aid=1525766&group_id=5470
Please note that this message will contain a full copy of the comment thread, including the initial issue submission, for this request, not just the latest update. Category: Library (Lib) Group: Python 2.5 >Status: Closed >Resolution: Accepted Priority: 5 Submitted By: James Y Knight (foom) Assigned to: Nobody/Anonymous (nobody) Summary: pkgutil.walk_packages ignores onerror arg Initial Comment: pkgutil.walk_packages doesn't properly pass the onerror argument to recursive calls. Also, the docstrings are quite lacking. Finally, it doesn't pass the name of the thing it was trying to import to the onerror handler, making using the handler for error reporting a bit difficult. This patch fixes all three of those. If the change to the onerror handler signature is controversial, I can make another patch without that at least the clearly bugfix part of this can go in py2.5. ---------------------------------------------------------------------- >Comment By: Georg Brandl (gbrandl) Date: 2006-07-25 10:23 Message: Logged In: YES user_id=849994 Committed as rev. 50819. As the walk_packages function isn't documented yet, I think the argument change is fine. ---------------------------------------------------------------------- You can respond by visiting: https://sourceforge.net/tracker/?func=detail&atid=305470&aid=1525766&group_id=5470 _______________________________________________ Patches mailing list [email protected] http://mail.python.org/mailman/listinfo/patches
