This issue tracker has been migrated to GitHub, and is currently read-only.
For more information, see the GitHub FAQs in the Python's Developer Guide.

Author mgorny
Recipients eric.araujo, mgorny, tarek
Date 2013-01-06.12:44:36
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <>
The distutils.command.config module reads:

    def _gen_temp_sourcefile(self, body, headers, lang):
        filename = "_configtest" + LANG_EXT[lang]

which means that every time one of the functions is used, a temporary file with the same name will be created. This is really fragile and fails terribly whenever more than one process tries to use the relevant functions in the same working directory.

I believe this code should use the tempfile module to generate unique temporary files names instead.
Date User Action Args
2013-01-06 12:44:37mgornysetrecipients: + mgorny, tarek, eric.araujo
2013-01-06 12:44:37mgornysetmessageid: <>
2013-01-06 12:44:37mgornylinkissue16879 messages
2013-01-06 12:44:36mgornycreate