Bug#807351: (no subject)
Barry Warsaw
barry at debian.org
Mon Apr 4 22:04:59 UTC 2016
I just ran across this bug too, but not until I worked out a different
patch. ;)
I'd be fine with Neil's patch, or deleting the test entirely. In the
attached, I only assert that the SystemError is raised, but not what the
exception message is.
The other change is to close a small (possibly only theoretical) hole which
could leak the temporary file. Ideally, this should probably use a
with-statement and tempfile.NamedTemporaryFile.
-------------- next part --------------
A non-text attachment was scrubbed...
Name: 807351.diff
Type: text/x-patch
Size: 1196 bytes
Desc: not available
URL: <http://lists.alioth.debian.org/pipermail/pkg-python-debian-maint/attachments/20160404/f83d12b4/attachment.bin>
More information about the pkg-python-debian-maint
mailing list