Basically I have an existing (maybe a rather large and complicated
(existing) instance) that
I want to add new member to.
Cheers
N
Hacks/attempts follow:
from math import sqrt
try2
duck_obj = [ i*i for i in range(25) ] # OR a large sparse matrix
# I "want" to an a use
What do I need to add to HTMLDecorator?
A simpler example:
import cgi
class ClassX(object):
pass # ... with own __repr__
class ClassY(object):
pass # ... with own __repr__
inst_x=ClassX()
inst_y=ClassY()
inst_z=[ i*i for i in range(25) ]
inst_b=True
class HTMLDecorator(object):
def
On Oct 11, 11:46 am, Lawrence D'Oliveiro wrote:
> Nowadays we take it for granted that the core language should be a strong
> and compact basis to build on, rather than providing lots of built-in
> features, and all the rest should come from run-time libraries.
Fast forward to 1972...
In 1972 Bri