[tahoe-lafs-trac-stream] [tahoe-lafs] #1830: Upload (sometimes?) ignores shares.happy in tahoe.cfg
tahoe-lafs
trac at tahoe-lafs.org
Sat May 11 00:23:10 UTC 2013
#1830: Upload (sometimes?) ignores shares.happy in tahoe.cfg
-------------------------+-------------------------------------------------
Reporter: | Owner: kmarkley86
davidsarah | Status: new
Type: defect | Milestone: 1.11.0
Priority: | Version: 1.8.1
critical | Keywords: regression upload servers-of-
Component: code- | happiness
encoding |
Resolution: |
Launchpad Bug: |
-------------------------+-------------------------------------------------
Comment (by daira):
No, the proposed cleanup on #1847 does not affect the behaviour:
{{{
>>> class Foo(object):
... DEP = {1:2}
... def __init__(self, x):
... self.DEP = self.DEP.copy()
... self.DEP[x] = 42
... print Foo.DEP, self.DEP
...
>>> Foo(3)
{1: 2} {1: 2, 3: 42}
<__main__.Foo object at 0x7f638528bd10>
>>> Foo(1)
{1: 2} {1: 42}
<__main__.Foo object at 0x7f638528bb50>
}}}
as expected. That is, modifying {{{self.DEP}}} does not affect the
shadowed {{{Foo.DEP}}}, and there's nothing else that the proposed change
on #1847 would fix.
--
Ticket URL: <https://tahoe-lafs.org/trac/tahoe-lafs/ticket/1830#comment:5>
tahoe-lafs <https://tahoe-lafs.org>
secure decentralized storage
More information about the tahoe-lafs-trac-stream
mailing list