Message206430
| Author |
ncoghlan |
| Recipients |
brett.cannon, eric.snow, ncoghlan |
| Date |
2013年12月17日.12:48:44 |
| SpamBayes Score |
-1.0 |
| Marked as misclassified |
Yes |
| Message-id |
<1387284524.75.0.387301324749.issue19982@psf.upfronthosting.co.za> |
| In-reply-to |
| Content |
Implementing this is actually likely to require non-trivial restructuring of the runpy internals. contextlib.ExitStack may prove useful in making it easier to programmatically select amongst different context managers.
The __mp_main__ helpers in multiprocessing should also be able to take advantage of this once it is available, and it may prove useful in finally providing -m analogues for pdb etc that play nice when an exception occurs (see issue 9325). |
|
History
|
|---|
| Date |
User |
Action |
Args |
| 2013年12月17日 12:48:44 | ncoghlan | set | recipients:
+ ncoghlan, brett.cannon, eric.snow |
| 2013年12月17日 12:48:44 | ncoghlan | set | messageid: <1387284524.75.0.387301324749.issue19982@psf.upfronthosting.co.za> |
| 2013年12月17日 12:48:44 | ncoghlan | link | issue19982 messages |
| 2013年12月17日 12:48:44 | ncoghlan | create |
|