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 barry
Recipients barry, eric.araujo, jcea, loewis, ncoghlan, python-dev, sandro.tosi, skrah
Date 2011-04-07.14:32:52
SpamBayes Score 0.00068913156
Marked as misclassified No
Message-id <1302186773.88.0.355656290098.issue11715@psf.upfronthosting.co.za>
In-reply-to
Content
Stefan, thanks for the patch.  The problem is that on FreeBSD and Solaris, if the command fails, I/O redirection does not create the file, whereas on Linux and OS X it does.  So I was going to wrap the os.remove() of the temp file in a try/except.  But I like your patch better because it avoids the dpkg-architecture call in the first place on systems that don't have it, albeit at the cost of traversing $PATH.
History
Date User Action Args
2011-04-07 14:32:53barrysetrecipients: + barry, loewis, jcea, ncoghlan, eric.araujo, skrah, sandro.tosi, python-dev
2011-04-07 14:32:53barrysetmessageid: <1302186773.88.0.355656290098.issue11715@psf.upfronthosting.co.za>
2011-04-07 14:32:52barrylinkissue11715 messages
2011-04-07 14:32:52barrycreate