[tahoe-lafs-trac-stream] [Tahoe-LAFS] #2900: Get rid of "tempfile" monkey-patch

Tahoe-LAFS trac at tahoe-lafs.org
Thu Dec 21 05:00:00 UTC 2017


#2900: Get rid of "tempfile" monkey-patch
---------------------+---------------------------
 Reporter:  meejah   |          Owner:
     Type:  defect   |         Status:  new
 Priority:  normal   |      Milestone:  undecided
Component:  unknown  |        Version:  1.12.1
 Keywords:           |  Launchpad Bug:
---------------------+---------------------------
 `Node` is monkey-patching `tempfile.tempdir` which changes what
 `tempfile.mkdtemp` returns and messes with the unit-tests. In any case,
 this is just surprising etc for *everything* in that Python process, not
 just the intended target of `twisted.web.http`

 https://github.com/tahoe-lafs/tahoe-
 lafs/blob/master/src/allmydata/node.py#L271

--
Ticket URL: <https://tahoe-lafs.org/trac/tahoe-lafs/ticket/2900>
Tahoe-LAFS <https://Tahoe-LAFS.org>
secure decentralized storage


More information about the tahoe-lafs-trac-stream mailing list