From stackless-checkins-owner at stackless.com Sat Jan 27 21:02:59 2007 From: stackless-checkins-owner at stackless.com (stackless-checkins-owner at stackless.com) Date: Sat, 27 Jan 2007 21:02:59 +0100 Subject: Stackless-checkins post from python-checkins@python.org requires approval Message-ID: As list administrator, your authorization is requested for the following mailing list posting: List: Stackless-checkins at stackless.com From: python-checkins at python.org Subject: r53588 - in stackless/branches/release24-maint: Doc/ACKS Doc/api/abstract.tex Doc/api/concrete.tex Doc/api/intro.tex Doc/api/newtypes.tex Doc/api/refcounts.dat Doc/commontex/boilerplate.tex Doc/commontex/license.tex Doc/dist/dist.tex Doc/ext/extending.tex Doc/ext/windows.tex Doc/lib/asttable.tex Doc/lib/emailmimebase.tex Doc/lib/libbsddb.tex Doc/lib/libcodecs.tex Doc/lib/libcollections.tex Doc/lib/libcsv.tex Doc/lib/libcursespanel.tex Doc/lib/libdecimal.tex Doc/lib/libdoctest.tex Doc/lib/libfuncs.tex Doc/lib/libgettext.tex Doc/lib/liblinecache.tex Doc/lib/libnew.tex Doc/lib/libos.tex Doc/lib/libpdb.tex Doc/lib/libposixpath.tex Doc/lib/libsgmllib.tex Doc/lib/libsignal.tex Doc/lib/libsocket.tex Doc/lib/libsubprocess.tex Doc/lib/libtarfile.tex Doc/lib/libthread.tex Doc/lib/libtime.tex Doc/lib/libunicodedata.tex Doc/lib/libunittest.tex Doc/lib/liburllib2.tex Doc/lib/libxmlrpclib.tex Doc/lib/libzipfile.tex Doc/lib/libzipimport.tex Doc/lib/libzlib.tex Doc/mac/scripting.te! x Doc/python-docs.txt Doc/ref/ref2.tex Doc/ref/ref3.tex Doc/ref/ref4.tex Doc/ref/ref5.tex Doc/ref/ref6.tex Doc/ref/ref7.tex Doc/ref/ref8.tex Doc/texinputs/python.sty Doc/tut/tut.tex Doc/whatsnew/whatsnew24.tex Include/object.h Include/osdefs.h Include/patchlevel.h Include/pyport.h LICENSE Lib/SimpleHTTPServer.py Lib/_threading_local.py Lib/base64.py Lib/bdb.py Lib/bsddb/__init__.py Lib/bsddb/test/test_1413192.py Lib/bsddb/test/test_all.py Lib/bsddb/test/test_basics.py Lib/bsddb/test/test_pickle.py Lib/cgi.py Lib/copy_reg.py Lib/distutils/__init__.py Lib/distutils/command/bdist_rpm.py Lib/distutils/command/register.py Lib/distutils/log.py Lib/distutils/msvccompiler.py Lib/distutils/sysconfig.py Lib/distutils/unixccompiler.py Lib/distutils/util.py Lib/doctest.py Lib/email/Message.py Lib/email/Utils.py Lib/email/__init__.py Lib/email/_parseaddr.py Lib/email/test/data/msg_44.txt Lib/email/test/test_email.py Lib/gzip.py Lib/idlelib/EditorWindow.py Lib/idlelib/NEWS.txt Lib/idleli! b/configHelpSourceEdit.py Lib/idlelib/idlever.py Lib/imputil.py Lib/inspect.py Lib/lib-tk/tkFont.py Lib/logging/__init__.py Lib/logging/config.py Lib/logging/handlers.py Lib/mimetypes.py Lib/ntpath.py Lib/optparse.py Lib/pdb.py Lib/plat-mac/applesingle.py Lib/plat-mac/argvemulator.py Lib/plat-mac/buildtools.py Lib/platform.p Reason: Message body is too big: 924921 bytes with a limit of 500 KB At your convenience, visit: http://www.stackless.com/mailman/admindb/stackless-checkins to approve or deny the request. -------------- next part -------------- An embedded message was scrubbed... From: "richard.tew" Subject: r53588 - in stackless/branches/release24-maint: Doc/ACKS Doc/api/abstract.tex Doc/api/concrete.tex Doc/api/intro.tex Doc/api/newtypes.tex Doc/api/refcounts.dat Doc/commontex/boilerplate.tex Doc/commontex/license.tex Doc/dist/dist.tex Doc/ext/extending.tex Doc/ext/windows.tex Doc/lib/asttable.tex Doc/lib/emailmimebase.tex Doc/lib/libbsddb.tex Doc/lib/libcodecs.tex Doc/lib/libcollections.tex Doc/lib/libcsv.tex Doc/lib/libcursespanel.tex Doc/lib/libdecimal.tex Doc/lib/libdoctest.tex Doc/lib/libfuncs.tex Doc/lib/libgettext.tex Doc/lib/liblinecache.tex Doc/lib/libnew.tex Doc/lib/libos.tex Doc/lib/libpdb.tex Doc/lib/libposixpath.tex Doc/lib/libsgmllib.tex Doc/lib/libsignal.tex Doc/lib/libsocket.tex Doc/lib/libsubprocess.tex Doc/lib/libtarfile.tex Doc/lib/libthread.tex Doc/lib/libtime.tex Doc/lib/libunicodedata.tex Doc/lib/libunittest.tex Doc/lib/liburllib2.tex Doc/lib/libxmlrpclib.tex Doc/lib/libzipfile.tex Doc/lib/libzipimport.tex Doc/lib/libzlib.tex Doc/mac/scripting.te! x Doc/python-docs.txt Doc/ref/ref2.tex Doc/ref/ref3.tex Doc/ref/ref4.tex Doc/ref/ref5.tex Doc/ref/ref6.tex Doc/ref/ref7.tex Doc/ref/ref8.tex Doc/texinputs/python.sty Doc/tut/tut.tex Doc/whatsnew/whatsnew24.tex Include/object.h Include/osdefs.h Include/patchlevel.h Include/pyport.h LICENSE Lib/SimpleHTTPServer.py Lib/_threading_local.py Lib/base64.py Lib/bdb.py Lib/bsddb/__init__.py Lib/bsddb/test/test_1413192.py Lib/bsddb/test/test_all.py Lib/bsddb/test/test_basics.py Lib/bsddb/test/test_pickle.py Lib/cgi.py Lib/copy_reg.py Lib/distutils/__init__.py Lib/distutils/command/bdist_rpm.py Lib/distutils/command/register.py Lib/distutils/log.py Lib/distutils/msvccompiler.py Lib/distutils/sysconfig.py Lib/distutils/unixccompiler.py Lib/distutils/util.py Lib/doctest.py Lib/email/Message.py Lib/email/Utils.py Lib/email/__init__.py Lib/email/_parseaddr.py Lib/email/test/data/msg_44.txt Lib/email/test/test_email.py Lib/gzip.py Lib/idlelib/EditorWindow.py Lib/idlelib/NEWS.txt Lib/idleli! b/configHelpSourceEdit.py Lib/idlelib/idlever.py Lib/imputil.py Lib/inspect.py Lib/lib-tk/tkFont.py Lib/logging/__init__.py Lib/logging/config.py Lib/logging/handlers.py Lib/mimetypes.py Lib/ntpath.py Lib/optparse.py Lib/pdb.py Lib/plat-mac/applesingle.py Lib/plat-mac/argvemulator.py Lib/plat-mac/buildtools.py Lib/platform.p Date: Sat, 27 Jan 2007 23:21:52 +0100 (CET) Size: 928696 Url: http://www.stackless.com/pipermail/stackless-checkins/attachments/20070127/f2f3e085/attachment.mht -------------- next part -------------- An embedded message was scrubbed... From: stackless-checkins-request at stackless.com Subject: confirm 623c95545f8b8a6ebb3e9d8adc9283da0e82eae1 Date: no date Size: 652 Url: http://www.stackless.com/pipermail/stackless-checkins/attachments/20070127/f2f3e085/attachment.eml From python-checkins at python.org Thu Jan 25 22:41:53 2007 From: python-checkins at python.org (richard.tew) Date: Thu, 25 Jan 2007 22:41:53 +0100 (CET) Subject: [Stackless-checkins] r53567 - in stackless/tags/python-2.5/Stackless: core/stacklesseval.c unittests/test_generator.py Message-ID: <20070125214153.C77DE1E400D@bag.python.org> Author: richard.tew Date: Thu Jan 25 22:41:52 2007 New Revision: 53567 Added: stackless/tags/python-2.5/Stackless/unittests/test_generator.py - copied unchanged from r53566, stackless/branches/release25-maint/Stackless/unittests/test_generator.py Modified: stackless/tags/python-2.5/Stackless/core/stacklesseval.c Log: Ported the fix to the bug Jeff Senn's generator leakage test reproduced from the release25-maint branch (r53557, r53566). http://www.stackless.com/pipermail/stackless/2006-December/002144.html Modified: stackless/tags/python-2.5/Stackless/core/stacklesseval.c ============================================================================== --- stackless/tags/python-2.5/Stackless/core/stacklesseval.c (original) +++ stackless/tags/python-2.5/Stackless/core/stacklesseval.c Thu Jan 25 22:41:52 2007 @@ -542,6 +542,7 @@ if (result == Py_None && f->f_stacktop == NULL) { Py_DECREF(result); result = NULL; + /* Set exception if not called by gen_iternext() */ if (arg) PyErr_SetNone(PyExc_StopIteration); /* Stackless extra handling */ @@ -553,13 +554,18 @@ } } + /* We hold references to things in the cframe, if we release it + before we clear the references, they get incorrectly and + prematurely free. */ + cf->ob1 = NULL; + cf->ob2 = NULL; + if (!result || f->f_stacktop == NULL) { /* generator can't be rerun, so release the frame */ + Py_DECREF(f); gen->gi_frame = NULL; } - cf->ob1 = NULL; - cf->ob2 = NULL; Py_DECREF(gen); Py_XDECREF(arg); return result; _______________________________________________ Stackless-checkins mailing list Stackless-checkins at stackless.com http://www.stackless.com/mailman/listinfo/stackless-checkins From python-checkins at python.org Sat Jan 27 22:59:02 2007 From: python-checkins at python.org (richard.tew) Date: Sat, 27 Jan 2007 22:59:02 +0100 (CET) Subject: [Stackless-checkins] r53586 - stackless/tags/python-2.43 Message-ID: <20070127215902.9AB6E1E4008@bag.python.org> Author: richard.tew Date: Sat Jan 27 22:59:02 2007 New Revision: 53586 Added: stackless/tags/python-2.43/ - copied from r53585, stackless/branches/release24-maint/ Log: Tagging the Stackless version of Python 2.43 _______________________________________________ Stackless-checkins mailing list Stackless-checkins at stackless.com http://www.stackless.com/mailman/listinfo/stackless-checkins From python-checkins at python.org Sat Jan 27 21:16:38 2007 From: python-checkins at python.org (richard.tew) Date: Sat, 27 Jan 2007 21:16:38 +0100 (CET) Subject: [Stackless-checkins] r53581 - stackless/branches/release24-maint Message-ID: <20070127201638.DF53C1E4008@bag.python.org> Author: richard.tew Date: Sat Jan 27 21:16:37 2007 New Revision: 53581 Added: stackless/branches/release24-maint/ - copied from r53580, stackless/Python-2.4.3/dev/ Log: Getting ready to merge in the differences between Python 2.4.3 and Python 2.4.4 _______________________________________________ Stackless-checkins mailing list Stackless-checkins at stackless.com http://www.stackless.com/mailman/listinfo/stackless-checkins From stackless-checkins-bounces at stackless.com Sat Jan 27 21:02:59 2007 From: stackless-checkins-bounces at stackless.com (stackless-checkins-bounces at stackless.com) Date: Sat, 27 Jan 2007 21:02:59 +0100 Subject: [Python-checkins] Your message to Stackless-checkins awaits moderator approval Message-ID: Your mail to 'Stackless-checkins' with the subject r53588 - in stackless/branches/release24-maint: Doc/ACKS Doc/api/abstract.tex Doc/api/concrete.tex Doc/api/intro.tex Doc/api/newtypes.tex Doc/api/refcounts.dat Doc/commontex/boilerplate.tex Doc/commontex/license.tex Doc/dist/dist.tex Doc/ext/extending.tex Doc/ext/windows.tex Doc/lib/asttable.tex Doc/lib/emailmimebase.tex Doc/lib/libbsddb.tex Doc/lib/libcodecs.tex Doc/lib/libcollections.tex Doc/lib/libcsv.tex Doc/lib/libcursespanel.tex Doc/lib/libdecimal.tex Doc/lib/libdoctest.tex Doc/lib/libfuncs.tex Doc/lib/libgettext.tex Doc/lib/liblinecache.tex Doc/lib/libnew.tex Doc/lib/libos.tex Doc/lib/libpdb.tex Doc/lib/libposixpath.tex Doc/lib/libsgmllib.tex Doc/lib/libsignal.tex Doc/lib/libsocket.tex Doc/lib/libsubprocess.tex Doc/lib/libtarfile.tex Doc/lib/libthread.tex Doc/lib/libtime.tex Doc/lib/libunicodedata.tex Doc/lib/libunittest.tex Doc/lib/liburllib2.tex Doc/lib/libxmlrpclib.tex Doc/lib/libzipfile.tex Doc/lib/libzipimport.tex Doc/lib/libzlib.tex Doc/mac/scripting.te! x Doc/python-docs.txt Doc/ref/ref2.tex Doc/ref/ref3.tex Doc/ref/ref4.tex Doc/ref/ref5.tex Doc/ref/ref6.tex Doc/ref/ref7.tex Doc/ref/ref8.tex Doc/texinputs/python.sty Doc/tut/tut.tex Doc/whatsnew/whatsnew24.tex Include/object.h Include/osdefs.h Include/patchlevel.h Include/pyport.h LICENSE Lib/SimpleHTTPServer.py Lib/_threading_local.py Lib/base64.py Lib/bdb.py Lib/bsddb/__init__.py Lib/bsddb/test/test_1413192.py Lib/bsddb/test/test_all.py Lib/bsddb/test/test_basics.py Lib/bsddb/test/test_pickle.py Lib/cgi.py Lib/copy_reg.py Lib/distutils/__init__.py Lib/distutils/command/bdist_rpm.py Lib/distutils/command/register.py Lib/distutils/log.py Lib/distutils/msvccompiler.py Lib/distutils/sysconfig.py Lib/distutils/unixccompiler.py Lib/distutils/util.py Lib/doctest.py Lib/email/Message.py Lib/email/Utils.py Lib/email/__init__.py Lib/email/_parseaddr.py Lib/email/test/data/msg_44.txt Lib/email/test/test_email.py Lib/gzip.py Lib/idlelib/EditorWindow.py Lib/idlelib/NEWS.txt Lib/idleli! b/configHelpSourceEdit.py Lib/idlelib/idlever.py Lib/imputil.py Lib/inspect.py Lib/lib-tk/tkFont.py Lib/logging/__init__.py Lib/logging/config.py Lib/logging/handlers.py Lib/mimetypes.py Lib/ntpath.py Lib/optparse.py Lib/pdb.py Lib/plat-mac/applesingle.py Lib/plat-mac/argvemulator.py Lib/plat-mac/buildtools.py Lib/platform.p Is being held until the list moderator can review it for approval. The reason it is being held: Message body is too big: 924921 bytes with a limit of 500 KB Either the message will get posted to the list, or you will receive notification of the moderator's decision. If you would like to cancel this posting, please visit the following URL: http://www.stackless.com/mailman/confirm/stackless-checkins/623c95545f8b8a6ebb3e9d8adc9283da0e82eae1 _______________________________________________ Python-checkins mailing list Python-checkins at python.org http://mail.python.org/mailman/listinfo/python-checkins From python-checkins at python.org Thu Jan 25 19:52:17 2007 From: python-checkins at python.org (richard.tew) Date: Thu, 25 Jan 2007 19:52:17 +0100 (CET) Subject: [Stackless-checkins] r53557 - in stackless/branches/release25-maint/Stackless: core/stacklesseval.c unittests/test_generator.py Message-ID: <20070125185217.DCAF51E4004@bag.python.org> Author: richard.tew Date: Thu Jan 25 19:52:17 2007 New Revision: 53557 Added: stackless/branches/release25-maint/Stackless/unittests/test_generator.py (contents, props changed) Modified: stackless/branches/release25-maint/Stackless/core/stacklesseval.c Log: Added Jeff Senn's generator leakage test and a fix for the bug it reproduced. http://www.stackless.com/pipermail/stackless/2006-December/002144.html Modified: stackless/branches/release25-maint/Stackless/core/stacklesseval.c ============================================================================== --- stackless/branches/release25-maint/Stackless/core/stacklesseval.c (original) +++ stackless/branches/release25-maint/Stackless/core/stacklesseval.c Thu Jan 25 19:52:17 2007 @@ -555,6 +555,7 @@ if (!result || f->f_stacktop == NULL) { /* generator can't be rerun, so release the frame */ + Py_DECREF(f); gen->gi_frame = NULL; } Added: stackless/branches/release25-maint/Stackless/unittests/test_generator.py ============================================================================== --- (empty file) +++ stackless/branches/release25-maint/Stackless/unittests/test_generator.py Thu Jan 25 19:52:17 2007 @@ -0,0 +1,24 @@ +import unittest +import gc + +def f(): yield 1 + +class TestGarbageCollection(unittest.TestCase): + def testSimpleLeakage(self): + leakage = [] + + gc.collect(2) + before = gc.get_objects() + + for i in f(): + pass + + gc.collect(2) + after = gc.get_objects() + + for x in after: + if x is not before and x is not after and x not in before: + leakage.append(x) + + if len(leakage): + self.failUnless(len(leakage) == 0, "Leaked %s" % repr(leakage)) _______________________________________________ Stackless-checkins mailing list Stackless-checkins at stackless.com http://www.stackless.com/mailman/listinfo/stackless-checkins From python-checkins at python.org Thu Jan 25 22:44:28 2007 From: python-checkins at python.org (richard.tew) Date: Thu, 25 Jan 2007 22:44:28 +0100 (CET) Subject: [Stackless-checkins] r53568 - in stackless/trunk/Stackless: core/stacklesseval.c unittests/test_generator.py Message-ID: <20070125214428.C252B1E4004@bag.python.org> Author: richard.tew Date: Thu Jan 25 22:44:28 2007 New Revision: 53568 Added: stackless/trunk/Stackless/unittests/test_generator.py - copied unchanged from r53566, stackless/branches/release25-maint/Stackless/unittests/test_generator.py Modified: stackless/trunk/Stackless/core/stacklesseval.c Log: Ported the fix to the bug Jeff Senn's generator leakage test reproduced from the release25-maint branch (r53557, r53566). http://www.stackless.com/pipermail/stackless/2006-December/002144.html Modified: stackless/trunk/Stackless/core/stacklesseval.c ============================================================================== --- stackless/trunk/Stackless/core/stacklesseval.c (original) +++ stackless/trunk/Stackless/core/stacklesseval.c Thu Jan 25 22:44:28 2007 @@ -542,6 +542,7 @@ if (result == Py_None && f->f_stacktop == NULL) { Py_DECREF(result); result = NULL; + /* Set exception if not called by gen_iternext() */ if (arg) PyErr_SetNone(PyExc_StopIteration); /* Stackless extra handling */ @@ -553,13 +554,18 @@ } } + /* We hold references to things in the cframe, if we release it + before we clear the references, they get incorrectly and + prematurely free. */ + cf->ob1 = NULL; + cf->ob2 = NULL; + if (!result || f->f_stacktop == NULL) { /* generator can't be rerun, so release the frame */ + Py_DECREF(f); gen->gi_frame = NULL; } - cf->ob1 = NULL; - cf->ob2 = NULL; Py_DECREF(gen); Py_XDECREF(arg); return result; _______________________________________________ Stackless-checkins mailing list Stackless-checkins at stackless.com http://www.stackless.com/mailman/listinfo/stackless-checkins From python-checkins at python.org Thu Jan 25 22:24:18 2007 From: python-checkins at python.org (richard.tew) Date: Thu, 25 Jan 2007 22:24:18 +0100 (CET) Subject: [Stackless-checkins] r53566 - stackless/branches/release25-maint/Stackless/core/stacklesseval.c Message-ID: <20070125212418.845221E4004@bag.python.org> Author: richard.tew Date: Thu Jan 25 22:24:17 2007 New Revision: 53566 Modified: stackless/branches/release25-maint/Stackless/core/stacklesseval.c Log: Refixed the bug Jeff Senn's generator leakage test reproduced. http://www.stackless.com/pipermail/stackless/2006-December/002144.html Modified: stackless/branches/release25-maint/Stackless/core/stacklesseval.c ============================================================================== --- stackless/branches/release25-maint/Stackless/core/stacklesseval.c (original) +++ stackless/branches/release25-maint/Stackless/core/stacklesseval.c Thu Jan 25 22:24:17 2007 @@ -542,6 +542,7 @@ if (result == Py_None && f->f_stacktop == NULL) { Py_DECREF(result); result = NULL; + /* Set exception if not called by gen_iternext() */ if (arg) PyErr_SetNone(PyExc_StopIteration); /* Stackless extra handling */ @@ -553,14 +554,18 @@ } } + /* We hold references to things in the cframe, if we release it + before we clear the references, they get incorrectly and + prematurely free. */ + cf->ob1 = NULL; + cf->ob2 = NULL; + if (!result || f->f_stacktop == NULL) { /* generator can't be rerun, so release the frame */ Py_DECREF(f); gen->gi_frame = NULL; } - cf->ob1 = NULL; - cf->ob2 = NULL; Py_DECREF(gen); Py_XDECREF(arg); return result; _______________________________________________ Stackless-checkins mailing list Stackless-checkins at stackless.com http://www.stackless.com/mailman/listinfo/stackless-checkins From python-checkins at python.org Mon Jan 29 21:51:50 2007 From: python-checkins at python.org (richard.tew) Date: Mon, 29 Jan 2007 21:51:50 +0100 (CET) Subject: [Stackless-checkins] r53595 - stackless/tags/python-2.44 Message-ID: <20070129205150.AC1CF1E4009@bag.python.org> Author: richard.tew Date: Mon Jan 29 21:51:50 2007 New Revision: 53595 Added: stackless/tags/python-2.44/ - copied from r53594, stackless/branches/release24-maint/ Log: Tagged Python 2.44 from the release24-maint branch. _______________________________________________ Stackless-checkins mailing list Stackless-checkins at stackless.com http://www.stackless.com/mailman/listinfo/stackless-checkins