Message248605
Will that be thread-safe? Plus storing that value in a way that _warnings and warnings can read will require something like a single-item list that can be mutated in-place.
The other option is to teach warnings to skip anything coming from importlib/_bootstrap* unless stacklevel==1 and that frame happens to be in the importlib code. |
|
Date |
User |
Action |
Args |
2015-08-14 19:31:26 | brett.cannon | set | recipients:
+ brett.cannon, barry, ncoghlan, larry, jwilk, Arfrever, njs, eric.snow, takluyver, berker.peksag, serhiy.storchaka |
2015-08-14 19:31:26 | brett.cannon | set | messageid: <1439580686.48.0.483209831849.issue24305@psf.upfronthosting.co.za> |
2015-08-14 19:31:26 | brett.cannon | link | issue24305 messages |
2015-08-14 19:31:26 | brett.cannon | create | |
|