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 nascheme
Recipients nascheme, vinay.sajip
Date 2010-02-08.00:06:29
SpamBayes Score 7.3724436e-06
Marked as misclassified No
Message-id <1265587590.8.0.102752265888.issue7881@psf.upfronthosting.co.za>
In-reply-to
Content
The commit for issue #7868 added the following line to test_logging:

print >> open('/tmp/tmp.txt', 'w'), type(logger)

I'm not sure if that was intentional but it should be fixed.  For one, that path does not necessarily exist.  Secondly, opening a file in a world writable directory like that is a potential security problem.  A simple fix would be to use tempfile.TemporaryFile().
History
Date User Action Args
2010-02-08 00:06:30naschemesetrecipients: + nascheme, vinay.sajip
2010-02-08 00:06:30naschemesetmessageid: <1265587590.8.0.102752265888.issue7881@psf.upfronthosting.co.za>
2010-02-08 00:06:29naschemelinkissue7881 messages
2010-02-08 00:06:29naschemecreate