Issue 1051216: make distutils.core.run_setup re-entrant (original) (raw)

Created on 2004-10-21 03:40 by bob.ippolito, last changed 2022-04-11 14:56 by admin. This issue is now closed.

Files
File name Uploaded Description Edit
distutils_run_setup.patch bob.ippolito,2004-10-21 03:40 make distutils.core.run_setup re-entrant
Messages (4)
msg47106 - (view) Author: Bob Ippolito (bob.ippolito) * (Python committer) Date: 2004-10-21 03:40
run_setup does not behave as advertised if the called script also uses run_setup. This patch should make run_setup re-entrant.
msg121007 - (view) Author: Éric Araujo (eric.araujo) * (Python committer) Date: 2010-11-12 01:47
Hi Bob, thanks for the report and patch. Could you add a test for this behavior? (This is irrelevant for distutils2, where run_setup is gone.)
msg121008 - (view) Author: Éric Araujo (eric.araujo) * (Python committer) Date: 2010-11-12 01:54
To clarify my position: This does not look like a sane use case, but if the code does not behave as documented it’s a bug that should be fixed. Do you remember how you discovered the bug? On second thought, I wonder if it’s useful to fix this. Since there is a bug, are people using the function? If not, is it worth fixing, since the function is removed in distutils2?
msg153099 - (view) Author: Éric Araujo (eric.araujo) * (Python committer) Date: 2012-02-11 05:27
I’ll reopen this report if someone can provide an example that triggers the bug.
History
Date User Action Args
2022-04-11 14:56:07 admin set github: 41054
2012-02-11 05:27:45 eric.araujo set status: open -> closedresolution: wont fixmessages: + versions: + Python 3.3, - Python 3.1
2010-11-12 01:54:02 eric.araujo set messages: +
2010-11-12 01:47:45 eric.araujo set versions: + Python 3.1, Python 2.7nosy: + eric.araujomessages: + assignee: eric.araujotype: enhancement -> behavior
2010-07-10 09:49:50 BreamoreBoy set stage: test neededversions: + Python 3.2, - Python 3.1, Python 2.7
2009-02-10 17:02:53 akitada set nosy: + tarektype: enhancementversions: + Python 3.1, Python 2.7, - Python 2.4
2004-10-21 03:40:09 bob.ippolito create