• Benjamin Peterson's avatar
    Merged revisions 77402,77505,77510 via svnmerge from · 7ab4b8d3
    Benjamin Peterson yazdı
    svn+ssh://pythondev@svn.python.org/python/trunk
    
    ........
      r77402 | brett.cannon | 2010-01-09 20:56:19 -0600 (Sat, 09 Jan 2010) | 12 lines
    
      DeprecationWarning is now silent by default.
    
      This was originally suggested by Guido, discussed on the stdlib-sig mailing
      list, and given the OK by Guido directly to me. What this change essentially
      means is that Python has taken a policy of silencing warnings that are only
      of interest to developers by default. This should prevent users from seeing
      warnings which are triggered by an application being run against a new
      interpreter before the app developer has a chance to update their code.
    
      Closes issue #7319. Thanks to Antoine Pitrou, Ezio Melotti, and Brian Curtin
      for helping with the issue.
    ........
      r77505 | brett.cannon | 2010-01-14 14:00:28 -0600 (Thu, 14 Jan 2010) | 7 lines
    
      The silencing of DeprecationWarning was not taking -3 into consideration. Since
      Py3K warnings are DeprecationWarning by default this was causing -3 to
      essentially be a no-op. Now DeprecationWarning is only silenced if -3 is not
      used.
    
      Closes issue #7700. Thanks Ezio Melotti and Florent Xicluna for patch help.
    ........
      r77510 | brett.cannon | 2010-01-14 19:31:45 -0600 (Thu, 14 Jan 2010) | 1 line
    
      Remove C++/C99-style comments.
    ........
    7ab4b8d3
_warnings.c 25.9 KB