Author dkg
Recipients dkg
Date 2017-03-02.19:13:29
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <1488482009.61.0.754714461968.issue29699@psf.upfronthosting.co.za>
In-reply-to
Content
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'
History
Date User Action Args
2017-03-02 19:13:29dkgsetrecipients: + dkg
2017-03-02 19:13:29dkgsetmessageid: <1488482009.61.0.754714461968.issue29699@psf.upfronthosting.co.za>
2017-03-02 19:13:29dkglinkissue29699 messages
2017-03-02 19:13:29dkgcreate