Message139571
TemporaryDirectory.cleanup follows symbolic links to directories and tries to clean them as well. Try this (on Linux):
import os, tempfile
with tempfile.TemporaryDirectory() as d:
os.symlink("/proc", d + "/test") |
|
Date |
User |
Action |
Args |
2011-07-01 12:30:46 | abacabadabacaba | set | recipients:
+ abacabadabacaba |
2011-07-01 12:30:45 | abacabadabacaba | set | messageid: <1309523445.96.0.359988980171.issue12464@psf.upfronthosting.co.za> |
2011-07-01 12:30:45 | abacabadabacaba | link | issue12464 messages |
2011-07-01 12:30:45 | abacabadabacaba | create | |
|