Re: [Python-Dev] Restore the warning about mktemp now that DeprecationWarnings are silenced

2010-01-29 Thread Ezio Melotti
On 28/01/2010 8.39, Brett Cannon wrote: On Wed, Jan 27, 2010 at 15:54, Ezio Melottiezio.melo...@gmail.com wrote: 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

Re: [Python-Dev] Restore the warning about mktemp now that DeprecationWarnings are silenced

2010-01-29 Thread Brett Cannon
On Fri, Jan 29, 2010 at 17:37, Ezio Melotti ezio.melo...@gmail.com wrote: On 28/01/2010 8.39, Brett Cannon wrote: On Wed, Jan 27, 2010 at 15:54, Ezio Melottiezio.melo...@gmail.com  wrote: I noticed that in the py3k doc 'mktemp' is marked as deprecated since Python 2.3 [1], but the function

Re: [Python-Dev] Restore the warning about mktemp now that DeprecationWarnings are silenced

2010-01-29 Thread Martin v. Löwis
I mean port it to py3k first and then backport it from trunk to 2.6 and from py3k to 3.1. If you want to wait then it's probably enough to add a note to the ticket and I'll fix it later. I haven't followed this discussion, but I'd like to point out that the only changes allowed for 2.6 are bug

[Python-Dev] Restore the warning about mktemp now that DeprecationWarnings are silenced

2010-01-27 Thread Ezio Melotti
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

Re: [Python-Dev] Restore the warning about mktemp now that DeprecationWarnings are silenced

2010-01-27 Thread Brett Cannon
On Wed, Jan 27, 2010 at 15:54, Ezio Melotti ezio.melo...@gmail.com wrote: 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