title: Compilation warning in Python
body: <p>when a python file is compiled in linux machine the following warning is seen
  but the same file compiled in Solaris machine, warning is not seen</p>
  
  <pre><code>/opt/swe/tools/ext/gnu/python-2.3.5_p1/i686-linux2.4/lib/python2.3/config/libpython2.3.a(posixmodule.o)(.text+0x3e9a): In function `posix_tmpnam':
  ./Modules/posixmodule.c:6138: warning: the use of `tmpnam_r' is dangerous, better use `mkstemp'
  /opt/swe/tools/ext/gnu/python-2.3.5_p1/i686-linux2.4/lib/python2.3/config/libpython2.3.a(posixmodule.o)(.text+0x3de9): In function `posix_tempnam':
  ./Modules/posixmodule.c:6093: warning: the use of `tempnam' is dangerous, better use `mkstemp'
  </code></pre>
  
  <p>Not able to resolve the above warning snippet</p>
  
  <p>can any one help</p>