1. 26 May, 2016 1 kayıt (commit)
  2. 05 Nis, 2016 1 kayıt (commit)
  3. 24 Mar, 2016 1 kayıt (commit)
  4. 22 Mar, 2016 1 kayıt (commit)
    • Victor Stinner's avatar
      Add a source parameter to warnings.warn() · e19558af
      Victor Stinner yazdı
      Issue #26604:
      
      * Add a new optional source parameter to _warnings.warn() and warnings.warn()
      * Modify asyncore, asyncio and _pyio modules to set the source parameter when
        logging a ResourceWarning warning
      e19558af
  5. 19 Mar, 2016 2 kayıt (commit)
  6. 18 Mar, 2016 1 kayıt (commit)
    • Victor Stinner's avatar
      Add _showwarnmsg() and _formatwarnmsg() to warnings · 1231a461
      Victor Stinner yazdı
      Issue #26568: add new  _showwarnmsg() and _formatwarnmsg() functions to the
      warnings module.
      
      The C function warn_explicit() now calls warnings._showwarnmsg() with a
      warnings.WarningMessage as parameter, instead of calling warnings.showwarning()
      with multiple parameters.
      
      _showwarnmsg() calls warnings.showwarning() if warnings.showwarning() was
      replaced. Same for _formatwarnmsg(): call warnings.formatwarning() if it was
      replaced.
      1231a461
  7. 06 Eyl, 2015 1 kayıt (commit)
  8. 13 Nis, 2015 1 kayıt (commit)
    • Brett Cannon's avatar
      Issue #23731: Implement PEP 488. · f299abda
      Brett Cannon yazdı
      The concept of .pyo files no longer exists. Now .pyc files have an
      optional `opt-` tag which specifies if any extra optimizations beyond
      the peepholer were applied.
      f299abda
  9. 14 Ara, 2014 1 kayıt (commit)
  10. 10 Ara, 2014 1 kayıt (commit)
  11. 18 Eyl, 2014 1 kayıt (commit)
  12. 22 Agu, 2014 1 kayıt (commit)
  13. 11 Tem, 2014 1 kayıt (commit)
  14. 24 Eki, 2013 1 kayıt (commit)
  15. 04 Tem, 2013 1 kayıt (commit)
  16. 14 Haz, 2013 1 kayıt (commit)
  17. 25 Ara, 2012 1 kayıt (commit)
  18. 28 Eki, 2011 1 kayıt (commit)
  19. 24 Eki, 2010 1 kayıt (commit)
  20. 04 Eyl, 2010 1 kayıt (commit)
    • Brett Cannon's avatar
      _warnings exposed two variables with the name 'default_action' and · ef0e6c3b
      Brett Cannon yazdı
      'once_registry'. This is bad as the warnings module had variables named
      'defaultaction' and 'onceregistry' which are what people should be looking at
      (technically those variables shouldn't be mucked with as they are undocumented,
      but we all know better than to believe that isn't happening). So the variables
      from _warnings have been renamed to come off as private and to avoid confusion
      over what variable should be used.
      
      Closes issue #9766. Thanks to Antoine Pitrou for the discovery.
      ef0e6c3b
  21. 02 Agu, 2010 1 kayıt (commit)
  22. 28 Haz, 2010 1 kayıt (commit)
    • 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
  23. 25 Nis, 2010 1 kayıt (commit)
  24. 07 Mar, 2010 1 kayıt (commit)
  25. 14 Ock, 2010 1 kayıt (commit)
  26. 10 Ock, 2010 1 kayıt (commit)
    • Brett Cannon's avatar
      DeprecationWarning is now silent by default. · 6fdd3dcb
      Brett Cannon yazdı
      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.
      6fdd3dcb
  27. 27 Eki, 2009 2 kayıt (commit)
    • Georg Brandl's avatar
      Merged revisions 75797 via svnmerge from · 628e6f90
      Georg Brandl yazdı
      svn+ssh://svn.python.org/python/branches/py3k
      
      ................
        r75797 | georg.brandl | 2009-10-27 16:28:25 +0100 (Di, 27 Okt 2009) | 129 lines
      
        Merged revisions 75365,75394,75402-75403,75418,75459,75484,75592-75596,75600,75602-75607,75610-75613,75616-75617,75623,75627,75640,75647,75696,75795 via svnmerge from
        svn+ssh://pythondev@svn.python.org/python/trunk
      
        ........
          r75365 | georg.brandl | 2009-10-11 22:16:16 +0200 (So, 11 Okt 2009) | 1 line
      
          Fix broken links found by "make linkcheck".  scipy.org seems to be done right now, so I could not verify links going there.
        ........
          r75394 | georg.brandl | 2009-10-13 20:10:59 +0200 (Di, 13 Okt 2009) | 1 line
      
          Fix markup.
        ........
          r75402 | georg.brandl | 2009-10-14 17:51:48 +0200 (Mi, 14 Okt 2009) | 1 line
      
          #7125: fix typo.
        ........
          r75403 | georg.brandl | 2009-10-14 17:57:46 +0200 (Mi, 14 Okt 2009) | 1 line
      
          #7126: os.environ changes *do* take effect in subprocesses started with os.system().
        ........
          r75418 | georg.brandl | 2009-10-14 20:48:32 +0200 (Mi, 14 Okt 2009) | 1 line
      
          #7116: str.join() takes an iterable.
        ........
          r75459 | georg.brandl | 2009-10-17 10:57:43 +0200 (Sa, 17 Okt 2009) | 1 line
      
          Fix refleaks in _ctypes PyCSimpleType_New, which fixes the refleak seen in test___all__.
        ........
          r75484 | georg.brandl | 2009-10-18 09:58:12 +0200 (So, 18 Okt 2009) | 1 line
      
          Fix missing word.
        ........
          r75592 | georg.brandl | 2009-10-22 09:05:48 +0200 (Do, 22 Okt 2009) | 1 line
      
          Fix punctuation.
        ........
          r75593 | georg.brandl | 2009-10-22 09:06:49 +0200 (Do, 22 Okt 2009) | 1 line
      
          Revert unintended change.
        ........
          r75594 | georg.brandl | 2009-10-22 09:56:02 +0200 (Do, 22 Okt 2009) | 1 line
      
          Fix markup.
        ........
          r75595 | georg.brandl | 2009-10-22 09:56:56 +0200 (Do, 22 Okt 2009) | 1 line
      
          Fix duplicate target.
        ........
          r75596 | georg.brandl | 2009-10-22 10:05:04 +0200 (Do, 22 Okt 2009) | 1 line
      
          Add a new directive marking up implementation details and start using it.
        ........
          r75600 | georg.brandl | 2009-10-22 13:01:46 +0200 (Do, 22 Okt 2009) | 1 line
      
          Make it more robust.
        ........
          r75602 | georg.brandl | 2009-10-22 13:28:06 +0200 (Do, 22 Okt 2009) | 1 line
      
          Document new directive.
        ........
          r75603 | georg.brandl | 2009-10-22 13:28:23 +0200 (Do, 22 Okt 2009) | 1 line
      
          Allow short form with text as argument.
        ........
          r75604 | georg.brandl | 2009-10-22 13:36:50 +0200 (Do, 22 Okt 2009) | 1 line
      
          Fix stylesheet for multi-paragraph impl-details.
        ........
          r75605 | georg.brandl | 2009-10-22 13:48:10 +0200 (Do, 22 Okt 2009) | 1 line
      
          Use "impl-detail" directive where applicable.
        ........
          r75606 | georg.brandl | 2009-10-22 17:00:06 +0200 (Do, 22 Okt 2009) | 1 line
      
          #6324: membership test tries iteration via __iter__.
        ........
          r75607 | georg.brandl | 2009-10-22 17:04:09 +0200 (Do, 22 Okt 2009) | 1 line
      
          #7088: document new functions in signal as Unix-only.
        ........
          r75610 | georg.brandl | 2009-10-22 17:27:24 +0200 (Do, 22 Okt 2009) | 1 line
      
          Reorder __slots__ fine print and add a clarification.
        ........
          r75611 | georg.brandl | 2009-10-22 17:42:32 +0200 (Do, 22 Okt 2009) | 1 line
      
          #7035: improve docs of the various <method>_errors() functions, and give them docstrings.
        ........
          r75612 | georg.brandl | 2009-10-22 17:52:15 +0200 (Do, 22 Okt 2009) | 1 line
      
          #7156: document curses as Unix-only.
        ........
          r75613 | georg.brandl | 2009-10-22 17:54:35 +0200 (Do, 22 Okt 2009) | 1 line
      
          #6977: getopt does not support optional option arguments.
        ........
          r75616 | georg.brandl | 2009-10-22 18:17:05 +0200 (Do, 22 Okt 2009) | 1 line
      
          Add proper references.
        ........
          r75617 | georg.brandl | 2009-10-22 18:20:55 +0200 (Do, 22 Okt 2009) | 1 line
      
          Make printout margin important.
        ........
          r75623 | georg.brandl | 2009-10-23 10:14:44 +0200 (Fr, 23 Okt 2009) | 1 line
      
          #7188: fix optionxform() docs.
        ........
          r75627 | fred.drake | 2009-10-23 15:04:51 +0200 (Fr, 23 Okt 2009) | 2 lines
      
          add further note about what's passed to optionxform
        ........
          r75640 | neil.schemenauer | 2009-10-23 21:58:17 +0200 (Fr, 23 Okt 2009) | 2 lines
      
          Improve some docstrings in the 'warnings' module.
        ........
          r75647 | georg.brandl | 2009-10-24 12:04:19 +0200 (Sa, 24 Okt 2009) | 1 line
      
          Fix markup.
        ........
          r75696 | georg.brandl | 2009-10-25 21:25:43 +0100 (So, 25 Okt 2009) | 1 line
      
          Fix a demo.
        ........
          r75795 | georg.brandl | 2009-10-27 16:10:22 +0100 (Di, 27 Okt 2009) | 1 line
      
          Fix a strange mis-edit.
        ........
      ................
      628e6f90
    • Georg Brandl's avatar
      Merged revisions… · 495f7b5a
      Georg Brandl yazdı
      Merged revisions 75365,75394,75402-75403,75418,75459,75484,75592-75596,75600,75602-75607,75610-75613,75616-75617,75623,75627,75640,75647,75696,75795 via svnmerge from
      svn+ssh://pythondev@svn.python.org/python/trunk
      
      ........
        r75365 | georg.brandl | 2009-10-11 22:16:16 +0200 (So, 11 Okt 2009) | 1 line
      
        Fix broken links found by "make linkcheck".  scipy.org seems to be done right now, so I could not verify links going there.
      ........
        r75394 | georg.brandl | 2009-10-13 20:10:59 +0200 (Di, 13 Okt 2009) | 1 line
      
        Fix markup.
      ........
        r75402 | georg.brandl | 2009-10-14 17:51:48 +0200 (Mi, 14 Okt 2009) | 1 line
      
        #7125: fix typo.
      ........
        r75403 | georg.brandl | 2009-10-14 17:57:46 +0200 (Mi, 14 Okt 2009) | 1 line
      
        #7126: os.environ changes *do* take effect in subprocesses started with os.system().
      ........
        r75418 | georg.brandl | 2009-10-14 20:48:32 +0200 (Mi, 14 Okt 2009) | 1 line
      
        #7116: str.join() takes an iterable.
      ........
        r75459 | georg.brandl | 2009-10-17 10:57:43 +0200 (Sa, 17 Okt 2009) | 1 line
      
        Fix refleaks in _ctypes PyCSimpleType_New, which fixes the refleak seen in test___all__.
      ........
        r75484 | georg.brandl | 2009-10-18 09:58:12 +0200 (So, 18 Okt 2009) | 1 line
      
        Fix missing word.
      ........
        r75592 | georg.brandl | 2009-10-22 09:05:48 +0200 (Do, 22 Okt 2009) | 1 line
      
        Fix punctuation.
      ........
        r75593 | georg.brandl | 2009-10-22 09:06:49 +0200 (Do, 22 Okt 2009) | 1 line
      
        Revert unintended change.
      ........
        r75594 | georg.brandl | 2009-10-22 09:56:02 +0200 (Do, 22 Okt 2009) | 1 line
      
        Fix markup.
      ........
        r75595 | georg.brandl | 2009-10-22 09:56:56 +0200 (Do, 22 Okt 2009) | 1 line
      
        Fix duplicate target.
      ........
        r75596 | georg.brandl | 2009-10-22 10:05:04 +0200 (Do, 22 Okt 2009) | 1 line
      
        Add a new directive marking up implementation details and start using it.
      ........
        r75600 | georg.brandl | 2009-10-22 13:01:46 +0200 (Do, 22 Okt 2009) | 1 line
      
        Make it more robust.
      ........
        r75602 | georg.brandl | 2009-10-22 13:28:06 +0200 (Do, 22 Okt 2009) | 1 line
      
        Document new directive.
      ........
        r75603 | georg.brandl | 2009-10-22 13:28:23 +0200 (Do, 22 Okt 2009) | 1 line
      
        Allow short form with text as argument.
      ........
        r75604 | georg.brandl | 2009-10-22 13:36:50 +0200 (Do, 22 Okt 2009) | 1 line
      
        Fix stylesheet for multi-paragraph impl-details.
      ........
        r75605 | georg.brandl | 2009-10-22 13:48:10 +0200 (Do, 22 Okt 2009) | 1 line
      
        Use "impl-detail" directive where applicable.
      ........
        r75606 | georg.brandl | 2009-10-22 17:00:06 +0200 (Do, 22 Okt 2009) | 1 line
      
        #6324: membership test tries iteration via __iter__.
      ........
        r75607 | georg.brandl | 2009-10-22 17:04:09 +0200 (Do, 22 Okt 2009) | 1 line
      
        #7088: document new functions in signal as Unix-only.
      ........
        r75610 | georg.brandl | 2009-10-22 17:27:24 +0200 (Do, 22 Okt 2009) | 1 line
      
        Reorder __slots__ fine print and add a clarification.
      ........
        r75611 | georg.brandl | 2009-10-22 17:42:32 +0200 (Do, 22 Okt 2009) | 1 line
      
        #7035: improve docs of the various <method>_errors() functions, and give them docstrings.
      ........
        r75612 | georg.brandl | 2009-10-22 17:52:15 +0200 (Do, 22 Okt 2009) | 1 line
      
        #7156: document curses as Unix-only.
      ........
        r75613 | georg.brandl | 2009-10-22 17:54:35 +0200 (Do, 22 Okt 2009) | 1 line
      
        #6977: getopt does not support optional option arguments.
      ........
        r75616 | georg.brandl | 2009-10-22 18:17:05 +0200 (Do, 22 Okt 2009) | 1 line
      
        Add proper references.
      ........
        r75617 | georg.brandl | 2009-10-22 18:20:55 +0200 (Do, 22 Okt 2009) | 1 line
      
        Make printout margin important.
      ........
        r75623 | georg.brandl | 2009-10-23 10:14:44 +0200 (Fr, 23 Okt 2009) | 1 line
      
        #7188: fix optionxform() docs.
      ........
        r75627 | fred.drake | 2009-10-23 15:04:51 +0200 (Fr, 23 Okt 2009) | 2 lines
      
        add further note about what's passed to optionxform
      ........
        r75640 | neil.schemenauer | 2009-10-23 21:58:17 +0200 (Fr, 23 Okt 2009) | 2 lines
      
        Improve some docstrings in the 'warnings' module.
      ........
        r75647 | georg.brandl | 2009-10-24 12:04:19 +0200 (Sa, 24 Okt 2009) | 1 line
      
        Fix markup.
      ........
        r75696 | georg.brandl | 2009-10-25 21:25:43 +0100 (So, 25 Okt 2009) | 1 line
      
        Fix a demo.
      ........
        r75795 | georg.brandl | 2009-10-27 16:10:22 +0100 (Di, 27 Okt 2009) | 1 line
      
        Fix a strange mis-edit.
      ........
      495f7b5a
  28. 23 Eki, 2009 1 kayıt (commit)
  29. 16 Eyl, 2009 2 kayıt (commit)
    • Georg Brandl's avatar
      Merged revisions 74821,74828-74831,74833,74835 via svnmerge from · b044b2a7
      Georg Brandl yazdı
      svn+ssh://svn.python.org/python/branches/py3k
      
      ................
        r74821 | georg.brandl | 2009-09-16 11:42:19 +0200 (Mi, 16 Sep 2009) | 1 line
      
        #6885: run python 3 as python3.
      ................
        r74828 | georg.brandl | 2009-09-16 16:23:20 +0200 (Mi, 16 Sep 2009) | 1 line
      
        Use true booleans.
      ................
        r74829 | georg.brandl | 2009-09-16 16:24:29 +0200 (Mi, 16 Sep 2009) | 1 line
      
        Small PEP8 correction.
      ................
        r74830 | georg.brandl | 2009-09-16 16:36:22 +0200 (Mi, 16 Sep 2009) | 1 line
      
        Use true booleans.
      ................
        r74831 | georg.brandl | 2009-09-16 17:54:04 +0200 (Mi, 16 Sep 2009) | 1 line
      
        Use true booleans and PEP8 for argdefaults.
      ................
        r74833 | georg.brandl | 2009-09-16 17:58:14 +0200 (Mi, 16 Sep 2009) | 1 line
      
        Last round of adapting style of documenting argument default values.
      ................
        r74835 | georg.brandl | 2009-09-16 18:00:31 +0200 (Mi, 16 Sep 2009) | 33 lines
      
        Merged revisions 74817-74820,74822-74824 via svnmerge from
        svn+ssh://pythondev@svn.python.org/python/trunk
      
        ........
          r74817 | georg.brandl | 2009-09-16 11:05:11 +0200 (Mi, 16 Sep 2009) | 1 line
      
          Make deprecation notices as visible as warnings are right now.
        ........
          r74818 | georg.brandl | 2009-09-16 11:23:04 +0200 (Mi, 16 Sep 2009) | 1 line
      
          #6880: add reference to classes section in exceptions section, which comes earlier.
        ........
          r74819 | georg.brandl | 2009-09-16 11:24:57 +0200 (Mi, 16 Sep 2009) | 1 line
      
          #6876: fix base class constructor invocation in example.
        ........
          r74820 | georg.brandl | 2009-09-16 11:30:48 +0200 (Mi, 16 Sep 2009) | 1 line
      
          #6891: comment out dead link to Unicode article.
        ........
          r74822 | georg.brandl | 2009-09-16 12:12:06 +0200 (Mi, 16 Sep 2009) | 1 line
      
          #5621: refactor description of how class/instance attributes interact on a.x=a.x+1 or augassign.
        ........
          r74823 | georg.brandl | 2009-09-16 15:06:22 +0200 (Mi, 16 Sep 2009) | 1 line
      
          Remove strange trailing commas.
        ........
          r74824 | georg.brandl | 2009-09-16 15:11:06 +0200 (Mi, 16 Sep 2009) | 1 line
      
          #6892: fix optparse example involving help option.
        ........
      ................
      b044b2a7
    • Georg Brandl's avatar
      fe991058
  30. 11 Mar, 2009 1 kayıt (commit)
  31. 16 Eki, 2008 1 kayıt (commit)
  32. 11 Eyl, 2008 1 kayıt (commit)
  33. 09 Eyl, 2008 2 kayıt (commit)
  34. 05 Eyl, 2008 1 kayıt (commit)
  35. 02 Eyl, 2008 2 kayıt (commit)