Message320369
| Author |
serhiy.storchaka |
| Recipients |
ncoghlan, petr.viktorin, serhiy.storchaka, taleinat |
| Date |
2018年06月24日.12:05:39 |
| SpamBayes Score |
-1.0 |
| Marked as misclassified |
Yes |
| Message-id |
<1529841939.63.0.56676864532.issue33468@psf.upfronthosting.co.za> |
| In-reply-to |
| Content |
The entirely abstract example LGTM.
As for concrete real word examples, the possible one is changing the current working directory:
cwd = os.getcwd()
try:
os.chdir(target_dir)
yield
finally:
os.chdir(cwd) |
|
History
|
|---|
| Date |
User |
Action |
Args |
| 2018年06月24日 12:05:39 | serhiy.storchaka | set | recipients:
+ serhiy.storchaka, ncoghlan, taleinat, petr.viktorin |
| 2018年06月24日 12:05:39 | serhiy.storchaka | set | messageid: <1529841939.63.0.56676864532.issue33468@psf.upfronthosting.co.za> |
| 2018年06月24日 12:05:39 | serhiy.storchaka | link | issue33468 messages |
| 2018年06月24日 12:05:39 | serhiy.storchaka | create |
|