New submission from Christian Heimes: The patch adds a new test and a new executable. The executable calls Py_Initialze() and Py_Finalize() multiple times in a row. The test also shows that Python looses about 35 references in each round.
$ ./test_reinit round 1 [7751 refs] round 2 [7797 refs] round 3 [7834 refs] round 4 [7871 refs] round 5 [7908 refs] round 6 [7945 refs] round 7 [7982 refs] round 8 [8019 refs] round 9 [8056 refs] round 10 [8093 refs] ---------- components: Build, Interpreter Core files: test_reinit.patch keywords: patch messages: 61873 nosy: tiran priority: normal severity: normal status: open title: Python reinitialization test type: rfe versions: Python 2.6, Python 3.0 Added file: http://bugs.python.org/file9334/test_reinit.patch __________________________________ Tracker <[EMAIL PROTECTED]> <http://bugs.python.org/issue1977> __________________________________ _______________________________________________ Python-bugs-list mailing list Unsubscribe: http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com