Message166745
| Author |
ncoghlan |
| Recipients |
ncoghlan |
| Date |
2012年07月29日.10:46:43 |
| SpamBayes Score |
-1.0 |
| Marked as misclassified |
Yes |
| Message-id |
<1343558803.76.0.656342797945.issue15486@psf.upfronthosting.co.za> |
| In-reply-to |
| Content |
Thanks to issue #15425, the number of special cases in the importlib frame stripping is growing. This patch tweaks the frame stripping mechanism to make it easy to selectively strip frames in importlib._bootstrap by creating a _call_with_frames_removed helper function.
The rules in remove_importlib_frames then change to remove any sequence of importlib frames which ends with that helper and all importlib frames in the ImportError case. |
|
History
|
|---|
| Date |
User |
Action |
Args |
| 2012年07月29日 10:46:43 | ncoghlan | set | recipients:
+ ncoghlan |
| 2012年07月29日 10:46:43 | ncoghlan | set | messageid: <1343558803.76.0.656342797945.issue15486@psf.upfronthosting.co.za> |
| 2012年07月29日 10:46:43 | ncoghlan | link | issue15486 messages |
| 2012年07月29日 10:46:43 | ncoghlan | create |
|