I noticed that in the py3k doc 'mktemp' is marked as deprecated since
Python 2.3 [1], but the function is still there and doesn't raise any
warning. Looking at the source I found out that there is a warning, but
it is commented out [2], the reason being because they are "too annoying".
There was already a discussion about this on python-dev [3], but now
that the DeprecationWarnings are silenced by default [4] the warning
could be restored.
If the comment can be removed I will fix it in trunk/py3k and possibly
in 2.6/3.1 too, if #7319 will be backported.
(Brett, are you planning to backport it?)
Regards,
Ezio
[1]: http://docs.python.org/dev/py3k/library/tempfile.html
[2]: http://svn.python.org/view?view=rev&revision=29829
[3]: http://mail.python.org/pipermail/python-dev/2008-May/079163.html
[4]: http://bugs.python.org/issue7319
_______________________________________________
Python-Dev mailing list
Python-Dev@python.org
http://mail.python.org/mailman/listinfo/python-dev
Unsubscribe:
http://mail.python.org/mailman/options/python-dev/archive%40mail-archive.com