Looks like there's a refcount leak in the date conversion somewhere.
Distilled down some more, if you change the last few lines of the script to

parameter       = command.Parameters.Item('@%s' % column.Name)
for x in xrange(10000):
    parameter.Value = datetime.datetime.now()

the total refcount increases by ~100k every time you run it.
Now that we know where it is, shouldn't be too difficult
to fix it.  I'll take a close look at the C++ date conversion
code tomorrow.

          Roger

_______________________________________________
Python-win32 mailing list
Python-win32@python.org
http://mail.python.org/mailman/listinfo/python-win32

Reply via email to