be problems with creating an individual string of multiple GB as well,
for the same reason.
Just an idea,
Mike
____
Mike C. Fletcher
Designer, VR Plumber, Coder
http://www.vrplumber.com
http://blog.vrplumber.com
list(changes(data ))
which is quite readable/elegant IMO.
Have fun,
Mike
____
Mike C. Fletcher
Designer, VR Plumber, Coder
http://www.vrplumber.com
http://blog.vrplumber.com
PyCon is coming...
--
http://mail.python.org/mailm
of the new continents when the spring arrives. It is only there that
all will be revealed. It is only there that you shall find peace.
Joy to the Python world!
Mike
Mike C. Fletcher
Designer, VR Plumber, Coder
http://www.vrplumber.com
http
Tim Peters wrote:
[Mike C. Fletcher]
I'm looking at rewriting parts of Twisted and TwistedSNMP to eliminate
__del__ methods (and the memory leaks they create).
A worthy goal!
Well, as of now it seems to have eliminated the last leaks in
TwistedSNMP, and that's likely going to
ct (close btree if
necessary)"""
self()
and we store one of these as self.close in the OIDStore instance'
dictionary.
self.close = Closer( self )
If the user explicitly calls storage.close() we don't want the __del__
trying to re-close the storage late
Alex Martelli wrote:
Mike C. Fletcher <[EMAIL PROTECTED]> wrote:
weakref.ref( self, self.close )
but the self.close reference in the instance is going away *before* the
object is called.
Uh -- what's holding on to this weakref.ref instance? I guess the
weakreference
ereabouts, so I gather there must be *some* way of
handling the problem generally. The thing is, weakref callbacks trigger
*after* the object is deconstructed, while __del__ triggers before...
must be something clever I'm missing.
Throw an old doggie a bone?
Mike
Mike C. Fletcher
Designer, VR Plumber, Coder
http://www.vrplumber.com
http://blog.vrplumber.com
--
http://mail.python.org/mailman/listinfo/python-list
Bengt Richter wrote:
On Fri, 21 Jan 2005 20:23:58 -0500, "Mike C. Fletcher" <[EMAIL PROTECTED]>
wrote:
On Thu, 20 Jan 2005 11:24:12 -, "Mark English" <[EMAIL PROTECTED]> wrote:
...
Does the BasicProperty base class effectively register itself as an
t to pick out which names match the parameters for a function in
order to pass them in to the function/method/callable object. That
said, doing this for __init__'s with attribute values from an object's
dictionary doesn't really seem like the proper way to approach the proble
x27;,'b','c'] check a, b, c, ab, ac, ba, bc, ca,
cb, abc, acb, bac, bca, cab, cba where only a, ba and cab would be
added to the dict of words. If the letters are ['?','?'] check a-z, aa,
ab, ac, ad, ..., az, ba, bb, bc, bd, ..., zz
...
=game
HTH,
Mike
________
Mike C. Fletcher
Designer, VR Plumber, Coder
http://www.vrplumber.com
http://blog.vrplumber.com
--
http://mail.python.org/mailman/listinfo/python-list
could construct a sorted list in
memory that would approximate what I *think* you're thinking of as a
dictionary-without-an-index.
Good luck,
Mike
Mike C. Fletcher
Designer, VR Plumber, Coder
http://www.vrplumber.com
http://blog.vrplumber.com
--
http://mail.python.org/mailman/listinfo/python-list
Fredrik Lundh wrote:
Mike C. Fletcher wrote:
yeah actually i saw what Fedrik had to say above. I created a sliced
copy of the l & did my homework within the for loop
You might want to check it again before you hand it in ;) ...
...
that's not the code he quoted in the
at all
(though each deletion causes a memcopy of all pointers from that element
in the list onward, that's a fairly faster operation). It's going to
avoid new memory allocation much of the time, and doesn't have the "scan
the whole list for each deletion" overhead of the "while x in list" version.
Anyway, have fun,
Mike
Mike C. Fletcher
Designer, VR Plumber, Coder
http://www.vrplumber.com
http://blog.vrplumber.com
--
http://mail.python.org/mailman/listinfo/python-list
cted results, but they are generally not going to raise
IndexErrors due to off-the-end-of-the-list operations).
Good luck,
Mike
Mike C. Fletcher
Designer, VR Plumber, Coder
http://www.vrplumber.com
http://blog.vrplumber.com
--
http://mail.python.org/mailman/listinfo/python-list
where you'd find it.
Many 3D modelers will let you create nurbs surfaces. IIRC Rhino was the
pre-eminent NURBs-focused modeler a few years ago.
Good luck,
Mike
________
Mike C. Fletcher
Designer, VR Plumber, Coder
http://www.vrplumber.com
http://b
t how to make this work across SDK versions somehow.
Thanks for the report,
Mike
Mike C. Fletcher
Designer, VR Plumber, Coder
http://www.vrplumber.com
http://blog.vrplumber.com
--
http://mail.python.org/mailman/listinfo/python-list
ow to do it?
TIA
Zunbeltz
________
Mike C. Fletcher
Designer, VR Plumber, Coder
http://www.vrplumber.com
http://blog.vrplumber.com
--
http://mail.python.org/mailman/listinfo/python-list
ude a vcvars32.bat that sets
appropriate ones) if the VS lookup failed.
Which is what the patch here:
http://www.vrplumber.com/programming/mstoolkit/
does.
Have fun,
Mike
____
Mike C. Fletcher
Designer, VR Plumber, Coder
http://www.vrplumber.com
Python.
Just an FYI,
Mike
________
Mike C. Fletcher
Designer, VR Plumber, Coder
http://www.vrplumber.com
http://blog.vrplumber.com
--
http://mail.python.org/mailman/listinfo/python-list
oing a reply-to-all to catch the mailing-list. Might want to fix that...
Mike C. Fletcher
Designer, VR Plumber, Coder
http://www.vrplumber.com
http://blog.vrplumber.com
--
http://mail.python.org/mailman/listinfo/python-list
platforms.
...
____
Mike C. Fletcher
Designer, VR Plumber, Coder
http://www.vrplumber.com
http://blog.vrplumber.com
--
http://mail.python.org/mailman/listinfo/python-list
hoping for was a toolkit that worked cross-platform
and assumed OpenGL is available, leaving me to pass it the
OpenGL context and a few other essentials, or something that
made a scene graph that I could render as I wish.
...
____
Mike C. Fletcher
Des
101 - 123 of 123 matches
Mail list logo