[svn.haxx.se] · SVN Dev · SVN Users · SVN Org · TSVN Dev · TSVN Users · Subclipse Dev · Subclipse Users · this month's index

Re: Python RunTime warning

From: <kfogel_at_collab.net>
Date: 2005-06-27 15:47:08 CEST

Philip Martin <philip@codematters.co.uk> writes:
> I added a new test in r15167 and it causes this warning
> RuntimeWarning: tempnam is a potential security risk to your program
> What I want to know is why doesn't the same code in externals_tests.py
> cause the same warning?

externals_tests.py has "import warnings" near the top, then this near
the bottom:

   if __name__ == '__main__':
     warnings.filterwarnings('ignore', 'tempnam', RuntimeWarning)

I'm guessing that's why there's a difference :-).

To unsubscribe, e-mail: dev-unsubscribe@subversion.tigris.org
For additional commands, e-mail: dev-help@subversion.tigris.org
Received on Mon Jun 27 16:33:17 2005

This is an archived mail posted to the Subversion Dev mailing list.

This site is subject to the Apache Privacy Policy and the Apache Public Forum Archive Policy.