Message169412
| Author |
dkreuter |
| Recipients |
dkreuter |
| Date |
2012年08月29日.19:45:04 |
| SpamBayes Score |
-1.0 |
| Marked as misclassified |
Yes |
| Message-id |
<1346269515.86.0.485633003934.issue15816@psf.upfronthosting.co.za> |
| In-reply-to |
| Content |
help("compile") # this works
import __builtin__
real_import = __import__
__builtin__.__import__ = lambda *a: real_import(*a)
help("compile") # this fails
The line responsible for this is in pydoc.py around line 300:
... elif exc is ImportError and extract_tb(tb)[-1][2]=='safeimport': ... |
|
History
|
|---|
| Date |
User |
Action |
Args |
| 2012年08月29日 19:45:18 | dkreuter | set | recipients:
+ dkreuter |
| 2012年08月29日 19:45:15 | dkreuter | set | messageid: <1346269515.86.0.485633003934.issue15816@psf.upfronthosting.co.za> |
| 2012年08月29日 19:45:13 | dkreuter | link | issue15816 messages |
| 2012年08月29日 19:45:06 | dkreuter | create |
|