Message288823
and here is python demonstration script that will build breaker.c and then use it to cause the error to be raised from shutils.rmtree.
the output of demo.py looks like this:
make: 'breaker' is up to date.
Traceback (most recent call last):
File "./demo.py", line 14, in <module>
shutil.rmtree('xx')
File "/usr/lib/python3.5/shutil.py", line 480, in rmtree
_rmtree_safe_fd(fd, path, onerror)
File "/usr/lib/python3.5/shutil.py", line 438, in _rmtree_safe_fd
onerror(os.unlink, fullname, sys.exc_info())
File "/usr/lib/python3.5/shutil.py", line 436, in _rmtree_safe_fd
os.unlink(name, dir_fd=topfd)
FileNotFoundError: [Errno 2] No such file or directory: 'b' |
|
Date |
User |
Action |
Args |
2017-03-02 19:13:29 | dkg | set | recipients:
+ dkg |
2017-03-02 19:13:29 | dkg | set | messageid: <1488482009.61.0.754714461968.issue29699@psf.upfronthosting.co.za> |
2017-03-02 19:13:29 | dkg | link | issue29699 messages |
2017-03-02 19:13:29 | dkg | create | |
|