1. 23 Nov, 2017 3 commits
  2. 20 Nov, 2017 1 commit
  3. 19 Nov, 2017 1 commit
  4. 17 Nov, 2017 2 commits
  5. 14 Nov, 2017 1 commit
  6. 11 Nov, 2017 1 commit
    • Gregory P. Smith's avatar
      [2.7] bpo-21149: Workaround a GC finalization bug in logging. (#4368) · e84f6d38
      Gregory P. Smith authored
      * Work around a GC process finalization bug.
      
      The logging RLock instances may exist but the threading.RLock class
      itself has already been emptied causing a
      Exception TypeError: "'NoneType' object is not callable" in <function _removeHandlerRef ..."
      to be printed to stderr on process termination.
      
      This catches that exception and ignores it because there is absolutely
      nothing we can or should do about it from the context of a weakref
      handler called from the gc context.
      e84f6d38
  7. 10 Nov, 2017 1 commit
  8. 09 Nov, 2017 2 commits
  9. 08 Nov, 2017 4 commits
  10. 07 Nov, 2017 5 commits
  11. 04 Nov, 2017 3 commits
  12. 03 Nov, 2017 2 commits
  13. 01 Nov, 2017 5 commits
  14. 31 Oct, 2017 5 commits
  15. 29 Oct, 2017 1 commit
  16. 25 Oct, 2017 2 commits
    • Serhiy Storchaka's avatar
    • Benjamin Peterson's avatar
      fix marshal uninitialized variable warnings (#4114) · 88d5e2c9
      Benjamin Peterson authored
      GCC says:
      ../cpython/Python/marshal.c: In function ‘PyMarshal_WriteLongToFile’:
      ../cpython/Python/marshal.c:70:35: warning: ‘wf.ptr’ may be used uninitialized in this function [-Wmaybe-uninitialized]
                             else if ((p)->ptr != (p)->end) *(p)->ptr++ = (c); \
                                         ^~
      ../cpython/Python/marshal.c:70:47: warning: ‘wf.end’ may be used uninitialized in this function [-Wmaybe-uninitialized]
                             else if ((p)->ptr != (p)->end) *(p)->ptr++ = (c); \
                                                     ^~
      ../cpython/Python/marshal.c:77:10: warning: ‘wf.str’ may be used uninitialized in this function [-Wmaybe-uninitialized]
           if (p->str == NULL)
               ~^~~~~
      
      This isn't a real problem because if the file pointer is not NULL, the
      string-related fields are never touched. But, it doesn't hurt to set the unused
      fields to NULL.
      88d5e2c9
  17. 24 Oct, 2017 1 commit