1. 22 Nis, 2019 1 kayıt (commit)
  2. 09 Nis, 2019 1 kayıt (commit)
  3. 03 Mar, 2019 1 kayıt (commit)
  4. 31 Eki, 2018 1 kayıt (commit)
  5. 20 Eki, 2018 1 kayıt (commit)
    • Alexey Izbyshev's avatar
      bpo-32236: open() emits RuntimeWarning if buffering=1 for binary mode (GH-4842) · a2670565
      Alexey Izbyshev yazdı
      If buffering=1 is specified for open() in binary mode, it is silently
      treated as buffering=-1 (i.e., the default buffer size).
      Coupled with the fact that line buffering is always supported in Python 2,
      such behavior caused several issues (e.g., bpo-10344, bpo-21332).
      
      Warn that line buffering is not supported if open() is called with
      binary mode and buffering=1.
      a2670565
  6. 14 Eyl, 2018 1 kayıt (commit)
  7. 29 Haz, 2018 1 kayıt (commit)
  8. 21 Ara, 2017 1 kayıt (commit)
  9. 13 Ara, 2017 1 kayıt (commit)
  10. 10 Kas, 2017 1 kayıt (commit)
  11. 22 Eyl, 2017 1 kayıt (commit)
    • Neil Schemenauer's avatar
      bpo-17852: Maintain a list of BufferedWriter objects. Flush them on exit. (#3372) · 0a1ff24a
      Neil Schemenauer yazdı
      * Maintain a list of BufferedWriter objects.  Flush them on exit.
      
      In Python 3, the buffer and the underlying file object are separate
      and so the order in which objects are finalized matters.  This is
      unlike Python 2 where the file and buffer were a single object and
      finalization was done for both at the same time.  In Python 3, if
      the file is finalized and closed before the buffer then the data in
      the buffer is lost.
      
      This change adds a doubly linked list of open file buffers.  An atexit
      hook ensures they are flushed before proceeding with interpreter
      shutdown.  This is addition does not remove the need to properly close
      files as there are other reasons why buffered data could get lost during
      finalization.
      
      Initial patch by Armin Rigo.
      
      * Use weakref.WeakSet instead of WeakKeyDictionary.
      
      * Simplify buffered double-linked list types.
      
      * In _flush_all_writers(), suppress errors from flush().
      
      * Remove NEWS entry, use blurb.
      
      * Take more care when flushing file buffers from atexit.
      
      The previous implementation was not careful enough to avoid
      causing issues in multi-threaded cases.  Check for buf->ok
      and buf->finalizing before actually doing the flush.  Also,
      increase the refcnt to ensure the object does not disappear.
      0a1ff24a
  12. 07 Eyl, 2017 1 kayıt (commit)
  13. 05 Eyl, 2017 2 kayıt (commit)
    • Neil Schemenauer's avatar
    • Neil Schemenauer's avatar
      bpo-17852: Maintain a list of BufferedWriter objects. Flush them on exit. (#1908) · e38d12ed
      Neil Schemenauer yazdı
      * Maintain a list of BufferedWriter objects.  Flush them on exit.
      
      In Python 3, the buffer and the underlying file object are separate
      and so the order in which objects are finalized matters.  This is
      unlike Python 2 where the file and buffer were a single object and
      finalization was done for both at the same time.  In Python 3, if
      the file is finalized and closed before the buffer then the data in
      the buffer is lost.
      
      This change adds a doubly linked list of open file buffers.  An atexit
      hook ensures they are flushed before proceeding with interpreter
      shutdown.  This is addition does not remove the need to properly close
      files as there are other reasons why buffered data could get lost during
      finalization.
      
      Initial patch by Armin Rigo.
      
      * Use weakref.WeakSet instead of WeakKeyDictionary.
      
      * Simplify buffered double-linked list types.
      
      * In _flush_all_writers(), suppress errors from flush().
      
      * Remove NEWS entry, use blurb.
      e38d12ed
  14. 24 Agu, 2017 1 kayıt (commit)
  15. 03 Haz, 2017 1 kayıt (commit)
  16. 26 Mar, 2017 1 kayıt (commit)
  17. 07 Ara, 2016 1 kayıt (commit)
  18. 20 Eki, 2016 1 kayıt (commit)
  19. 12 Haz, 2016 1 kayıt (commit)
  20. 04 Haz, 2016 1 kayıt (commit)
  21. 02 Haz, 2016 1 kayıt (commit)
  22. 28 May, 2016 1 kayıt (commit)
  23. 17 Nis, 2016 1 kayıt (commit)
  24. 31 Mar, 2016 1 kayıt (commit)
  25. 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
  26. 02 Kas, 2015 1 kayıt (commit)
  27. 28 Agu, 2015 1 kayıt (commit)
  28. 25 Tem, 2015 1 kayıt (commit)
  29. 13 Nis, 2015 1 kayıt (commit)
  30. 24 Mar, 2015 1 kayıt (commit)
  31. 10 Nis, 2015 1 kayıt (commit)
  32. 19 Mar, 2015 1 kayıt (commit)
  33. 07 Şub, 2015 1 kayıt (commit)
  34. 03 Şub, 2015 1 kayıt (commit)
  35. 22 Ara, 2014 1 kayıt (commit)
  36. 20 Kas, 2014 1 kayıt (commit)
  37. 25 Tem, 2014 1 kayıt (commit)
  38. 22 Haz, 2014 1 kayıt (commit)
  39. 09 Haz, 2014 1 kayıt (commit)