Message251247
| Author |
serhiy.storchaka |
| Recipients |
brett.cannon, eric.snow, ncoghlan, serhiy.storchaka, vstinner |
| Date |
2015年09月21日.18:22:00 |
| SpamBayes Score |
-1.0 |
| Marked as misclassified |
Yes |
| Message-id |
<1442859720.94.0.332591501975.issue25204@psf.upfronthosting.co.za> |
| In-reply-to |
| Content |
$ ./python -Wa Lib/imp.py
sys:1: PendingDeprecationWarning: the imp module is deprecated in favour of importlib; see the module's documentation for alternative uses
"sys:1:" is output when the stacklevel argument is larger then the deep of the stack.
Following patch stops raising just below the surface.
$ ./python -Wa Lib/imp.py
Lib/imp.py:33: PendingDeprecationWarning: the imp module is deprecated in favour of importlib; see the module's documentation for alternative uses
PendingDeprecationWarning, stacklevel=2)
However I'm not sure that the current behavior is incorrect. |
|
History
|
|---|
| Date |
User |
Action |
Args |
| 2015年09月21日 18:22:01 | serhiy.storchaka | set | recipients:
+ serhiy.storchaka, brett.cannon, ncoghlan, vstinner, eric.snow |
| 2015年09月21日 18:22:00 | serhiy.storchaka | set | messageid: <1442859720.94.0.332591501975.issue25204@psf.upfronthosting.co.za> |
| 2015年09月21日 18:22:00 | serhiy.storchaka | link | issue25204 messages |
| 2015年09月21日 18:22:00 | serhiy.storchaka | create |
|