Opened at 2017-12-21T05:00:00Z
Last modified at 2020-01-17T17:01:51Z
#2900 new defect
Get rid of "tempfile" monkey-patch
| Reported by: | meejah | Owned by: | |
|---|---|---|---|
| Priority: | normal | Milestone: | undecided |
| Component: | unknown | Version: | 1.12.1 |
| Keywords: | Cc: | ||
| Launchpad Bug: |
Description
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
Note: See
TracTickets for help on using
tickets.

Duplicate of ticket:1549