Re: [Python-Dev] Print policy for deprecated modules

2012-07-22 Thread Guido van Rossum
On Sun, Jul 22, 2012 at 2:06 PM, Ezio Melotti wrote: > On Sun, Jul 22, 2012 at 12:18 PM, anatoly techtonik > wrote: >> What is a print policy for deprecated modules? "new" module is >> deprecated in 2.6, but 2.7.3 doesn't print any warnings. Is it a bug? >> python -Wd -c "import new" > > In

Re: [Python-Dev] Print policy for deprecated modules

2012-07-22 Thread Ezio Melotti
On Sun, Jul 22, 2012 at 12:18 PM, anatoly techtonik wrote: > What is a print policy for deprecated modules? "new" module is > deprecated in 2.6, but 2.7.3 doesn't print any warnings. Is it a bug? > python -Wd -c "import new" In theory this should show a warning, but for some reason it doesn't