1. 22 Mar, 2016 27 commits
  2. 21 Mar, 2016 4 commits
  3. 20 Mar, 2016 5 commits
  4. 19 Mar, 2016 2 commits
  5. 21 Mar, 2016 2 commits
    • Victor Stinner's avatar
      Fix test_ssl.test_refcycle() · 58bb4c3b
      Victor Stinner authored
      Issue #26590: support.check_warnings() stores warnins, but ResourceWarning now
      comes with a reference to the socket object which indirectly keeps the socket
      alive.
      58bb4c3b
    • Victor Stinner's avatar
      Add socket finalizer · 385638ef
      Victor Stinner authored
      Issue #26590: Implement a safe finalizer for the _socket.socket type. It now
      releases the GIL to close the socket. Use PyErr_ResourceWarning() to raise the
      ResourceWarning to pass the socket object to the warning logger, to get the
      traceback where the socket was created (allocated).
      385638ef