Nick Coghlan added the comment: Looking at the actual code - I don't think it actually makes sense to strip the frames in this case. Unlike the previous examples, it only comes up if someone is doing something deliberately pathological, at which point a little noise in the traceback is the least of your worries.
Updated patch just drops that test case entirely and only has the changes that simplify the frame removal code. Since Georg isn't on IRC right now, assigning him to decide if he wants this version in beta 2 rather than the current "multiple exit points" approach. ---------- assignee: -> georg.brandl Added file: http://bugs.python.org/file26597/issue15486_simplify_importlib_frame_removal_no_new_test.diff _______________________________________ Python tracker <rep...@bugs.python.org> <http://bugs.python.org/issue15486> _______________________________________ _______________________________________________ Python-bugs-list mailing list Unsubscribe: http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com