gpg: failed to create temporary file '/var/lib/lurker/.#lk0x57355100.hantslug.org.uk.5080': Permission denied
gpg: keyblock resource '/var/lib/lurker/pubring.gpg': Permission denied
gpg: verify signatures failed: Unknown system error
One for the Python programmers:
Given a class:
class Foo(object):
def __init__(self):
self.value = 0
self.othervalue = 0
Is there an way I can sanely make this class behave like an
integer-with-extensions, with the value of .value?
i.e., allowing behaviours something like this:
x = Foo()
x = 4 # This one may be a bit tricky. :)
x += 3
print x - 2
Hugo.
--
=== Hugo Mills: hugo@... carfax.org.uk | darksatanic.net | lug.org.uk ===
PGP key: 515C238D from wwwkeys.eu.pgp.net or http://www.carfax.org.uk
--- If you're not part of the solution, you're part ---
of the precipiate.